Description Usage Arguments Value Examples
Extract the description of a field in the ACS PUMS data from the data dictionary. The description includes the column name (abbreviation), the field name (plain English), the factor levels and their descriptions for integer-coded categoricals or the range and description for numeric variables.
1 | acs.describe(dd, field, max.len = NULL)
|
dd |
the data dict as a string |
field |
the ACS column name to extract |
max.len |
max length of description in words, default is all |
list with column name and description, levels and their definitions
1 2 3 4 5 | # Integer-coded categorical field
acs.describe(data.dict16, 'TEN')
# Numeric field
acs.describe(data.dict16, 'NP', 25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.