As there are only a small number of tables, the data structure is very different from summary file 1. It is much simpler. All data are split into 4 files:
As the dataset is small, we will write function to extract data directly from the raw data file. No built-in data will be added to the package.
read_2020_redistricting <- function(){ states, table_contents = NULL, geo_headers = NULL, summary_level = NULL }
The geographic header file is a fixed width file, in which each row matches that of File01, File02, and File03 by Logical Record Number, LOGRECNO, as the case in summary file 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.