Metadata-Version: 2.4
Name: sdc-redistribute
Version: 0.1.0
Summary: Redistribute values between geographies (direct area-weighted and parcel-weighted)
Project-URL: Homepage, https://dads2busy.github.io/Social-Data-Commons/packages/sdc-redistribute/
Project-URL: Documentation, https://dads2busy.github.io/Social-Data-Commons/packages/sdc-redistribute/
Project-URL: Repository, https://github.com/dads2busy/Social-Data-Commons
Project-URL: Issues, https://github.com/dads2busy/Social-Data-Commons/issues
Project-URL: Changelog, https://github.com/dads2busy/Social-Data-Commons/blob/main/packages/sdc-redistribute/CHANGELOG.md
Author-email: Aaron Schroeder <ads7fg@virginia.edu>
License: MIT
Keywords: areal-interpolation,census,geography,gis,redistribution
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.10
Requires-Dist: geopandas>=1.0
Requires-Dist: pandas>=2.0
Requires-Dist: pyarrow>=15
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.8; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
Requires-Dist: mkdocs>=1.6; extra == 'docs'
Requires-Dist: mkdocstrings[python]>=0.24; extra == 'docs'
Description-Content-Type: text/markdown

# sdc-redistribute

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

Part of the [Social Data Commons](https://github.com/dads2busy/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

```bash
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](https://dads2busy.github.io/Social-Data-Commons/packages/sdc-redistribute/).
