Pinned datasets
CMS publishes each year of Part D and Open Payments as its own dataset with its own id. Those ids are pinned inpackages/unseen/src/partd.ts and packages/unseen/src/payments.ts, and were checked against the live APIs: the Part D file name ends in DY24, data year 2024, and each Open Payments id returned rows for its own program year.
When CMS publishes the next year of either, add its id there.