Description Usage Arguments Value Examples
Create metadata table shell of variable attributes from a dataset. The function attempts to guess values where possible. The rest require completing manually
1 | mt_create_meta_shell(df, factor_cols = NULL, sep = ";")
|
df |
a dataframe of data for which metadata attribute table is to be created |
factor_cols |
character string or vector of names of columns containing factors Code and level information is extracted auromatically from factor columns. |
sep |
separator used to separate codes and definitions for each level in the metadata table |
a dataframe consiting of one row per column of the input df. Columns represent minimum metadata requirements.
1 2 3 4 5 | ## Not run:
library(gapminder)
create_meta_shell(gapminder)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.