The 2019 ACS 5-year data was released on 12/10/2020.
totalcensus/data_raw/acs/
and rename it as ACS_5yr_Seq_Table_Number_Lookup_2019.txt
. ACS_2019_SF_5YR_Appendices.xlsx
. The Census Bureau changed the format from xls
to xlsx
in 2019. In case having trouble reading the file using readxl::read_excel, delete the second sheet.Try to finish all sections in one R session. If have to restart a R session, rebuild the package to make use of the new dataset.
ACS 5 year ===
in totalcensus/data_raw/acs/create_acs_file_table_lookup.R
, add a line of code lookup_acs5year_2019 <- make_acs_lookup(5, 2019)
and update totalcensus:::generate_acs5_tablecontents_()
function. A .RData
file will be added into totalcensus/data/
. After this step, the new data will be usable. You can rebuild the package and use the data. totalcensus/R/data_acs.R
, add documentation for the new dataset lookup_acs5year_2019
following the format in the file.totalcensus/data_raw/acs/create_acs_table_dictionary.R
find the block # acs5 ===
, change the latest_year
to 2019 and run the code of this block.dict_acs5_table
in totalcensus/R/data.acs.R
by adding one line \item{acs5_2019}{whether the table is available in 2019}
. totalcensus/data_raw/acs/create_acs_geocomponent_dictionary.R
find the block # acs5year geocomponent ======
and add a line S2019 <- generate_geocomponent("acs5", 2019)
. Run this line (will download data) and compare S2019
to S2018
. As they are the same, no further action is needed for this dataset.totalcensus/data_raw/acs/create_acs_summary_level_dictionary.R
do the same thing as above. The result is the same so no further action needed.totalcensus/data_raw/acs/create_acs_geoheader_dictionary.R
. However, first check if the 2019 geoheaders are the same as the 2018 ones. The 2019 geoheaders can be found in the technical documentation (table 2.4 here). Do nothing as they are the same since 2011.DESCRIPTION
file:Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.