Skip to main content

Redistribute values between geographies (direct area-weighted and parcel-weighted)

Project description

sdc-redistribute

Redistribute values between geographies — direct area-weighted interpolation and parcel-weighted redistribution.

Part of the Social Data Commons toolkit. Extracted from sdc_core.redistribute; used by SDC pipelines to move measures from one geographic vintage/level onto another (e.g. 2010 tracts → 2020 block groups), producing _geo10/_geo20-suffixed measures.

Install

uv add sdc-redistribute   # or: pip install sdc-redistribute

Public API

  • redistribute_direct — area-proportional redistribution between two geographies.
  • redistribute_parcels — parcel-centroid-weighted redistribution.
  • run_redistribution — high-level wrapper driven by a pipeline.yaml config block.

See the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sdc_redistribute-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdc_redistribute-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file sdc_redistribute-0.1.0.tar.gz.

File metadata

  • Download URL: sdc_redistribute-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sdc_redistribute-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d30632ecb6000a3860fe6c1ebaf665fa1b0f6dd6fb6c23a079af7134fc6dce7d
MD5 4f6697b152e76a6946f61b3394baa99b
BLAKE2b-256 bb40c923af8d0c7958fb20b216f556cf06ae9e2fe9a1512716e13215e71f077d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdc_redistribute-0.1.0.tar.gz:

Publisher: publish-redistribute.yml on dads2busy/Social-Data-Commons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sdc_redistribute-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sdc_redistribute-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe5e5e5c8f8947eb4b6c8065d2bc55fa170cc48dbf878e48bee8e80ad1c7cfa
MD5 8018cbda9efda2a4ea62bf5a1563ac92
BLAKE2b-256 77022e56eb96a98a11d24db963b55378f4f225f0620b23fcda51d0fb658c0f52

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdc_redistribute-0.1.0-py3-none-any.whl:

Publisher: publish-redistribute.yml on dads2busy/Social-Data-Commons

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page