cols_condense | R Documentation |
cols_condense()
takes a spec object and condenses its definition by setting
the default column type to the most frequent type and only listing columns
with a different type.
spec()
extracts the full column specification from a tibble
created by readr.
cols_condense(x)
spec(x)
x |
The data frame object to extract from |
A col_spec object.
df <- vroom(vroom_example("mtcars.csv"))
s <- spec(df)
s
cols_condense(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.