Actually Clean Data ↗

Sources, versions and changes

Part D state utilization: source editions and preparation

Five retained annual CMS files, prepared as a state drug history with separate national benchmarks and explicit annual comparisons.

Observation years, source editions and preparation

The first ACD edition covers 2020–2024. ACD retained the available annual files and documentation October 25, 2026. Each file’s observation period, CMS catalog title, modified date, URL and hash appear in source_editions.csv. A modified date is not asserted as the original publication date, and this capture does not reconstruct original annual vintages.

The annual comparison table describes changes between calendar-year observations processed with the same logic. It does not count publisher revisions or changes introduced by ACD processing.

Coverage and separate geographic scopes

The main table has 539,119 state/drug/year records across 50 states and DC, with 37 fields. Separate tables contain 17,972 national and 22,203 other-geography observations. The latter retain territories, military, foreign, unknown and unreported locations. All 579,294 original rows are accounted for.

Geography follows prescriber NPPES location, not patient residence. The 63-geography, five-year coverage grid has three groups without source rows. These gaps remain explicit. No observations are fabricated, and national totals are not inferred from state sums.

What preparation adds

Eight CSV tables provide the observations, annual comparisons, geography, coverage, edition records and source-row accounting. Every numeric measure retains original precision and an explicit reporting status. Suppressed cells stay blank; original age-65 suppression flags remain available.

Adjacent-year comparisons use exact geography, drug name and generic name. Of 462,407 comparison rows, 398,832 have both endpoints, 32,807 lack a prior row and 30,768 lack a current row. Missing endpoints do not produce numeric changes. There are 145 drug names with multiple generic-name pairings across the source history, so a brand-only join would be unsound.

Source qualifications

Claims include fills and refills; standardized 30-day fills have a separate unit. Drug costs are nominal and before manufacturer rebates. Prescriber and beneficiary counts overlap across drugs and cannot be added as unique people. CMS changed its long-acting-opioid classification beginning in 2021.

Documentation notes preserve discrepancies in the source dictionary’s geography wording and references to a days-supply field that these CSVs do not contain. Source catalog titles for two annual files have unusual end dates, while their temporal metadata specifies full calendar years. The product retains both facts rather than silently rewriting the publisher’s record.

Reproducibility and purchase access

Immutable originals feed lossless staging and separately versioned preparation. Independent acceptance reconciles all eight delivered tables against the original annual CSVs and metadata. A fresh-store replay with networking disabled reproduces every layer identity and exact ZIP bytes. Private backups have verified read-back hashes.

The $29 fixed edition includes all five years. Processing improvements for these retained inputs are included for purchasers. A genuinely new source edition may be sold separately, after review of new observations and revisions. No automatic refresh is promised.

Inspect the product and sample · Compare Part D use across states in Python · Choose drug-cost and utilization data · Free CMS source files. Independent preparation; no CMS endorsement.