Packages
The commons publishes the tools it builds its own datasets with. Three Python
packages cover the geographic work that comes up again and again in sub-county
analysis: putting old data on new boundaries, moving estimates into local
shapes, and turning facility locations into access scores. They share one
long-format data convention and are used by every pipeline in the
repository.
uv add sdc-census10to20 sdc-redistribute sdc-catchment # or: pip install …
Put 2010-to-2019 census data on 2020 boundaries · PyPI
- Classifies every tract and block group as same, split, or moved
- Area-weighted crosswalk that conserves counts
- One call standardizes a whole dataset
Census boundaries changed between the 2010 and 2020 censuses, so a time series that crosses that break compares different places. This package redistributes pre-2020 values onto the 2020 geography and gives every measure its _geo20 variant, which is how the commons keeps 2009 and 2024 on the same map.
Overview
·
Introduction
·
Reference
Move values between any two geographies · PyPI
- Area-weighted interpolation
- Parcel-weighted redistribution
- Driven from a pipeline's config block
Local decisions are made for civic associations, planning districts, and school zones, not census units. This package redistributes tract and block-group estimates into those shapes, by area overlap or, where parcel data exist, by where the housing actually is. It is the method behind the local-level data guide and the custom geographies on the NCR dashboard.
Overview
·
Introduction
·
Method comparison
·
Reference
Floating catchment area access scores · PyPI
- 2SFCA, E2SFCA, 3SFCA, and more from one function
- Distance-decay kernels and travel-cost matrices
- Supply, demand, and competition in one ratio
Counting clinics in a tract says little about who can reach one. Floating catchment area methods weigh each facility's capacity against the population within reach of it, with nearer people counting for more. This package produces the urgent care, primary care, child care, and food access scores on both dashboards.
Overview
·
Introduction
·
Case study
·
Reference
Each package ships with an introduction article that works through a real
county, a reference page generated from its docstrings, and a changelog on
PyPI. Issues and contributions go to the
Social-Data-Commons repository.