The 2018 ACS 5-year data was released on 12/19/2019.
totalcensus/data_raw/acs/
and rename it as ACS_5yr_Seq_Table_Number_Lookup_2018.txt
. ACS_2018_SF_5YR_Appendices.xls
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.
totalcensus/data_raw/acs/create_acs_file_table_lookup.R
, add a line of code lookup_acs5year_2018 <- make_acs_lookup(5, 2018)
and run it. A .RData
file will be added into totalcensus/data/
. After this step, the new data lookup_acs5year_2018.RData
will be usable. You can rebuild the package and use the data. totalcensus/R/data_acs.R
, add documentation for the new dataset lookup_acs1year_2018
following the format in the file.totalcensus/data_raw/acs/create_acs_table_dictionary.R
find the block #acs5 ===
, change the latest_year
to 2018 and run the code of this block.dict_acs5_table
in totalcensus/R/data_acs.R
by adding one line \item{acs1_2018}{whether the table is available in 2018}
. totalcensus/data_raw/acs/create_acs_geocomponent_dictionary.R
find the block # acs5year geocomponent ======
and add a line S2018 <- generate_geocomponent("acs5", 2018)
. Run this line and compare S2018
to S2017
. A lot of new data will be downloaded. 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 2018 geoheaders are the same as the 2017 ones. The 2018 geoheaders can be found in the technical documentation (table 2.4 here). Do nothing as they are the same.DESCRIPTION
file:test_data_consistency_over_years.R
. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.