|
| 1 | +# Current Population Survey (CPS ASEC) |
| 2 | + |
| 3 | +This folder contains the tooling that ingests the Census Bureau's Current |
| 4 | +Population Survey Annual Social and Economic Supplement (CPS ASEC) into |
| 5 | +PolicyEngine's US microdata pipeline (`census_cps.py`, `cps.py`, |
| 6 | +`enhanced_cps.py`, `extended_cps.py`, `small_enhanced_cps.py`, `takeup.py`, |
| 7 | +and `tipped_occupation.py`). |
| 8 | + |
| 9 | +The CPS ASEC is the Census Bureau / Bureau of Labor Statistics' primary |
| 10 | +source of annual demographic and income data for the US civilian |
| 11 | +noninstitutional population. PolicyEngine uses it as the demographic |
| 12 | +backbone of the Enhanced CPS; tax-return detail from the IRS PUF is then |
| 13 | +merged onto each CPS record. |
| 14 | + |
| 15 | +## Documentation |
| 16 | + |
| 17 | +The Census Bureau publishes a data dictionary and technical documentation |
| 18 | +for each ASEC vintage. These are the canonical reference for every |
| 19 | +variable name, code, and SPM/tax-unit construction used by the code in |
| 20 | +this folder: |
| 21 | + |
| 22 | +- [2023 ASEC data dictionary (full PDF)](https://www2.census.gov/programs-surveys/cps/datasets/2023/march/asec2023_ddl_pub_full.pdf) |
| 23 | +- [2024 ASEC data dictionary (full PDF)](https://www2.census.gov/programs-surveys/cps/datasets/2024/march/asec2024_ddl_pub_full.pdf) |
| 24 | +- [2025 ASEC data dictionary (full PDF)](https://www2.census.gov/programs-surveys/cps/datasets/2025/march/asec2025_ddl_pub_full.pdf) |
| 25 | + |
| 26 | +See also: |
| 27 | + |
| 28 | +- [CPS ASEC landing page](https://www.census.gov/programs-surveys/cps.html) |
| 29 | +- [CPS ASEC technical documentation](https://www.census.gov/programs-surveys/cps/technical-documentation.html) |
| 30 | +- [CPS ASEC public-use microdata datasets](https://www.census.gov/data/datasets/time-series/demo/cps/cps-asec.html) |
| 31 | + |
| 32 | +The exact Census URLs the pipeline downloads for each ASEC year are |
| 33 | +enumerated in `CPS_URL_BY_YEAR` inside `census_cps.py`. |
| 34 | + |
| 35 | +## Data products in this folder |
| 36 | + |
| 37 | +- `census_cps.py` — downloads and stages the raw ASEC person/family/ |
| 38 | + household tables from Census for a given ASEC year. |
| 39 | +- `cps.py` — derives the PolicyEngine `CPS` dataset (PolicyEngine variable |
| 40 | + names, entity structure, SPM units, tax units) from the Census tables. |
| 41 | +- `enhanced_cps.py`, `extended_cps.py`, `small_enhanced_cps.py` — |
| 42 | + downstream enhanced datasets that merge PUF-based tax-return detail and |
| 43 | + imputed variables onto the CPS backbone. |
| 44 | +- `takeup.py` — program take-up anchoring against reported CPS recipiency. |
| 45 | +- `tipped_occupation.py` — Treasury tipped-occupation code derivation. |
| 46 | +- `imputation_parameters.yaml` — hyperparameters for QRF imputations used |
| 47 | + by the enhanced CPS pipeline. |
0 commit comments