Get Overview of Columns in Data Frames
Value
data frame with each row representing one data frame in x
and
with as many columns as there are distinct columns in all of the data
frames in x
. In a row i the data frame contains "x" in those
columns that are contained in the i-th data frame in list x
and an empty string otherwise.
Examples
get_overview_of_columns(list(
df1 = data.frame(a = 1, b = 2),
df2 = data.frame(b = 3, c = 4),
df3 = data.frame(a = 5, c = 6)
))
#> a b c
#> df1 x x
#> df2 x x
#> df3 x x