Convenience wrapper around tidycensus::load_variables() for browsing the
variable catalogues used by get_nyc_acs() and get_nyc_decennial(). The
result is identical to a direct tidycensus call; this function exists so
that all NYC-oriented Census helpers live in one place.
Arguments
- year
The year, or endyear, of the dataset.
- dataset
Dataset name. Common choices:
"acs5","pl","dhc","sf1". Seetidycensus::load_variables()for the full list.- cache
Whether to cache the variable table on disk for re-use across sessions. Defaults to
TRUE(the opposite of the upstream default, because caching is almost always what you want during package work).