View source: R/hoist_table_glossary.R
hoist_table_glossary | R Documentation |
Hoist details about a Census data group from a list of strings to separate columns
hoist_table_glossary(.glossary, .group, .fields)
.glossary |
<data-frame> a table of glossary about Census API variables, e.g. METADATA_FOR_ACS_VARIABLES |
.group |
<chr> the code for the group, e.g. "B01001" |
.fields |
<chr[]> names for the new columns, e.g. c("Sex", "Age") |
a new data frame with more columns
hoist_table_glossary(METADATA_FOR_ACS_VARIABLES, "B06002", c("Median age", "Place of birth"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.