cens_find | R Documentation |
This function uses fuzzy matching to help identify tables from the census which contain variables of interest. Matched table codes are printed out, along with the Census-provided table description, the parsed variable names, and example table cells. The website https://censusreporter.org/ may also be useful in finding variables.
cens_find(tables, ..., show = 4)
cens_find_dec(..., show = 2)
cens_find_acs(..., show = 4)
tables |
A list of |
... |
Variables to look for. These can be length-1 character vectors, or, for convenience, can be left unquoted (see examples). |
show |
How many matching tables to show. Increase this to show more possible matches, at the cost of more output. Negative values will be converted to positive but will suppress any printing. |
The codes for the top show
tables, invisibly if show
is positive.
cens_find_dec("sex", "age")
cens_find(tables_sf1, "sex", "age") # same as above
cens_find_dec(tenure, race)
cens_find_acs("income", "sex", show=3)
cens_find_acs("heath care", show=-1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.