Skip to contents

Key Functions

census2020_get_data()
Download and clean up US States,DC,PR, or Island Areas block data Census 2020 (for EJAM)
census2020_save_datasets()
Create separate data.tables, and optionally save them in the EJAM package

Block data tables (created at run time, not bundled)

These data.tables are produced by census2020_save_datasets() for the EJAM package; they are documented here but are not shipped with this package.

bgid2fips
Census FIPS code of each US Census 2020 block group
blockid2fips
Census FIPS code of each US Census 2020 block
blockpoints
lat/lon location of internal point of each Census 2020 block, used in EJAM package
blockwts
2020 Census block weights (population as share of overall block group)
quaddata
xyz location of internal point of each Census 2020 block, for spatial index in EJAM