View source: R/variable_view.R
variable_view | R Documentation |
Create a table of column names and attributes.
variable_view(df)
df |
a data frame |
a summary table of df
Sven Halvorson (svenpubmail@gmail.com)
example_df = tibble::tibble(
Goddess = c(1, 2, 3),
Civilization = c(
'Babylonian',
'Sumerian',
'Sumerian'
),
Importance = runif(3),
Date = lubridate::mdy(
c(
'01-30-1988',
'05-22-2006',
'11-02-2017'
)
)
)
expss::val_lab(example_df[['Goddess']]) = c(
'Tiamat' = 1,
'Inanna' = 2,
'Ninhursag' = 3
)
expss::var_lab(example_df[['Date']]) = 'A random date'
example_df %>%
variable_view() %>%
View()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.