Skip to main content

sdc-census10to20

Redistribute 2010-2019 census data onto 2020 census boundaries.

This is the Python port of the R package sdc.census10to20, used by the Social Data Commons pipelines to standardize tract- and block-group-level data across the 2020 decennial census boundary changes.

Install

pip install sdc-census10to20

Quick start

import pandas as pd
from sdc_census10to20 import standardize_all

df = pd.DataFrame({
    "geoid": ["51059450100", "51059450200"],
    "year": [2018, 2018],
    "measure": ["population", "population"],
    "value": [3000, 4500],
    "moe": [pd.NA, pd.NA],
})

standardized = standardize_all(df)

Documentation

License

MIT

Metadata

Release files for sdc-census10to20 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sdc-census10to20 0.1.3
File Size Uploaded
sdc_census10to20-0.1.3.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdc-census10to20 0.1.3
File Interpreter ABI Platform
sdc_census10to20-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / sdc_census10to20-0.1.3.tar.gz

Download URL sdc_census10to20-0.1.3.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
472a191816654ec6d14dc4d4ae366a3bb5c16992c4b8143b55ee2a10ee018df2
BLAKE2b-256 checksum
How to use checksums
e03746d95dc099fa24c9948fec30324d41c2a1525e167665b0afdfd4b2472c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

Release files / sdc_census10to20-0.1.3-py3-none-any.whl

Download URL sdc_census10to20-0.1.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04cd6f258da5b83072dec9d95ebedab4bd2807f671c6e272789bf6864c6c6e84
BLAKE2b-256 checksum
How to use checksums
a1a59217c587176228b60c6d74842c391d1c63ad8f39197a74fc94ddce3c7c72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page