# Provenance — student-health-yrbs2023-r1

## Source files (all downloaded from https://www.cdc.gov/yrbs/data/national-yrbs-datasets-documentation.html)

| Role | File | Bytes | SHA-256 | URL |
|---|---|---:|---|---|
| 2023 national YRBS respondent file (fixed width, 421 characters per record, CRLF) | `XXH2023_YRBS_Data.dat` | 8,503,569 | `0a83cba11dc8a0cdf0043aacf0b80478f86cf93a91a8ecb81a276518e486241a` | https://www.cdc.gov/yrbs/files/2023/XXH2023_YRBS_Data.dat |
| CDC SAS input program: field positions, widths and variable labels | `2023XXH-SAS-Input-Program.sas` | 18,559 | `89a7d57d9658bb8233d892544b436b8931c2b1d18dce7d8af52080465114771f` | https://www.cdc.gov/yrbs/files/2023/2023XXH-SAS-Input-Program.sas |
| CDC SAS formats program: response codes and value labels | `2023XXH-Formats-Program.sas` | 18,033 | `6e5d1ab02070a352733c870cb50b9ecf3158c64b4aa01bf33dfa65d51890cd12` | https://www.cdc.gov/yrbs/files/2023/2023XXH-Formats-Program.sas |
| CDC 2023 national YRBS data users guide and codebook (question wording, QN definitions, frequencies) | `2023_National_YRBS_Data_Users_Guide508.pdf` | 1,036,445 | `54b081c797873c1a16d7b6d4be728591667fb7781e799ee2bec9fa6ae3f90a61` | https://www.cdc.gov/yrbs/media/pdf/2023/2023_National_YRBS_Data_Users_Guide508.pdf |

The CDC codebook frequencies used by the QA were extracted from the users guide with `pdftotext -layout` and are
stored with the guide's SHA-256 in the Persistfolio repository (`specs/datasets/student-health-yrbs-2023/evidence/cdc_codebook_reference.json`).

## Build

Built by Persistfolio from the files above with the scripts in `scripts/student-health-dataset/` of the Persistfolio
repository (`run_release.sh`): verify sources → parse (`build.py`) → QA (`qa.py`) → notebook (`make_notebook.py`,
executed with nbconvert against the packaged CSV) → documents (`render_docs.py`) → deterministic archive
(`package.py`) → re-verification of the archive (`verify_release.py`). A second independent build reproduced the CSV,
data dictionary and overlap table byte for byte.

## Persistfolio original work in this package

`README.md`, `docs/METHODOLOGY.md`, `docs/QUALITY_REPORT.md`, `docs/PROVENANCE.md`, the `description` column and
column names of `docs/DATA_DICTIONARY.csv`, `docs/QUESTION_OVERLAP.csv`, `notebooks/student_health_research.ipynb`,
`license/LICENSE.md`, the `metadata/` files, and the selection and arrangement of columns in `data/student_health_yrbs2023.csv`
(including `record_number` and the `_label` convenience columns). CDC's data values, value labels, question wording
and variable labels reproduced in these files remain CDC's public-domain material.
