In version 1.4:
get_decennial()
has been updated to accommodate the new Demographic and Housing Characteristics and Demographic Profile summary files. Usesumfile = "dhc"
for the DHC file, andsumfile = "dp"
for the DP file.- The default year in
get_decennial()
is now 2020. This may be a breaking change for some legacy code that omits the year, so be sure to update scripts to hard-code the year for years earlier than 2020. sumfile = "pl"
is the default forget_decennial()
and will remain so to avoid existing code breakages. Please note that variable IDs are replicated across the PL and DHC files, but may represent different topics.get_estimates()
now supports the 2020, 2021, and 2022 Population Estimates. These datasets are not on the Census API, so tidycensus downloads and parses the flat files.