get_variable | R Documentation |
Function produces a dataframe of a variable's ID and its label from the Census Bureau's publicly available datasets.
get_variable(dataset, vintage = NULL, variable_name, brief = FALSE)
dataset |
A string that sets the name of the dataset of interest (e.g. "acs/acs5").
See |
vintage |
An optional numeric or vector of numerics that sets the year(s) of interest. |
variable_name |
A string that sets the name of the variable of interest |
brief |
If TRUE out of the total columns, will return only columns |
Get the code and label metadata for a single variable from the Census Bureau
A data.table
Rick Dean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.