kprybol / census_block_encoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

census_block_group

A docker container for assigning census block group and/or tract identifier to geocoded addresses.

DeGAUSS example call

docker run --rm -v $PWD:/tmp ghcr.io/degauss-org/census_block_group:0.4.3 my_address_file_geocoded.csv 2010
  • The first argument (my_address_file_geocoded.csv) is the name of your geocoded csv file.

  • The second argument (2010) is the year for assignment of census geographies. Available years for census block group and census tract identifiers include 2010, and 2020.

Geomarker data

Census block groups and GEOIDs

  • Census blocks are a low level designation within the US Census geographical hierarchy, one degree finer than a census tract. The US Census provides a diagram visualizing the hierarchy.

  • The first 11 characters in a census block group GEOID indicate the census tract, county and state that the block group lies within. The US Census GEOIDs are constructed in a manner that reflects the geographical hierary of the designated area. By using the segments of the GEOID, it is possible to select data based on area types further up in the hierarchy.

    Area Type GEOID Number of Digits Example Area Example GEOID
    State State 2 Ohio 39
    County State + County 2+3=5 Hamilton County 39061
    Census Tract State + County + Tract 2+3+6=11 Tract 32 in Hamilton County 39061003200
    Block Group State + County + Tract +
    Block Group
    2+3+6+1=12 Block Group 1 in Tract 32 390610032001

st_census_tract

For spatiotemporal data in which each location is associated with a specified date range, consider using the st_census_tract container, which adds census tract identifiers for the appropriate vintage (1970-2020) based on start_date and end_date for each input location.

DeGAUSS details

For detailed documentation on DeGAUSS, including general usage and installation, please see the DeGAUSS webpage.

References

Steven Manson, Jonathan Schroeder, David Van Riper, Tracy Kugler, and Steven Ruggles. IPUMS National Historical Geographic Information System: Version 15.0 [dataset]. Minneapolis, MN: IPUMS. 2020. http://doi.org/10.18128/D050.V15.0

About

License:GNU General Public License v3.0


Languages

Language:R 95.1%Language:Dockerfile 3.9%Language:Makefile 1.0%