data-analyst-mcp 0.0.0-stage → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +261 -2
- package/dist/adapters/_acf_tidy.d.ts +18 -0
- package/dist/adapters/_acf_tidy.js +432 -0
- package/dist/adapters/_acf_tidy.js.map +1 -0
- package/dist/adapters/_actuaries_read.d.ts +38 -0
- package/dist/adapters/_actuaries_read.js +728 -0
- package/dist/adapters/_actuaries_read.js.map +1 -0
- package/dist/adapters/_census_micro.d.ts +70 -0
- package/dist/adapters/_census_micro.js +622 -0
- package/dist/adapters/_census_micro.js.map +1 -0
- package/dist/adapters/_census_util.d.ts +40 -0
- package/dist/adapters/_census_util.js +275 -0
- package/dist/adapters/_census_util.js.map +1 -0
- package/dist/adapters/_dol_states.d.ts +6 -0
- package/dist/adapters/_dol_states.js +58 -0
- package/dist/adapters/_dol_states.js.map +1 -0
- package/dist/adapters/_govinfo_entities.d.ts +4 -0
- package/dist/adapters/_govinfo_entities.js +6 -0
- package/dist/adapters/_govinfo_entities.js.map +1 -0
- package/dist/adapters/_govinfo_json.d.ts +13 -0
- package/dist/adapters/_govinfo_json.js +107 -0
- package/dist/adapters/_govinfo_json.js.map +1 -0
- package/dist/adapters/_govinfo_py.d.ts +22 -0
- package/dist/adapters/_govinfo_py.js +272 -0
- package/dist/adapters/_govinfo_py.js.map +1 -0
- package/dist/adapters/_govinfo_xml.d.ts +22 -0
- package/dist/adapters/_govinfo_xml.js +233 -0
- package/dist/adapters/_govinfo_xml.js.map +1 -0
- package/dist/adapters/_hud_excel.d.ts +2 -0
- package/dist/adapters/_hud_excel.js +166 -0
- package/dist/adapters/_hud_excel.js.map +1 -0
- package/dist/adapters/_omb_grid.d.ts +17 -0
- package/dist/adapters/_omb_grid.js +132 -0
- package/dist/adapters/_omb_grid.js.map +1 -0
- package/dist/adapters/_omb_util.d.ts +40 -0
- package/dist/adapters/_omb_util.js +192 -0
- package/dist/adapters/_omb_util.js.map +1 -0
- package/dist/adapters/_usaspending_state.d.ts +6 -0
- package/dist/adapters/_usaspending_state.js +54 -0
- package/dist/adapters/_usaspending_state.js.map +1 -0
- package/dist/adapters/_usda-fna_book.d.ts +59 -0
- package/dist/adapters/_usda-fna_book.js +869 -0
- package/dist/adapters/_usda-fna_book.js.map +1 -0
- package/dist/adapters/_usda-fna_pdf.d.ts +20 -0
- package/dist/adapters/_usda-fna_pdf.js +361 -0
- package/dist/adapters/_usda-fna_pdf.js.map +1 -0
- package/dist/adapters/_usda-outlook_read.d.ts +70 -0
- package/dist/adapters/_usda-outlook_read.js +362 -0
- package/dist/adapters/_usda-outlook_read.js.map +1 -0
- package/dist/adapters/acf.d.ts +3 -0
- package/dist/adapters/acf.js +187 -0
- package/dist/adapters/acf.js.map +1 -0
- package/dist/adapters/actuaries.d.ts +3 -0
- package/dist/adapters/actuaries.js +293 -0
- package/dist/adapters/actuaries.js.map +1 -0
- package/dist/adapters/bts.d.ts +3 -0
- package/dist/adapters/bts.js +26 -0
- package/dist/adapters/bts.js.map +1 -0
- package/dist/adapters/census-geocoder.d.ts +10 -0
- package/dist/adapters/census-geocoder.js +47 -0
- package/dist/adapters/census-geocoder.js.map +1 -0
- package/dist/adapters/census.d.ts +17 -0
- package/dist/adapters/census.js +983 -0
- package/dist/adapters/census.js.map +1 -0
- package/dist/adapters/cfpb.d.ts +7 -0
- package/dist/adapters/cfpb.js +348 -0
- package/dist/adapters/cfpb.js.map +1 -0
- package/dist/adapters/clinical-trials.d.ts +3 -0
- package/dist/adapters/clinical-trials.js +135 -0
- package/dist/adapters/clinical-trials.js.map +1 -0
- package/dist/adapters/cms.d.ts +3 -0
- package/dist/adapters/cms.js +292 -0
- package/dist/adapters/cms.js.map +1 -0
- package/dist/adapters/college-scorecard.d.ts +3 -0
- package/dist/adapters/college-scorecard.js +122 -0
- package/dist/adapters/college-scorecard.js.map +1 -0
- package/dist/adapters/congress.d.ts +33 -0
- package/dist/adapters/congress.js +589 -0
- package/dist/adapters/congress.js.map +1 -0
- package/dist/adapters/dhs-ohss.d.ts +13 -0
- package/dist/adapters/dhs-ohss.js +598 -0
- package/dist/adapters/dhs-ohss.js.map +1 -0
- package/dist/adapters/doj-news.d.ts +7 -0
- package/dist/adapters/doj-news.js +286 -0
- package/dist/adapters/doj-news.js.map +1 -0
- package/dist/adapters/dol.d.ts +4 -0
- package/dist/adapters/dol.js +634 -0
- package/dist/adapters/dol.js.map +1 -0
- package/dist/adapters/eia.d.ts +15 -0
- package/dist/adapters/eia.js +456 -0
- package/dist/adapters/eia.js.map +1 -0
- package/dist/adapters/epa-aqs.d.ts +3 -0
- package/dist/adapters/epa-aqs.js +357 -0
- package/dist/adapters/epa-aqs.js.map +1 -0
- package/dist/adapters/epa.d.ts +3 -0
- package/dist/adapters/epa.js +298 -0
- package/dist/adapters/epa.js.map +1 -0
- package/dist/adapters/fbi.d.ts +3 -0
- package/dist/adapters/fbi.js +192 -0
- package/dist/adapters/fbi.js.map +1 -0
- package/dist/adapters/fda.d.ts +5 -0
- package/dist/adapters/fda.js +184 -0
- package/dist/adapters/fda.js.map +1 -0
- package/dist/adapters/fdic.d.ts +4 -0
- package/dist/adapters/fdic.js +95 -0
- package/dist/adapters/fdic.js.map +1 -0
- package/dist/adapters/fec.d.ts +3 -0
- package/dist/adapters/fec.js +142 -0
- package/dist/adapters/fec.js.map +1 -0
- package/dist/adapters/fed-board.d.ts +12 -0
- package/dist/adapters/fed-board.js +581 -0
- package/dist/adapters/fed-board.js.map +1 -0
- package/dist/adapters/federal-register.d.ts +11 -0
- package/dist/adapters/federal-register.js +43 -0
- package/dist/adapters/federal-register.js.map +1 -0
- package/dist/adapters/fhfa.d.ts +3 -0
- package/dist/adapters/fhfa.js +253 -0
- package/dist/adapters/fhfa.js.map +1 -0
- package/dist/adapters/fsa.d.ts +9 -0
- package/dist/adapters/fsa.js +335 -0
- package/dist/adapters/fsa.js.map +1 -0
- package/dist/adapters/govinfo.d.ts +30 -0
- package/dist/adapters/govinfo.js +636 -0
- package/dist/adapters/govinfo.js.map +1 -0
- package/dist/adapters/gsa-calc.d.ts +10 -0
- package/dist/adapters/gsa-calc.js +318 -0
- package/dist/adapters/gsa-calc.js.map +1 -0
- package/dist/adapters/hud.d.ts +3 -0
- package/dist/adapters/hud.js +200 -0
- package/dist/adapters/hud.js.map +1 -0
- package/dist/adapters/index.d.ts +3 -0
- package/dist/adapters/index.js +25 -0
- package/dist/adapters/index.js.map +1 -0
- package/dist/adapters/irs-soi.d.ts +6 -0
- package/dist/adapters/irs-soi.js +576 -0
- package/dist/adapters/irs-soi.js.map +1 -0
- package/dist/adapters/naep.d.ts +15 -0
- package/dist/adapters/naep.js +341 -0
- package/dist/adapters/naep.js.map +1 -0
- package/dist/adapters/nhtsa.d.ts +10 -0
- package/dist/adapters/nhtsa.js +239 -0
- package/dist/adapters/nhtsa.js.map +1 -0
- package/dist/adapters/nih.d.ts +5 -0
- package/dist/adapters/nih.js +196 -0
- package/dist/adapters/nih.js.map +1 -0
- package/dist/adapters/noaa.d.ts +3 -0
- package/dist/adapters/noaa.js +148 -0
- package/dist/adapters/noaa.js.map +1 -0
- package/dist/adapters/nrel.d.ts +3 -0
- package/dist/adapters/nrel.js +186 -0
- package/dist/adapters/nrel.js.map +1 -0
- package/dist/adapters/nws.d.ts +3 -0
- package/dist/adapters/nws.js +119 -0
- package/dist/adapters/nws.js.map +1 -0
- package/dist/adapters/omb.d.ts +15 -0
- package/dist/adapters/omb.js +517 -0
- package/dist/adapters/omb.js.map +1 -0
- package/dist/adapters/open-payments.d.ts +5 -0
- package/dist/adapters/open-payments.js +149 -0
- package/dist/adapters/open-payments.js.map +1 -0
- package/dist/adapters/pbgc.d.ts +13 -0
- package/dist/adapters/pbgc.js +283 -0
- package/dist/adapters/pbgc.js.map +1 -0
- package/dist/adapters/philfed.d.ts +12 -0
- package/dist/adapters/philfed.js +59 -0
- package/dist/adapters/philfed.js.map +1 -0
- package/dist/adapters/regulations.d.ts +6 -0
- package/dist/adapters/regulations.js +58 -0
- package/dist/adapters/regulations.js.map +1 -0
- package/dist/adapters/sec.d.ts +13 -0
- package/dist/adapters/sec.js +504 -0
- package/dist/adapters/sec.js.map +1 -0
- package/dist/adapters/senate-lobbying.d.ts +3 -0
- package/dist/adapters/senate-lobbying.js +181 -0
- package/dist/adapters/senate-lobbying.js.map +1 -0
- package/dist/adapters/snapqc.d.ts +32 -0
- package/dist/adapters/snapqc.js +701 -0
- package/dist/adapters/snapqc.js.map +1 -0
- package/dist/adapters/treasury-yields.d.ts +3 -0
- package/dist/adapters/treasury-yields.js +170 -0
- package/dist/adapters/treasury-yields.js.map +1 -0
- package/dist/adapters/usaspending.d.ts +3 -0
- package/dist/adapters/usaspending.js +340 -0
- package/dist/adapters/usaspending.js.map +1 -0
- package/dist/adapters/usda-fna.d.ts +7 -0
- package/dist/adapters/usda-fna.js +707 -0
- package/dist/adapters/usda-fna.js.map +1 -0
- package/dist/adapters/usda-fooddata.d.ts +3 -0
- package/dist/adapters/usda-fooddata.js +101 -0
- package/dist/adapters/usda-fooddata.js.map +1 -0
- package/dist/adapters/usda-nass.d.ts +3 -0
- package/dist/adapters/usda-nass.js +108 -0
- package/dist/adapters/usda-nass.js.map +1 -0
- package/dist/adapters/usda-outlook.d.ts +12 -0
- package/dist/adapters/usda-outlook.js +696 -0
- package/dist/adapters/usda-outlook.js.map +1 -0
- package/dist/adapters/usgs.d.ts +9 -0
- package/dist/adapters/usgs.js +265 -0
- package/dist/adapters/usgs.js.map +1 -0
- package/dist/adapters/usitc.d.ts +18 -0
- package/dist/adapters/usitc.js +170 -0
- package/dist/adapters/usitc.js.map +1 -0
- package/dist/adapters/uspto.d.ts +3 -0
- package/dist/adapters/uspto.js +47 -0
- package/dist/adapters/uspto.js.map +1 -0
- package/dist/adapters/world-bank.d.ts +3 -0
- package/dist/adapters/world-bank.js +163 -0
- package/dist/adapters/world-bank.js.map +1 -0
- package/dist/analysis/cite.d.ts +31 -0
- package/dist/analysis/cite.js +229 -0
- package/dist/analysis/cite.js.map +1 -0
- package/dist/analysis/combine.d.ts +27 -0
- package/dist/analysis/combine.js +198 -0
- package/dist/analysis/combine.js.map +1 -0
- package/dist/analysis/compute.d.ts +62 -0
- package/dist/analysis/compute.js +583 -0
- package/dist/analysis/compute.js.map +1 -0
- package/dist/analysis/expr.d.ts +69 -0
- package/dist/analysis/expr.js +780 -0
- package/dist/analysis/expr.js.map +1 -0
- package/dist/analysis/factfmt.d.ts +16 -0
- package/dist/analysis/factfmt.js +187 -0
- package/dist/analysis/factfmt.js.map +1 -0
- package/dist/analysis/facts.d.ts +63 -0
- package/dist/analysis/facts.js +355 -0
- package/dist/analysis/facts.js.map +1 -0
- package/dist/analysis/handoff.d.ts +58 -0
- package/dist/analysis/handoff.js +208 -0
- package/dist/analysis/handoff.js.map +1 -0
- package/dist/analysis/pyfmt.d.ts +16 -0
- package/dist/analysis/pyfmt.js +156 -0
- package/dist/analysis/pyfmt.js.map +1 -0
- package/dist/analysis/rerun.d.ts +13 -0
- package/dist/analysis/rerun.js +125 -0
- package/dist/analysis/rerun.js.map +1 -0
- package/dist/analysis/table.d.ts +18 -0
- package/dist/analysis/table.js +109 -0
- package/dist/analysis/table.js.map +1 -0
- package/dist/analysis/tools.d.ts +67 -0
- package/dist/analysis/tools.js +217 -0
- package/dist/analysis/tools.js.map +1 -0
- package/dist/analysis/write_table.d.ts +13 -0
- package/dist/analysis/write_table.js +59 -0
- package/dist/analysis/write_table.js.map +1 -0
- package/dist/bin/cli.d.ts +10 -0
- package/dist/bin/cli.js +177 -0
- package/dist/bin/cli.js.map +1 -0
- package/dist/core/cache.d.ts +14 -0
- package/dist/core/cache.js +90 -0
- package/dist/core/cache.js.map +1 -0
- package/dist/core/context.d.ts +12 -0
- package/dist/core/context.js +15 -0
- package/dist/core/context.js.map +1 -0
- package/dist/core/env.d.ts +14 -0
- package/dist/core/env.js +52 -0
- package/dist/core/env.js.map +1 -0
- package/dist/core/generic-rest.d.ts +61 -0
- package/dist/core/generic-rest.js +639 -0
- package/dist/core/generic-rest.js.map +1 -0
- package/dist/core/http.d.ts +120 -0
- package/dist/core/http.js +514 -0
- package/dist/core/http.js.map +1 -0
- package/dist/core/keys.d.ts +43 -0
- package/dist/core/keys.js +174 -0
- package/dist/core/keys.js.map +1 -0
- package/dist/core/manual.d.ts +41 -0
- package/dist/core/manual.js +218 -0
- package/dist/core/manual.js.map +1 -0
- package/dist/core/package.d.ts +58 -0
- package/dist/core/package.js +228 -0
- package/dist/core/package.js.map +1 -0
- package/dist/core/packs.d.ts +139 -0
- package/dist/core/packs.js +173 -0
- package/dist/core/packs.js.map +1 -0
- package/dist/core/policy.d.ts +69 -0
- package/dist/core/policy.js +189 -0
- package/dist/core/policy.js.map +1 -0
- package/dist/core/py.d.ts +40 -0
- package/dist/core/py.js +171 -0
- package/dist/core/py.js.map +1 -0
- package/dist/core/routing.d.ts +10 -0
- package/dist/core/routing.js +39 -0
- package/dist/core/routing.js.map +1 -0
- package/dist/core/tabular.d.ts +21 -0
- package/dist/core/tabular.js +229 -0
- package/dist/core/tabular.js.map +1 -0
- package/dist/deep/_bea_api.d.ts +102 -0
- package/dist/deep/_bea_api.js +457 -0
- package/dist/deep/_bea_api.js.map +1 -0
- package/dist/deep/_bea_fetch.d.ts +151 -0
- package/dist/deep/_bea_fetch.js +1274 -0
- package/dist/deep/_bea_fetch.js.map +1 -0
- package/dist/deep/_bea_util.d.ts +14 -0
- package/dist/deep/_bea_util.js +156 -0
- package/dist/deep/_bea_util.js.map +1 -0
- package/dist/deep/_bls_api.d.ts +84 -0
- package/dist/deep/_bls_api.js +231 -0
- package/dist/deep/_bls_api.js.map +1 -0
- package/dist/deep/_bls_ids.d.ts +43 -0
- package/dist/deep/_bls_ids.js +188 -0
- package/dist/deep/_bls_ids.js.map +1 -0
- package/dist/deep/_bls_lib.d.ts +61 -0
- package/dist/deep/_bls_lib.js +442 -0
- package/dist/deep/_bls_lib.js.map +1 -0
- package/dist/deep/_fred_api.d.ts +148 -0
- package/dist/deep/_fred_api.js +545 -0
- package/dist/deep/_fred_api.js.map +1 -0
- package/dist/deep/_fred_pack.d.ts +162 -0
- package/dist/deep/_fred_pack.js +1027 -0
- package/dist/deep/_fred_pack.js.map +1 -0
- package/dist/deep/_fred_py.d.ts +40 -0
- package/dist/deep/_fred_py.js +199 -0
- package/dist/deep/_fred_py.js.map +1 -0
- package/dist/deep/_ipums_bundle.d.ts +29 -0
- package/dist/deep/_ipums_bundle.js +194 -0
- package/dist/deep/_ipums_bundle.js.map +1 -0
- package/dist/deep/_ipums_ddi.d.ts +23 -0
- package/dist/deep/_ipums_ddi.js +162 -0
- package/dist/deep/_ipums_ddi.js.map +1 -0
- package/dist/deep/_opm_io.d.ts +26 -0
- package/dist/deep/_opm_io.js +383 -0
- package/dist/deep/_opm_io.js.map +1 -0
- package/dist/deep/_opm_parquet.d.ts +31 -0
- package/dist/deep/_opm_parquet.js +744 -0
- package/dist/deep/_opm_parquet.js.map +1 -0
- package/dist/deep/_opm_py.d.ts +6 -0
- package/dist/deep/_opm_py.js +74 -0
- package/dist/deep/_opm_py.js.map +1 -0
- package/dist/deep/_treasury_api.d.ts +48 -0
- package/dist/deep/_treasury_api.js +221 -0
- package/dist/deep/_treasury_api.js.map +1 -0
- package/dist/deep/_treasury_context.d.ts +34 -0
- package/dist/deep/_treasury_context.js +142 -0
- package/dist/deep/_treasury_context.js.map +1 -0
- package/dist/deep/_treasury_lib.d.ts +109 -0
- package/dist/deep/_treasury_lib.js +686 -0
- package/dist/deep/_treasury_lib.js.map +1 -0
- package/dist/deep/bea.d.ts +3 -0
- package/dist/deep/bea.js +248 -0
- package/dist/deep/bea.js.map +1 -0
- package/dist/deep/bls.d.ts +3 -0
- package/dist/deep/bls.js +220 -0
- package/dist/deep/bls.js.map +1 -0
- package/dist/deep/fred.d.ts +3 -0
- package/dist/deep/fred.js +325 -0
- package/dist/deep/fred.js.map +1 -0
- package/dist/deep/ipums.d.ts +59 -0
- package/dist/deep/ipums.js +744 -0
- package/dist/deep/ipums.js.map +1 -0
- package/dist/deep/opm.d.ts +56 -0
- package/dist/deep/opm.js +1033 -0
- package/dist/deep/opm.js.map +1 -0
- package/dist/deep/treasury.d.ts +3 -0
- package/dist/deep/treasury.js +218 -0
- package/dist/deep/treasury.js.map +1 -0
- package/dist/envelope.d.ts +47 -0
- package/dist/envelope.js +88 -0
- package/dist/envelope.js.map +1 -0
- package/dist/index.d.ts +277 -0
- package/dist/index.js +106 -0
- package/dist/index.js.map +1 -0
- package/dist/remote/app.d.ts +21 -0
- package/dist/remote/app.js +218 -0
- package/dist/remote/app.js.map +1 -0
- package/dist/remote/oauth.d.ts +14 -0
- package/dist/remote/oauth.js +90 -0
- package/dist/remote/oauth.js.map +1 -0
- package/dist/remote/pages.d.ts +8 -0
- package/dist/remote/pages.js +56 -0
- package/dist/remote/pages.js.map +1 -0
- package/dist/remote/sign.d.ts +4 -0
- package/dist/remote/sign.js +40 -0
- package/dist/remote/sign.js.map +1 -0
- package/dist/remote/store.d.ts +31 -0
- package/dist/remote/store.js +129 -0
- package/dist/remote/store.js.map +1 -0
- package/dist/report/audit_answer.d.ts +94 -0
- package/dist/report/audit_answer.js +1349 -0
- package/dist/report/audit_answer.js.map +1 -0
- package/dist/report/audit_report.d.ts +23 -0
- package/dist/report/audit_report.js +637 -0
- package/dist/report/audit_report.js.map +1 -0
- package/dist/report/build_report.d.ts +27 -0
- package/dist/report/build_report.js +1168 -0
- package/dist/report/build_report.js.map +1 -0
- package/dist/report/method_audit.d.ts +47 -0
- package/dist/report/method_audit.js +716 -0
- package/dist/report/method_audit.js.map +1 -0
- package/dist/report/policyset.d.ts +50 -0
- package/dist/report/policyset.js +421 -0
- package/dist/report/policyset.js.map +1 -0
- package/dist/report/py.d.ts +58 -0
- package/dist/report/py.js +311 -0
- package/dist/report/py.js.map +1 -0
- package/dist/report/scan_secrets.d.ts +24 -0
- package/dist/report/scan_secrets.js +265 -0
- package/dist/report/scan_secrets.js.map +1 -0
- package/dist/report/style_check.d.ts +29 -0
- package/dist/report/style_check.js +173 -0
- package/dist/report/style_check.js.map +1 -0
- package/dist/report/tools.d.ts +87 -0
- package/dist/report/tools.js +167 -0
- package/dist/report/tools.js.map +1 -0
- package/dist/server.d.ts +5 -0
- package/dist/server.js +247 -0
- package/dist/server.js.map +1 -0
- package/dist/session.d.ts +47 -0
- package/dist/session.js +107 -0
- package/dist/session.js.map +1 -0
- package/dist/toolkit.d.ts +21 -0
- package/dist/toolkit.js +2 -0
- package/dist/toolkit.js.map +1 -0
- package/dist/tools.d.ts +299 -0
- package/dist/tools.js +491 -0
- package/dist/tools.js.map +1 -0
- package/guide/WORKFLOW.md +134 -0
- package/guide/assets/disclaimer.txt +1 -0
- package/guide/assets/download_data.ps1 +162 -0
- package/guide/assets/download_data.sh +143 -0
- package/guide/assets/report_template.html +597 -0
- package/guide/references/report_patterns.md +199 -0
- package/guide/references/routing.md +171 -0
- package/guide/references/style_guide.md +398 -0
- package/package.json +54 -4
- package/packs/acf/endpoints.json +114 -0
- package/packs/acf/policy.json +104 -0
- package/packs/acf/source.md +138 -0
- package/packs/actuaries/endpoints.json +82 -0
- package/packs/actuaries/policy.json +109 -0
- package/packs/actuaries/source.md +137 -0
- package/packs/bea/assets/download_bea.ps1 +182 -0
- package/packs/bea/assets/download_bea.sh +144 -0
- package/packs/bea/docs/bea_api.md +461 -0
- package/packs/bea/docs/datasets.md +157 -0
- package/packs/bea/docs/report_patterns.md +112 -0
- package/packs/bea/policy.json +170 -0
- package/packs/bea/source.md +152 -0
- package/packs/bls/assets/download_bls.ps1 +152 -0
- package/packs/bls/assets/download_bls.sh +167 -0
- package/packs/bls/docs/analysis_patterns.md +108 -0
- package/packs/bls/docs/bls_api.md +73 -0
- package/packs/bls/docs/series_ids.md +149 -0
- package/packs/bls/policy.json +238 -0
- package/packs/bls/series_ids.json +1375 -0
- package/packs/bls/source.md +156 -0
- package/packs/bts/endpoints.json +347 -0
- package/packs/bts/policy.json +94 -0
- package/packs/bts/source.md +97 -0
- package/packs/cdc/endpoints.json +197 -0
- package/packs/cdc/policy.json +83 -0
- package/packs/cdc/source.md +74 -0
- package/packs/census/endpoints.json +99 -0
- package/packs/census/policy.json +238 -0
- package/packs/census/source.md +304 -0
- package/packs/census-geocoder/endpoints.json +70 -0
- package/packs/census-geocoder/policy.json +80 -0
- package/packs/census-geocoder/source.md +53 -0
- package/packs/cfpb/endpoints.json +327 -0
- package/packs/cfpb/policy.json +119 -0
- package/packs/cfpb/source.md +96 -0
- package/packs/clinical-trials/endpoints.json +167 -0
- package/packs/clinical-trials/policy.json +84 -0
- package/packs/clinical-trials/source.md +82 -0
- package/packs/cms/endpoints.json +69 -0
- package/packs/cms/policy.json +96 -0
- package/packs/cms/source.md +112 -0
- package/packs/college-scorecard/endpoints.json +253 -0
- package/packs/college-scorecard/policy.json +106 -0
- package/packs/college-scorecard/source.md +92 -0
- package/packs/congress/endpoints.json +1701 -0
- package/packs/congress/policy.json +117 -0
- package/packs/congress/source.md +190 -0
- package/packs/dhs-ohss/endpoints.json +66 -0
- package/packs/dhs-ohss/policy.json +107 -0
- package/packs/dhs-ohss/source.md +120 -0
- package/packs/doj-news/endpoints.json +59 -0
- package/packs/doj-news/policy.json +96 -0
- package/packs/doj-news/source.md +99 -0
- package/packs/dol/endpoints.json +818 -0
- package/packs/dol/policy.json +135 -0
- package/packs/dol/source.md +181 -0
- package/packs/eia/endpoints.json +718 -0
- package/packs/eia/policy.json +112 -0
- package/packs/eia/source.md +112 -0
- package/packs/epa/endpoints.json +292 -0
- package/packs/epa/policy.json +99 -0
- package/packs/epa/source.md +99 -0
- package/packs/epa-aqs/endpoints.json +174 -0
- package/packs/epa-aqs/policy.json +96 -0
- package/packs/epa-aqs/source.md +97 -0
- package/packs/fbi/endpoints.json +1842 -0
- package/packs/fbi/policy.json +118 -0
- package/packs/fbi/source.md +108 -0
- package/packs/fda/endpoints.json +238 -0
- package/packs/fda/policy.json +121 -0
- package/packs/fda/source.md +117 -0
- package/packs/fdic/endpoints.json +417 -0
- package/packs/fdic/policy.json +83 -0
- package/packs/fdic/source.md +92 -0
- package/packs/fec/endpoints.json +708 -0
- package/packs/fec/policy.json +93 -0
- package/packs/fec/source.md +90 -0
- package/packs/fed-board/endpoints.json +89 -0
- package/packs/fed-board/policy.json +136 -0
- package/packs/fed-board/source.md +118 -0
- package/packs/federal-register/endpoints.json +143 -0
- package/packs/federal-register/policy.json +86 -0
- package/packs/federal-register/source.md +98 -0
- package/packs/fema/endpoints.json +646 -0
- package/packs/fema/policy.json +103 -0
- package/packs/fema/source.md +103 -0
- package/packs/fhfa/endpoints.json +105 -0
- package/packs/fhfa/policy.json +109 -0
- package/packs/fhfa/source.md +108 -0
- package/packs/fred/assets/download_fred.ps1 +122 -0
- package/packs/fred/assets/download_fred.sh +123 -0
- package/packs/fred/docs/analysis_patterns.md +124 -0
- package/packs/fred/docs/fred_api.md +94 -0
- package/packs/fred/docs/series.md +188 -0
- package/packs/fred/policy.json +253 -0
- package/packs/fred/source.md +142 -0
- package/packs/fsa/endpoints.json +150 -0
- package/packs/fsa/policy.json +99 -0
- package/packs/fsa/source.md +102 -0
- package/packs/govinfo/endpoints.json +520 -0
- package/packs/govinfo/policy.json +116 -0
- package/packs/govinfo/source.md +241 -0
- package/packs/gsa-calc/endpoints.json +93 -0
- package/packs/gsa-calc/policy.json +97 -0
- package/packs/gsa-calc/source.md +108 -0
- package/packs/hud/endpoints.json +147 -0
- package/packs/hud/policy.json +84 -0
- package/packs/hud/source.md +97 -0
- package/packs/ipums/assets/download_ipums.ps1 +215 -0
- package/packs/ipums/assets/download_ipums.sh +192 -0
- package/packs/ipums/docs/ipums_api.md +67 -0
- package/packs/ipums/docs/report_patterns.md +117 -0
- package/packs/ipums/docs/variables.md +284 -0
- package/packs/ipums/lib/fetch_text.json +112 -0
- package/packs/ipums/policy.json +215 -0
- package/packs/ipums/source.md +169 -0
- package/packs/irs-soi/endpoints.json +114 -0
- package/packs/irs-soi/policy.json +107 -0
- package/packs/irs-soi/source.md +124 -0
- package/packs/medicaid/endpoints.json +412 -0
- package/packs/medicaid/policy.json +108 -0
- package/packs/medicaid/source.md +136 -0
- package/packs/naep/endpoints.json +217 -0
- package/packs/naep/policy.json +100 -0
- package/packs/naep/source.md +120 -0
- package/packs/nhtsa/endpoints.json +132 -0
- package/packs/nhtsa/policy.json +93 -0
- package/packs/nhtsa/source.md +109 -0
- package/packs/nih/endpoints.json +453 -0
- package/packs/nih/policy.json +86 -0
- package/packs/nih/source.md +108 -0
- package/packs/noaa/endpoints.json +432 -0
- package/packs/noaa/policy.json +95 -0
- package/packs/noaa/source.md +88 -0
- package/packs/nrel/endpoints.json +328 -0
- package/packs/nrel/policy.json +96 -0
- package/packs/nrel/source.md +91 -0
- package/packs/nws/endpoints.json +272 -0
- package/packs/nws/policy.json +82 -0
- package/packs/nws/source.md +81 -0
- package/packs/nyfed/endpoints.json +80 -0
- package/packs/nyfed/policy.json +92 -0
- package/packs/nyfed/source.md +89 -0
- package/packs/omb/endpoints.json +460 -0
- package/packs/omb/policy.json +106 -0
- package/packs/omb/source.md +130 -0
- package/packs/open-payments/endpoints.json +298 -0
- package/packs/open-payments/policy.json +101 -0
- package/packs/open-payments/source.md +99 -0
- package/packs/opm/assets/download_opm.ps1 +125 -0
- package/packs/opm/assets/download_opm.sh +85 -0
- package/packs/opm/docs/fields.md +184 -0
- package/packs/opm/docs/opm_api.md +71 -0
- package/packs/opm/docs/report_patterns.md +83 -0
- package/packs/opm/lib/data_dictionary.csv +73 -0
- package/packs/opm/policy.json +142 -0
- package/packs/opm/source.md +137 -0
- package/packs/pbgc/endpoints.json +483 -0
- package/packs/pbgc/policy.json +94 -0
- package/packs/pbgc/source.md +95 -0
- package/packs/philfed/endpoints.json +85 -0
- package/packs/philfed/policy.json +94 -0
- package/packs/philfed/source.md +125 -0
- package/packs/port.json +287 -0
- package/packs/regulations/endpoints.json +288 -0
- package/packs/regulations/policy.json +86 -0
- package/packs/regulations/source.md +84 -0
- package/packs/sec/endpoints.json +237 -0
- package/packs/sec/policy.json +86 -0
- package/packs/sec/source.md +101 -0
- package/packs/senate-lobbying/endpoints.json +554 -0
- package/packs/senate-lobbying/policy.json +99 -0
- package/packs/senate-lobbying/source.md +100 -0
- package/packs/snapqc/endpoints.json +1426 -0
- package/packs/snapqc/policy.json +92 -0
- package/packs/snapqc/source.md +96 -0
- package/packs/treasury/catalog.json +2267 -0
- package/packs/treasury/docs/api_guide.md +245 -0
- package/packs/treasury/docs/datasets.md +56 -0
- package/packs/treasury/docs/report_patterns.md +126 -0
- package/packs/treasury/policy.json +159 -0
- package/packs/treasury/source.md +170 -0
- package/packs/treasury-yields/endpoints.json +226 -0
- package/packs/treasury-yields/policy.json +86 -0
- package/packs/treasury-yields/source.md +80 -0
- package/packs/usaspending/endpoints.json +1316 -0
- package/packs/usaspending/policy.json +109 -0
- package/packs/usaspending/source.md +103 -0
- package/packs/usda-fna/endpoints.json +427 -0
- package/packs/usda-fna/policy.json +133 -0
- package/packs/usda-fna/source.md +217 -0
- package/packs/usda-fooddata/endpoints.json +181 -0
- package/packs/usda-fooddata/policy.json +94 -0
- package/packs/usda-fooddata/source.md +105 -0
- package/packs/usda-nass/endpoints.json +324 -0
- package/packs/usda-nass/policy.json +95 -0
- package/packs/usda-nass/source.md +85 -0
- package/packs/usda-outlook/endpoints.json +86 -0
- package/packs/usda-outlook/policy.json +109 -0
- package/packs/usda-outlook/source.md +144 -0
- package/packs/usgs/endpoints.json +313 -0
- package/packs/usgs/policy.json +95 -0
- package/packs/usgs/source.md +96 -0
- package/packs/usitc/endpoints.json +74 -0
- package/packs/usitc/policy.json +111 -0
- package/packs/usitc/source.md +90 -0
- package/packs/uspto/endpoints.json +141 -0
- package/packs/uspto/policy.json +95 -0
- package/packs/uspto/source.md +101 -0
- package/packs/va/endpoints.json +414 -0
- package/packs/va/policy.json +101 -0
- package/packs/va/source.md +129 -0
- package/packs/world-bank/endpoints.json +122 -0
- package/packs/world-bank/policy.json +101 -0
- package/packs/world-bank/source.md +93 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "acf",
|
|
3
|
+
"title": "HHS Administration for Children and Families program data (TANF financial and caseload data, CCDF expenditures)",
|
|
4
|
+
"agency": "U.S. Department of Health and Human Services, Administration for Children and Families (Office of Family Assistance and Office of Child Care)",
|
|
5
|
+
"depth": "standard",
|
|
6
|
+
"domains": [
|
|
7
|
+
"welfare",
|
|
8
|
+
"cash assistance",
|
|
9
|
+
"child care",
|
|
10
|
+
"safety net",
|
|
11
|
+
"state spending",
|
|
12
|
+
"federal grants to states"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"tanf",
|
|
16
|
+
"temporary assistance for needy families",
|
|
17
|
+
"welfare",
|
|
18
|
+
"cash assistance",
|
|
19
|
+
"basic assistance",
|
|
20
|
+
"maintenance of effort",
|
|
21
|
+
"moe",
|
|
22
|
+
"state moe",
|
|
23
|
+
"tanf block grant",
|
|
24
|
+
"state family assistance grant",
|
|
25
|
+
"sfag",
|
|
26
|
+
"tanf contingency fund",
|
|
27
|
+
"tanf transfers",
|
|
28
|
+
"transfer to ccdf",
|
|
29
|
+
"transfer to ssbg",
|
|
30
|
+
"tanf spending by category",
|
|
31
|
+
"acf-196r",
|
|
32
|
+
"tanf caseload",
|
|
33
|
+
"tanf recipients",
|
|
34
|
+
"tanf families",
|
|
35
|
+
"separate state programs",
|
|
36
|
+
"ssp-moe",
|
|
37
|
+
"child-only cases",
|
|
38
|
+
"ccdf",
|
|
39
|
+
"child care and development fund",
|
|
40
|
+
"child care subsidies",
|
|
41
|
+
"child care spending",
|
|
42
|
+
"ccdbg",
|
|
43
|
+
"acf-696",
|
|
44
|
+
"office of family assistance",
|
|
45
|
+
"office of child care"
|
|
46
|
+
],
|
|
47
|
+
"questions": [
|
|
48
|
+
"how much each state spends of federal TANF and state MOE funds on basic cash assistance",
|
|
49
|
+
"share of TANF spending going to child care, work activities or administration by state",
|
|
50
|
+
"TANF funds transferred to the Child Care and Development Fund and the Social Services Block Grant",
|
|
51
|
+
"number of families and recipients on TANF by state and month",
|
|
52
|
+
"TANF caseload trend: average monthly families, adult and child recipients",
|
|
53
|
+
"CCDF expenditures by state and funding stream (mandatory, matching, discretionary, ARP)"
|
|
54
|
+
],
|
|
55
|
+
"homepage": "https://acf.gov/ofa/programs/tanf/data-reports",
|
|
56
|
+
"terms_url": "https://www.hhs.gov/web/policies-and-standards/hhs-web-policies/index.html",
|
|
57
|
+
"auth": {
|
|
58
|
+
"env": null,
|
|
59
|
+
"required": "none",
|
|
60
|
+
"placement": "none",
|
|
61
|
+
"param": null,
|
|
62
|
+
"prefix": "",
|
|
63
|
+
"home": null,
|
|
64
|
+
"signup_url": null,
|
|
65
|
+
"echoes_key": false,
|
|
66
|
+
"key_only": []
|
|
67
|
+
},
|
|
68
|
+
"limits": {
|
|
69
|
+
"rps": 1,
|
|
70
|
+
"burst": 2,
|
|
71
|
+
"daily_quota": null,
|
|
72
|
+
"max_rows": 100000
|
|
73
|
+
},
|
|
74
|
+
"routes": {
|
|
75
|
+
"manual": {
|
|
76
|
+
"browser_hosts": [
|
|
77
|
+
"acf.gov"
|
|
78
|
+
],
|
|
79
|
+
"how": "Always this route: acf.gov (acf.hhs.gov redirects there) answers every script, direct .xlsx links included, with an AWS WAF JavaScript challenge (HTTP 202, empty body), so nothing is fetched from here. In a web browser open the page named in INSTRUCTIONS.md and click the XLSX link: TANF financial data https://acf.gov/ofa/data/tanf-financial-data-fy-<year> ('FY <year> TANF Financial Data Tables (XLSX)'); TANF caseload https://acf.gov/ofa/data/tanf-caseload-data-<year> (the TANF, SSP-MOE or TANF & SSP-MOE caseload XLSX; the '15 Months' file when there are two); CCDF expenditures https://acf.gov/occ/data/child-care-and-development-fund-expenditure-data-list-all-years, then 'FY <year> CCDF Expenditure Data', then 'CCDF Expenditures for FY <year> (all appropriation years)' or a grant-year 'Tables 1b-...' page, then its XLSX link. Save the workbook and upload it as saved; ingest reads the table named in the request."
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"cache": {
|
|
83
|
+
"mode": "run_only",
|
|
84
|
+
"ttl_hours": null,
|
|
85
|
+
"why": "Small workbooks saved by the user; ACF replaces files in place when it revises them, so data/ is reused only within a run."
|
|
86
|
+
},
|
|
87
|
+
"redistribution": {
|
|
88
|
+
"mode": "allowed",
|
|
89
|
+
"why": "TANF financial and caseload data and CCDF expenditure data are compiled and published by HHS/ACF, a U.S. government agency: works of the U.S. government are in the public domain (17 U.S.C. 105)."
|
|
90
|
+
},
|
|
91
|
+
"notices": [],
|
|
92
|
+
"retention": null,
|
|
93
|
+
"citation": "U.S. Department of Health and Human Services, Administration for Children and Families, {dataset} (acf.gov, workbook saved from the agency's site), retrieved {retrieved_long}.",
|
|
94
|
+
"audit_hooks": [],
|
|
95
|
+
"clarify": [
|
|
96
|
+
"Which money: federal TANF funds, state MOE funds, or both? ACF tables show federal funds, state MOE (in TANF and in separate state programs) and all funds separately; transfers to CCDF and SSBG are federal TANF funds counted as used but not spent in TANF. The default is all funds (federal + MOE) with transfers reported apart.",
|
|
97
|
+
"Which caseload: families or recipients, and TANF only or TANF plus separate state programs (SSP-MOE)? The default is TANF families (average monthly number for the fiscal year).",
|
|
98
|
+
"Fiscal year or calendar year? All three datasets are by federal fiscal year (October-September); the 15-month caseload files also give calendar-year averages. CCDF is reported by fiscal year of spending (all appropriation years) or by grant year; the default is the fiscal year."
|
|
99
|
+
],
|
|
100
|
+
"formats": [
|
|
101
|
+
"xlsx",
|
|
102
|
+
"xls"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# HHS Administration for Children and Families program data (TANF financial and caseload data, CCDF expenditures)
|
|
2
|
+
Depth: standard. Key: none. State-level TANF spending (federal TANF and state maintenance-of-effort funds by
|
|
3
|
+
category), TANF caseloads (families and recipients by state and month) and Child Care and Development Fund (CCDF)
|
|
4
|
+
expenditures, as published by ACF in Excel workbooks. Manual download only: acf.gov refuses scripts.
|
|
5
|
+
|
|
6
|
+
## When to use
|
|
7
|
+
- TANF money: how states use the TANF block grant and their own MOE funds (basic cash assistance, child care, work
|
|
8
|
+
and training, tax credits, child welfare, program management...), transfers of TANF funds to CCDF and the Social
|
|
9
|
+
Services Block Grant (SSBG), unspent (unobligated) balances, the Contingency Fund, MOE against the 80%/75% rule.
|
|
10
|
+
- TANF caseloads: families (total, two-parent, one-parent, no-parent/child-only) and recipients (total, adults,
|
|
11
|
+
children) by state and month, fiscal- and calendar-year averages; TANF alone, separate state programs (SSP-MOE)
|
|
12
|
+
or both.
|
|
13
|
+
- CCDF: child care spending by state, category (administration, quality, direct services...) and funding stream
|
|
14
|
+
(mandatory, matching, discretionary, MOE, CARES/CRRSA/ARP), by fiscal year or by grant year.
|
|
15
|
+
- Not here: federal grant awards and obligations to states as transactions (usaspending); poverty, income and
|
|
16
|
+
program participation from surveys (census, ipums); TANF as a federal budget account (omb, treasury); children
|
|
17
|
+
served by CCDF (ACF-800/801 "CCDF Data Tables", not covered by this pack).
|
|
18
|
+
|
|
19
|
+
## Endpoints and datasets
|
|
20
|
+
Nothing is fetched: `fetch` always stops with `agency_unavailable` and points to `manual_bundle`, which lists the
|
|
21
|
+
acf.gov page and workbook links (verified 2026-10-30 from Internet Archive captures, since acf.gov refuses
|
|
22
|
+
scripts), and `ingest` reads the saved .xlsx (or .xls). One CSV per request; every row has `row` (sheet row) and
|
|
23
|
+
`sheet`.
|
|
24
|
+
|
|
25
|
+
| Endpoint | Returns | Key parameters | Coverage (files verified) |
|
|
26
|
+
|---|---|---|---|
|
|
27
|
+
| `tanf_financial` | one table of the TANF & MOE Financial Data workbook | `fiscal_year`, `table` (default A.1) | FY 2014-2018, 2020-2024 (FY 2019: page only) |
|
|
28
|
+
| `tanf_caseload` | one table of a caseload workbook | `fiscal_year`, `program` (tanf, ssp, tanf_ssp), `table` (default families) | FY 2018-2025 |
|
|
29
|
+
| `ccdf_expenditures` | one table of a CCDF expenditure workbook | `fiscal_year`, `file` (all_years, grant_year), `as_of`, `table` | all_years FY 2019-2022; grant_year GY 2020-2022 as of 9/30/2022 |
|
|
30
|
+
|
|
31
|
+
For other years the manual item is the year's page (the file name changes every year); some older years publish
|
|
32
|
+
only PDF or web tables, which `ingest` cannot read.
|
|
33
|
+
|
|
34
|
+
`tanf_financial` `table` (FY 2015-2024 workbooks, same layout): `A.1` national spending by category (columns
|
|
35
|
+
Federal Funds, State MOE in TANF and Separate State Programs, All Funds, Percent of Total Funds Used); `A.2`/`A.3`
|
|
36
|
+
comparison with the prior year; `A.4` MOE by state, two years; `A.5` federal funds available (label/value);
|
|
37
|
+
`A.6` federal funds by state (awards, carryover, transfers, expenditures, unliquidated, unobligated); `B` total
|
|
38
|
+
(federal + MOE) by state, one column per category ("1. Awarded" ... "6. Basic Assistance", "6.a. ..." ...
|
|
39
|
+
"24. Total Expenditures", "27. Federal Unliquidated Obligations", "28. Unobligated Balance"); `C.1` federal only;
|
|
40
|
+
`C.2` state MOE only; `C.3` MOE against 100%/80%/75% of the requirement; a state name or USPS code (`Alabama`, `DC`)
|
|
41
|
+
for that state's A.1-style table; `E.1` by funding stream, `E.2` SFAG, `E.3` MOE in TANF, `E.4` MOE in separate
|
|
42
|
+
state programs, `E.5` Contingency Fund; `F` transitional services and Job Access (two blocks, `block` column).
|
|
43
|
+
|
|
44
|
+
`tanf_caseload` `table`: `families`, `two_parent`, `one_parent`, `no_parent`, `recipients`, `adults`, `children`
|
|
45
|
+
(one row per state, columns `2024-10` ... `2025-12`, `Average FY 2025`, `Average CY 2025`); `avg_families`,
|
|
46
|
+
`avg_recipients` (fiscal- and calendar-year averages, `block` = "Fiscal Year 2025 (October - September)" or
|
|
47
|
+
"Calendar Year ..."; FY-only files have no block); a month `2025-03` (all seven counts by state for that month).
|
|
48
|
+
|
|
49
|
+
`ccdf_expenditures` `table`: all_years `1a` (spending in the FY by fund and grant year), `2a` (unliquidated and
|
|
50
|
+
unobligated funds), `3a` (by state and category), `4a` (by state and fund, default); grant_year `1b` (by category,
|
|
51
|
+
default), `2b` (awards and TANF transfers by state), `3b` mandatory, `4b` matching, `5b` state match (FMAP), `6b`
|
|
52
|
+
discretionary, `7b`/`8b` MOE, higher numbers for CARES/CRRSA/ARP in GY 2020-2021.
|
|
53
|
+
|
|
54
|
+
State tables get a `state_code` column (USPS; `US` for "U.S. TOTAL", "U.S. Totals" and CCDF "Total").
|
|
55
|
+
|
|
56
|
+
## Spec examples
|
|
57
|
+
```json
|
|
58
|
+
{"description": "FY 2024 TANF and MOE spending: national categories and basic assistance by state",
|
|
59
|
+
"requests": [
|
|
60
|
+
{"name": "categories", "endpoint": "tanf_financial", "params": {"fiscal_year": 2024, "table": "A.1"}},
|
|
61
|
+
{"name": "by_state", "endpoint": "tanf_financial", "params": {"fiscal_year": 2024, "table": "B"}}]}
|
|
62
|
+
```
|
|
63
|
+
```json
|
|
64
|
+
{"description": "TANF families by state and month, FY 2025, and the fiscal/calendar-year averages",
|
|
65
|
+
"requests": [
|
|
66
|
+
{"name": "families", "endpoint": "tanf_caseload", "params": {"fiscal_year": 2025, "table": "families"}},
|
|
67
|
+
{"name": "averages", "endpoint": "tanf_caseload", "params": {"fiscal_year": 2025, "table": "avg_families"}}]}
|
|
68
|
+
```
|
|
69
|
+
```json
|
|
70
|
+
{"description": "CCDF spending in FY 2022 by state and funding stream",
|
|
71
|
+
"requests": [{"name": "ccdf_funds", "endpoint": "ccdf_expenditures",
|
|
72
|
+
"params": {"fiscal_year": 2022, "file": "all_years", "table": "4a"}}]}
|
|
73
|
+
```
|
|
74
|
+
Call `manual_bundle` with the spec, have the user save the workbook(s) from a browser, then `ingest`.
|
|
75
|
+
|
|
76
|
+
## Data format and traps
|
|
77
|
+
- Dollars are nominal, as reported by states, in dollars (not thousands); floats are written in their shortest
|
|
78
|
+
form (3162142819.8699999 -> 3162142819.87). "Percent of Total Funds Used" is a fraction (0.218 = 21.8%). A cell
|
|
79
|
+
holding only "-" (caseload "data inapplicable") is written empty; "N/A" stays as published.
|
|
80
|
+
- Fiscal year = federal FY (October-September). ACF revises: a workbook's prior-year column (A.2-A.4) is "as of"
|
|
81
|
+
a stated date and differs from that year's own workbook; caseload files are replaced in place with revised
|
|
82
|
+
months (FY 2024 October 2023 TANF families: 856,530 in the FY file, 854,981 in the later 15-month file). Cite the
|
|
83
|
+
file you ingested.
|
|
84
|
+
- Federal vs state: "Federal Funds" are the TANF block grant (SFAG) plus Contingency Funds; "State MOE in TANF and
|
|
85
|
+
Separate State Programs" are state funds counted toward the maintenance-of-effort requirement, including MOE
|
|
86
|
+
spent in separate state programs outside TANF. All Funds = both. C.2 (MOE) has no award, transfer or carryover
|
|
87
|
+
columns (empty).
|
|
88
|
+
- Transfers: "Transferred to CCDF Discretionary" and "Transferred to SSBG" are federal TANF funds moved to those
|
|
89
|
+
block grants; they are in TOTAL FUNDS USED but not in TOTAL EXPENDITURES (FY 2024: expenditures $35.00 billion,
|
|
90
|
+
transfers $2.52 billion, total funds used $37.52 billion). TANF money transferred to CCDF reappears in CCDF
|
|
91
|
+
discretionary spending (CCDF Table 2b "TANF Transfer"): never add the two datasets' child care amounts without
|
|
92
|
+
removing it. ACF's headline child care share (17.0% in FY 2024) counts child care spending plus the transfer to
|
|
93
|
+
CCDF ((5.006 + 1.387) / 37.516 billion); A.1's "Child Care" row alone is 13.3%. Unobligated balances are federal
|
|
94
|
+
funds left unspent (FY 2024: $7.99 billion; $9.66 billion with unliquidated obligations).
|
|
95
|
+
- Rows and columns nest: category rows are followed by their sub-rows (Basic Assistance, then Basic Assistance
|
|
96
|
+
excluding relative foster care..., then Relative Foster Care...; Early Care and Education = Child Care + Pre-K/Head
|
|
97
|
+
Start; Program Management = Administrative Costs + Assessment/Service Provision + Systems). In B/C/E, "6." and
|
|
98
|
+
"6.a."/"6.b." columns likewise. Summing all rows double counts: use the TOTAL rows or only top-level items.
|
|
99
|
+
- "Assistance" vs "non-assistance": basic assistance is ongoing cash aid; child care, work supports, short-term
|
|
100
|
+
benefits and services are mostly non-assistance; "Authorized Solely Under Prior Law" lines are pre-1996 AFDC/EA
|
|
101
|
+
uses allowed to continue. Child care appears as "Child Care (Assistance and Non-Assistance)".
|
|
102
|
+
- Categories follow the ACF-196R form from FY 2015 on (the FY 2015 and FY 2024 workbooks have the same rows,
|
|
103
|
+
verified); FY 2014 and earlier used the older ACF-196 categories (not checked by the pack): do not build one
|
|
104
|
+
series across FY 2014/2015 without mapping categories.
|
|
105
|
+
- Caseload: a family (case) is the assistance unit; recipients are people (adults + children). No-parent families
|
|
106
|
+
are mostly child-only cases (no adult in the grant), so adult recipients are far fewer than families. TANF and
|
|
107
|
+
SSP-MOE are separate files; tanf_ssp is their sum. Averages are means of monthly counts (fractional). U.S. Totals
|
|
108
|
+
include Guam, Puerto Rico and the Virgin Islands. The FY 2018, 2024 and 2025 files run 15 months (October to the
|
|
109
|
+
next December) with calendar-year averages; other years stop in September. Month columns come as Excel dates
|
|
110
|
+
or "Oct-20" and are written "2020-10".
|
|
111
|
+
- State names differ by table ("DIST.OF COLUMBIA", "District of Columbia"); join on `state_code`.
|
|
112
|
+
- CCDF: all_years = spending during a fiscal year from every open grant year (one FY of outlays); grant_year = one
|
|
113
|
+
year's award, reported as of 9/30 of the grant year and later years until spent (the GY tables change between
|
|
114
|
+
reports). Mandatory and discretionary are federal; matching has a federal and a state share (FMAP); MOE and State
|
|
115
|
+
Match are state funds. Negative amounts are adjustments (e.g. American Samoa in FY 2022). Table 3a's state totals
|
|
116
|
+
exclude ARP Stabilization grants (sheet footnote); Table 4a includes them as a column. OCC separates FY and GY
|
|
117
|
+
from FY 2018 on.
|
|
118
|
+
- Footnotes and titles under or above a table are not written; open the workbook for them.
|
|
119
|
+
|
|
120
|
+
## Access
|
|
121
|
+
No key. acf.gov (and acf.hhs.gov, which redirects there) answers every non-browser request, direct .xlsx links
|
|
122
|
+
included, with an AWS WAF JavaScript challenge (HTTP 202, empty body, header x-amzn-waf-action: challenge; verified
|
|
123
|
+
2026-10-30). The pack never tries to get around it: `fetch` stops with `agency_unavailable` before sending
|
|
124
|
+
anything and points to `manual_bundle`. Steps for the user:
|
|
125
|
+
1. Open the link in INSTRUCTIONS.md in a web browser (the workbook link, or the year's page when the pack has no
|
|
126
|
+
verified file name: TANF financial `https://acf.gov/ofa/data/tanf-financial-data-fy-<year>`, caseload
|
|
127
|
+
`https://acf.gov/ofa/data/tanf-caseload-data-<year>`, CCDF via
|
|
128
|
+
`https://acf.gov/occ/data/child-care-and-development-fund-expenditure-data-list-all-years`).
|
|
129
|
+
2. Click the XLSX link (caseload: the TANF, SSP-MOE or TANF & SSP-MOE file; the "15 Months" one when the page has
|
|
130
|
+
two; CCDF: the "all appropriation years" page or the grant-year "Tables 1b-..." page, then its XLSX).
|
|
131
|
+
3. Save the .xlsx and upload it unchanged; `ingest` picks the table named in the request. One workbook serves
|
|
132
|
+
every table of that year: requests on the same workbook need it uploaded once.
|
|
133
|
+
The download scripts in the bundle will get the empty challenge page; saving from a browser works.
|
|
134
|
+
|
|
135
|
+
## Citation and terms
|
|
136
|
+
"U.S. Department of Health and Human Services, Administration for Children and Families, <dataset> (acf.gov,
|
|
137
|
+
workbook saved from the agency's site), retrieved <date>." Name the workbook and its fiscal year. Works of the
|
|
138
|
+
U.S. government, public domain (17 U.S.C. 105): redistribution allowed.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base_url": "https://www.cms.gov",
|
|
3
|
+
"timeout": 90,
|
|
4
|
+
"endpoints": {
|
|
5
|
+
"medicare_tr_files": {
|
|
6
|
+
"path": "/data-research/statistics-trends-and-reports/trustees-report-trust-funds",
|
|
7
|
+
"description": "The tables in a Medicare Trustees Report's 'Expanded and Supplementary Tables and Figures' ZIP: one row per workbook sheet (file, sheet, title). The pack finds the year's ZIP on the CMS Trustees Report page.",
|
|
8
|
+
"params": {
|
|
9
|
+
"report_year": {"in": "spec", "desc": "report year (2022 on), default the latest on the page"}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"medicare_tr_table": {
|
|
13
|
+
"path": "/data-research/statistics-trends-and-reports/trustees-report-trust-funds",
|
|
14
|
+
"description": "One table of the Medicare Trustees Report ZIP as rows (year rows: historical then projected under the intermediate assumptions unless the table says otherwise), e.g. 'Operations of the Hospital Insurance (HI) Trust Fund', 'HI Cost and Income Rates', or a figure's data from the 'Figures' workbook (sheet = figure number such as III.B2).",
|
|
15
|
+
"params": {
|
|
16
|
+
"report_year": {"in": "spec", "desc": "report year (2022 on), default the latest on the page"},
|
|
17
|
+
"table": {"in": "spec", "required": true, "desc": "file name in the ZIP without .xlsx, or a unique part of it ('HI Cost and Income Rates', 'Figures'); list them with medicare_tr_files"},
|
|
18
|
+
"sheet": {"in": "spec", "desc": "sheet name or 1-based number; default the first sheet that is not 'Notes' (the Figures workbook: a figure number such as 'III.B2'; 'Notes' gives the table's notes)"},
|
|
19
|
+
"header_row": {"in": "spec", "desc": "1-based row(s) holding the column names, e.g. 2 or [5, 6]; default: detected"},
|
|
20
|
+
"layout": {"in": "spec", "enum": ["wide", "long"], "desc": "wide (as published, default) or long (one row per year column and row label; only for tables with years as columns)"}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"nhe_files": {
|
|
24
|
+
"path": "/data-research/statistics-trends-and-reports/national-health-expenditure-data/historical",
|
|
25
|
+
"description": "The tables in one National Health Expenditure (NHE) download: one row per file and sheet (file, sheet, title).",
|
|
26
|
+
"params": {
|
|
27
|
+
"file": {"in": "spec", "required": true, "enum": ["tables", "summary", "service_funds", "projections_tables", "projections_data"], "desc": "which NHE download (see source.md)"}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"nhe_table": {
|
|
31
|
+
"path": "/data-research/statistics-trends-and-reports/national-health-expenditure-data/historical",
|
|
32
|
+
"description": "One NHE table as rows: the historical summary with share of GDP, spending by type of service and source of funds (CY 1960 to the latest year), the NHE Tables, the projections tables, or the historical-and-projected data file. Years are columns (layout long melts them).",
|
|
33
|
+
"params": {
|
|
34
|
+
"file": {"in": "spec", "required": true, "enum": ["tables", "summary", "service_funds", "projections_tables", "projections_data"], "desc": "which NHE download (see source.md)"},
|
|
35
|
+
"table": {"in": "spec", "desc": "file name in the ZIP without extension, or a unique part of it ('Table 03', 'Table03'); not needed when the ZIP holds one table"},
|
|
36
|
+
"sheet": {"in": "spec", "desc": "sheet name or 1-based number; default the first sheet"},
|
|
37
|
+
"header_row": {"in": "spec", "desc": "1-based row(s) holding the column names; default: detected"},
|
|
38
|
+
"layout": {"in": "spec", "enum": ["wide", "long"], "desc": "wide (as published, default) or long (one row per label and year)"}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"ssa_tr_table": {
|
|
42
|
+
"path": "https://www.ssa.gov/oact/TR/{report_year}/lrIndex.html",
|
|
43
|
+
"description": "One single-year table of the Social Security (OASDI) Trustees Report (sheet of SingleYearTRTables_TR<year>.xlsx, e.g. IV.B1 income and cost rates, V.A3 population, VI.G2 trust fund operations), with one row per year and alternative (historical, intermediate, low-cost, high-cost). www.ssa.gov refuses scripts: always the manual route (download in a browser, then --ingest).",
|
|
44
|
+
"params": {
|
|
45
|
+
"report_year": {"in": "spec", "desc": "report year, default the latest known to the pack (ssa_latest_known)"},
|
|
46
|
+
"table": {"in": "spec", "required": true, "desc": "table number = sheet name, e.g. 'IV.B1', 'V.A3', 'VI.G2'"},
|
|
47
|
+
"header_row": {"in": "spec", "desc": "1-based row(s) holding the column names; default: detected"}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"pages": {
|
|
52
|
+
"medicare": "/data-research/statistics-trends-and-reports/trustees-report-trust-funds",
|
|
53
|
+
"historical": "/data-research/statistics-trends-and-reports/national-health-expenditure-data/historical",
|
|
54
|
+
"projected": "/data-research/statistics-trends-and-reports/national-health-expenditure-data/projected"
|
|
55
|
+
},
|
|
56
|
+
"medicare_link": "^(\\d{4}) Expanded (?:and )?Supplementary Tables (?:and )?Figures \\(ZIP\\)$",
|
|
57
|
+
"medicare_known": {
|
|
58
|
+
"2026": "/files/zip/2026-expanded-supplementary-tables-figures.zip",
|
|
59
|
+
"2025": "/files/zip/2025-expanded-and-supplementary-tables-and-figures.zip",
|
|
60
|
+
"2024": "/files/zip/2024-expanded-and-supplementary-tables-and-figures.zip",
|
|
61
|
+
"2023": "/files/zip/2023-expanded-and-supplementary-tables-and-figures.zip",
|
|
62
|
+
"2022": "/files/zip/2022-expanded-and-supplementary-tables-and-figures.zip"
|
|
63
|
+
},
|
|
64
|
+
"nhe_downloads": {
|
|
65
|
+
"tables": {"page": "historical", "link": "^NHE Tables \\(ZIP\\)$", "known": "/files/zip/nhe-tables.zip",
|
|
66
|
+
"what": "NHE Tables 1-25 (historical, one .xlsx per table)"},
|
|
67
|
+
"summary": {"page": "historical", "link": "^NHE Summary,? including share of GDP,? CY \\d{4}-\\d{4} \\(ZIP\\)$",
|
|
68
|
+
"known": "/files/zip/nhe-summary-including-share-gdp-cy-1960-2024.zip",
|
|
69
|
+
"what": "NHE summary including share of GDP, CY 1960 to the latest year (CSV)"},
|
|
70
|
+
"service_funds": {"page": "historical", "link": "^National Health Expenditures by type of service and source of funds,? CY \\d{4}-\\d{4} \\(ZIP\\)$",
|
|
71
|
+
"known": "/files/zip/national-health-expenditures-type-service-source-funds-cy-1960-2024.zip",
|
|
72
|
+
"what": "National health expenditures by type of service and source of funds, CY 1960 to the latest year (CSV)"},
|
|
73
|
+
"projections_tables": {"page": "projected", "link": "^NHE Projections - Tables \\(ZIP\\)$", "known": "/files/zip/nhe-projections-tables.zip",
|
|
74
|
+
"what": "NHE projections tables 1-18 (one .xlsx per table)"},
|
|
75
|
+
"projections_data": {"page": "projected", "link": "^NHE Historical and Projections - Data \\(ZIP\\)$",
|
|
76
|
+
"known": "/files/zip/nhe-historical-projections-data.zip",
|
|
77
|
+
"what": "NHE by type of service and source of funds, historical and projected years (CSV)"}
|
|
78
|
+
},
|
|
79
|
+
"ssa_latest_known": 2026,
|
|
80
|
+
"ssa_workbook": "https://www.ssa.gov/oact/TR/{year}/SingleYearTRTables_TR{year}.xlsx",
|
|
81
|
+
"ssa_index": "https://www.ssa.gov/oact/TR/{year}/lrIndex.html"
|
|
82
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "actuaries",
|
|
3
|
+
"title": "Social Security and Medicare Trustees Reports and National Health Expenditure data (SSA and CMS actuaries)",
|
|
4
|
+
"agency": "Social Security Administration and Centers for Medicare & Medicaid Services, Offices of the Chief Actuary",
|
|
5
|
+
"depth": "standard",
|
|
6
|
+
"domains": [
|
|
7
|
+
"social security",
|
|
8
|
+
"medicare",
|
|
9
|
+
"health spending",
|
|
10
|
+
"entitlement programs",
|
|
11
|
+
"long-term fiscal outlook"
|
|
12
|
+
],
|
|
13
|
+
"keywords": [
|
|
14
|
+
"social security trust fund",
|
|
15
|
+
"oasdi",
|
|
16
|
+
"oasi",
|
|
17
|
+
"di trust fund",
|
|
18
|
+
"medicare trust fund",
|
|
19
|
+
"hospital insurance",
|
|
20
|
+
"hi trust fund",
|
|
21
|
+
"smi",
|
|
22
|
+
"supplementary medical insurance",
|
|
23
|
+
"part b",
|
|
24
|
+
"part d",
|
|
25
|
+
"trustees report",
|
|
26
|
+
"depletion date",
|
|
27
|
+
"trust fund depletion",
|
|
28
|
+
"insolvency",
|
|
29
|
+
"actuarial balance",
|
|
30
|
+
"cost rate",
|
|
31
|
+
"income rate",
|
|
32
|
+
"taxable payroll",
|
|
33
|
+
"trust fund ratio",
|
|
34
|
+
"workers per beneficiary",
|
|
35
|
+
"national health expenditure",
|
|
36
|
+
"nhe",
|
|
37
|
+
"health spending",
|
|
38
|
+
"health spending projections",
|
|
39
|
+
"nhe share of gdp",
|
|
40
|
+
"health spending by payer",
|
|
41
|
+
"out-of-pocket spending",
|
|
42
|
+
"chief actuary"
|
|
43
|
+
],
|
|
44
|
+
"questions": [
|
|
45
|
+
"when the Medicare HI trust fund is projected to be depleted",
|
|
46
|
+
"Social Security trust fund reserves and cost rates under the intermediate assumptions",
|
|
47
|
+
"Medicare spending as a share of GDP in the Trustees Report projections",
|
|
48
|
+
"national health expenditures as a share of GDP since 1960",
|
|
49
|
+
"health spending by source of funds (Medicare, Medicaid, private insurance, out of pocket)",
|
|
50
|
+
"projected national health spending growth over the next decade"
|
|
51
|
+
],
|
|
52
|
+
"homepage": "https://www.cms.gov/data-research/statistics-trends-and-reports/trustees-report-trust-funds",
|
|
53
|
+
"terms_url": "https://www.cms.gov/about-cms/web-policies-important-links/web-policies",
|
|
54
|
+
"auth": {
|
|
55
|
+
"env": null,
|
|
56
|
+
"required": "none",
|
|
57
|
+
"placement": "none",
|
|
58
|
+
"param": null,
|
|
59
|
+
"prefix": "",
|
|
60
|
+
"home": null,
|
|
61
|
+
"signup_url": null,
|
|
62
|
+
"echoes_key": false,
|
|
63
|
+
"key_only": []
|
|
64
|
+
},
|
|
65
|
+
"limits": {
|
|
66
|
+
"rps": 1,
|
|
67
|
+
"burst": 3,
|
|
68
|
+
"daily_quota": null,
|
|
69
|
+
"max_rows": 100000
|
|
70
|
+
},
|
|
71
|
+
"routes": {
|
|
72
|
+
"api": {
|
|
73
|
+
"base": "https://www.cms.gov",
|
|
74
|
+
"probe": "https://www.cms.gov/robots.txt",
|
|
75
|
+
"hosts": [
|
|
76
|
+
"www.cms.gov"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"manual": {
|
|
80
|
+
"browser_hosts": [
|
|
81
|
+
"www.ssa.gov"
|
|
82
|
+
],
|
|
83
|
+
"how": "CMS (Medicare Trustees Report and NHE): open https://www.cms.gov/data-research/statistics-trends-and-reports/trustees-report-trust-funds (the '<year> Expanded and Supplementary Tables and Figures (ZIP)' link) or the NHE pages https://www.cms.gov/data-research/statistics-trends-and-reports/national-health-expenditure-data/historical and .../projected, download the ZIP named in INSTRUCTIONS.md and upload it as downloaded. Social Security (always this route: www.ssa.gov refuses scripts with HTTP 403): in a web browser open https://www.ssa.gov/oact/TR/<year>/lrIndex.html, click the 'Excel' link of the single-year tables (SingleYearTRTables_TR<year>.xlsx, one sheet per table such as IV.B1 or V.A3), save it and upload the .xlsx; ingest reads the sheet named in the request."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"cache": {
|
|
87
|
+
"mode": "run_only",
|
|
88
|
+
"ttl_hours": null,
|
|
89
|
+
"why": "Small published files; the reports are revised once a year, so data/ is reused only within a run."
|
|
90
|
+
},
|
|
91
|
+
"redistribution": {
|
|
92
|
+
"mode": "allowed",
|
|
93
|
+
"why": "The Trustees Reports, their tables and the National Health Expenditure Accounts are works of U.S. government agencies (SSA and CMS Offices of the Chief Actuary), in the public domain (17 U.S.C. 105)."
|
|
94
|
+
},
|
|
95
|
+
"notices": [],
|
|
96
|
+
"retention": null,
|
|
97
|
+
"citation": "Social Security Administration and Centers for Medicare & Medicaid Services, Offices of the Chief Actuary, {dataset} (Trustees Report tables and National Health Expenditure data, ssa.gov/oact and cms.gov), retrieved {retrieved_long}.",
|
|
98
|
+
"audit_hooks": [],
|
|
99
|
+
"clarify": [
|
|
100
|
+
"Which report year? Each Trustees Report (released in spring or summer) replaces the previous projections; the default is the latest. NHE historical data are revised each December and projections come out mid-year, so the latest data years differ.",
|
|
101
|
+
"Which assumptions? The Trustees' intermediate assumptions are the central projection; low-cost and high-cost are alternatives (and Medicare also publishes an illustrative alternative scenario). The default is intermediate.",
|
|
102
|
+
"Which units: nominal dollars, constant dollars, percent of GDP or percent of taxable payroll? The tables publish each separately; the default is the measure the question names, else percent of GDP for long-range comparisons."
|
|
103
|
+
],
|
|
104
|
+
"formats": [
|
|
105
|
+
"xlsx",
|
|
106
|
+
"csv",
|
|
107
|
+
"zip"
|
|
108
|
+
]
|
|
109
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Social Security and Medicare Trustees Reports and National Health Expenditure data (SSA and CMS actuaries)
|
|
2
|
+
Depth: standard. Key: none. The published tables of the Medicare Trustees Report and the National Health
|
|
3
|
+
Expenditure Accounts (CMS Office of the Actuary, fetched from www.cms.gov), and the single-year tables of the
|
|
4
|
+
Social Security (OASDI) Trustees Report (SSA Office of the Chief Actuary, manual route only: www.ssa.gov refuses
|
|
5
|
+
scripts).
|
|
6
|
+
|
|
7
|
+
## When to use
|
|
8
|
+
- Trust fund outlooks: Medicare HI (Part A) and SMI (Parts B and D) income, cost, reserves and depletion; Social
|
|
9
|
+
Security OASI, DI and combined OASDI income and cost rates, reserves, trust fund ratios, covered workers per
|
|
10
|
+
beneficiary, and the demographic and economic assumptions behind them (fertility, mortality, immigration,
|
|
11
|
+
population, wages, CPI, interest rates); Medicare spending as a share of GDP over 75 years.
|
|
12
|
+
- National health spending: total and per capita national health expenditures (NHE) and their share of GDP since
|
|
13
|
+
1960; spending by type of service (hospital, physician, drugs...) and by source of funds (out of pocket, private
|
|
14
|
+
insurance, Medicare, Medicaid, other); spending by sponsor (households, business, governments); the 10-year
|
|
15
|
+
NHE projections.
|
|
16
|
+
- Not here: Medicare claims, enrollment and provider data (cms pack, data.cms.gov); federal outlays for Medicare
|
|
17
|
+
and Social Security as budget accounts (treasury pack: Monthly Treasury Statement); health insurance coverage
|
|
18
|
+
from surveys (census). NHE is national spending by all payers, not federal spending.
|
|
19
|
+
|
|
20
|
+
## Endpoints and datasets
|
|
21
|
+
CMS pages read by the pack (verified 2026-10-30): the Trustees Report & Trust Funds page (links "<year> Expanded
|
|
22
|
+
and Supplementary Tables and Figures (ZIP)" for 2022-2026) and the NHE historical and projected pages. The pack
|
|
23
|
+
reads the link from the page, downloads the ZIP and reads one table. One CSV per request.
|
|
24
|
+
|
|
25
|
+
| Endpoint | Returns | Key parameters | Coverage |
|
|
26
|
+
|---|---|---|---|
|
|
27
|
+
| `medicare_tr_files` | one row per workbook sheet of a Medicare Trustees Report ZIP: `table`, `sheet`, `title`, `format` | `report_year` (default latest) | 2022-2026 reports |
|
|
28
|
+
| `medicare_tr_table` | one table, one row per year | `table` (file name or a unique part of it), `sheet`, `report_year`, `header_row`, `layout` | history from 1966/1967, projections to 2035 (short range) or 2100 (long range) |
|
|
29
|
+
| `nhe_files` | the tables of one NHE download | `file` | latest release only |
|
|
30
|
+
| `nhe_table` | one NHE table, years as columns | `file`, `table` (not needed when the ZIP holds one), `sheet`, `header_row`, `layout` | see below |
|
|
31
|
+
| `ssa_tr_table` | one OASDI single-year table (sheet of SingleYearTRTables_TR<year>.xlsx), one row per year and alternative | `table` (IV.B1, V.A3, VI.G2...), `report_year` (default 2026) | 1940s/1970-2100 |
|
|
32
|
+
|
|
33
|
+
Medicare ZIP tables (2026, `table` names): Operations of the Hospital Insurance (HI) Trust Fund For Calendar Years;
|
|
34
|
+
Operations of the Supplementary Medical Insurance (SMI) Trust Fund / of the Part B Account / of the Part D
|
|
35
|
+
Account; Total Medicare Income, Expenditures and Trust Fund Assets; HI Cost and Income Rates; Ratio of Assets at the
|
|
36
|
+
Beginning of the Year to Expenditures During the Year for the HI Trust Fund; HI and SMI Incurred Expenditures as a
|
|
37
|
+
Percentage of the Gross Domestic Product (and "... under IAS", the illustrative alternative scenario); Medicare
|
|
38
|
+
Sources of Non-Interest Income as a Percentage of ...; Medicare Enrollment by Part and in Total; HI and SMI
|
|
39
|
+
Average per Beneficiary Costs; Ratio of HI Covered Workers to HI Beneficiaries; Ratio of HI Taxable Payroll to GDP;
|
|
40
|
+
HI / SMI Cost-sharing and Premium Amounts; Components of ... HI Inpatient Hospital Payments; Relationship between
|
|
41
|
+
Increases in HI Expenditures and Increases in Taxable Payroll. Each has a `Notes` sheet (`"sheet": "Notes"`).
|
|
42
|
+
`"table": "Figures"` is the figures workbook: `sheet` is the figure number (II.D1, III.B2, V.B1 ...).
|
|
43
|
+
|
|
44
|
+
NHE `file` values: `summary` (NHE summary including share of GDP, CY 1960-2024, CSV), `service_funds` (NHE by type
|
|
45
|
+
of service and source of funds, CY 1960-2024, CSV, amounts in millions), `tables` (NHE Tables 01-25, e.g. "Table 01"
|
|
46
|
+
aggregate and per capita, "Table 03" by source of funds, "Table 05" by sponsor), `projections_tables` (Table01-Table18,
|
|
47
|
+
2013-2034, e.g. "Table01" NHE and economic indicators, "Table03" by source of funds), `projections_data` (by type of
|
|
48
|
+
service and source of funds, 1960-2034, columns "2024 Historical", "2025 Projected"...).
|
|
49
|
+
|
|
50
|
+
SSA single-year tables (2026 workbook sheets): IV.B1-IV.B3 income rates, cost rates and balances (percent of taxable
|
|
51
|
+
payroll, of GDP); IV.B4 covered workers and beneficiaries; IV.B5 trust fund ratios; V.A1-V.A5 fertility, mortality,
|
|
52
|
+
immigration, population (V.A3), period and cohort life expectancy; V.B1-V.B2 economic assumptions; V.C4-V.C5 OASI
|
|
53
|
+
and DI beneficiaries; V.C7 scheduled benefit amounts; VI.G1 economic variables (GDP, taxable payroll); VI.G2-VI.G5
|
|
54
|
+
trust fund operations in current dollars and in CPI-indexed 2026 dollars.
|
|
55
|
+
|
|
56
|
+
## Spec examples
|
|
57
|
+
```json
|
|
58
|
+
{"description": "2026 Medicare Trustees Report: HI trust fund operations and Medicare spending as a share of GDP",
|
|
59
|
+
"requests": [
|
|
60
|
+
{"name": "hi_ops", "endpoint": "medicare_tr_table", "params": {"report_year": 2026, "table": "Operations of the Hospital Insurance (HI) Trust Fund"}},
|
|
61
|
+
{"name": "medicare_gdp", "endpoint": "medicare_tr_table", "params": {"report_year": 2026, "table": "HI and SMI Incurred Expenditures as a Percentage of the Gross Domestic Product"}},
|
|
62
|
+
{"name": "tables", "endpoint": "medicare_tr_files", "params": {"report_year": 2026}}]}
|
|
63
|
+
```
|
|
64
|
+
```json
|
|
65
|
+
{"description": "National health expenditures 1960-2024 and projections to 2034",
|
|
66
|
+
"requests": [
|
|
67
|
+
{"name": "nhe_summary", "endpoint": "nhe_table", "params": {"file": "summary", "layout": "long"}},
|
|
68
|
+
{"name": "nhe_by_payer", "endpoint": "nhe_table", "params": {"file": "service_funds"}},
|
|
69
|
+
{"name": "nhe_projected", "endpoint": "nhe_table", "params": {"file": "projections_tables", "table": "Table01"}}]}
|
|
70
|
+
```
|
|
71
|
+
```json
|
|
72
|
+
{"description": "2026 OASDI Trustees Report: combined trust fund operations and population",
|
|
73
|
+
"requests": [
|
|
74
|
+
{"name": "oasdi_ops", "endpoint": "ssa_tr_table", "params": {"report_year": 2026, "table": "VI.G2"}},
|
|
75
|
+
{"name": "population", "endpoint": "ssa_tr_table", "params": {"report_year": 2026, "table": "V.A3"}}]}
|
|
76
|
+
```
|
|
77
|
+
Keep SSA requests in their own spec: `fetch` refuses a spec with any SSA request as a whole (the CMS requests in it
|
|
78
|
+
can be fetched in their own spec).
|
|
79
|
+
|
|
80
|
+
## Data format and traps
|
|
81
|
+
- How tables are read: title lines and footnotes go to the fetch notes; the column names join the header rows
|
|
82
|
+
(merged cells spread over their columns), so they keep the published footnote markers ("OASI Cost ratec",
|
|
83
|
+
"Balance at end of year (see note 21) (Trust Fund)"). A label row inside the data ("Intermediate:",
|
|
84
|
+
"Amount in Billions", "Year 2024 Amount in Billions") becomes `section`; `row` is the sheet row. An indented
|
|
85
|
+
label column gets `indent` (spaces as published), `group` (nearest unindented row above) and `parent` (nearest
|
|
86
|
+
row above with less indent). `parent` is derived from the published indentation, which is not always consistent
|
|
87
|
+
(NHE Table 1 indents "Government Administration..." less than its siblings): check it against the table. When
|
|
88
|
+
detection fails, pass `header_row` (1-based, or a list). NHE historical Table 04 stacks one block per year:
|
|
89
|
+
`section` names the year.
|
|
90
|
+
- Values are as published, except: a cell holding only a dash ("not applicable", e.g. Medicare before July 1966,
|
|
91
|
+
Part D before 2004) is empty; CSV "$" and thousands separators are dropped ("5,278.60" -> 5278.60); Excel floats
|
|
92
|
+
are written with Excel's 15 significant digits (74.099999999999994 -> 74.1); a cell stored as a percent-format
|
|
93
|
+
fraction is written as displayed (0.371 shown as 37.1% -> 37.1; the note gives the count). SSA cells holding a
|
|
94
|
+
footnote letter instead of a number stay as published: "b" in IV.B5 = reserves depleted at the start of the year,
|
|
95
|
+
"e" in IV.B1 = between -0.005 and 0.005. SSA years can carry footnote letters ("2033b"): use the `year` column.
|
|
96
|
+
The Figures workbook holds chart data at full precision, some as fractions (II.F1, III.B3) and some as percents:
|
|
97
|
+
read the figure title for the unit.
|
|
98
|
+
- Assumptions: SSA tables stack Historical data, Intermediate, Low-cost and High-cost blocks (`section`); the
|
|
99
|
+
intermediate assumptions are the Trustees' central projection. Medicare tables show historical years then the
|
|
100
|
+
intermediate projection; Medicare's illustrative alternative scenario (IAS) is a separate table, not a forecast.
|
|
101
|
+
- Units differ by table: nominal (current) dollars, CPI-indexed constant dollars (VI.G4, VI.G5), percent of GDP,
|
|
102
|
+
percent of taxable payroll (cost and income rates). Medicare operations tables are in millions on a cash basis;
|
|
103
|
+
SSA VI.G2 is in billions. NHE `service_funds` is in millions, `summary` and the tables in billions. Never mix
|
|
104
|
+
them without converting.
|
|
105
|
+
- Years: Trustees Report tables are calendar years. The report year is not the data year: the 2026 Medicare
|
|
106
|
+
report has actual data through 2025, projections from 2026. NHE historical data come out once a year around the
|
|
107
|
+
turn of the year and revise earlier years (the historical page was last modified 2026-01-14, data through 2024;
|
|
108
|
+
comprehensive benchmark revisions every five years, 2024 the latest); projections come out mid-year (the
|
|
109
|
+
projected page was last modified 2026-06-24: projections 2025-2034 from the 2024 base). A new release replaces
|
|
110
|
+
the files under the same names: say which release was used.
|
|
111
|
+
- Depletion dates are per fund. From the 2026 report files (read 2026-10-30): HI reserves become depleted in 2033
|
|
112
|
+
(Operations of the HI Trust Fund, note 21; the year-end 2033 balance is negative and hypothetical); OASI in 2032
|
|
113
|
+
and combined OASDI in 2034, with DI not depleted within the 75-year period (SSA IV.B5; VI.G2 footnote b: combined
|
|
114
|
+
2034, 2048, 2032 under intermediate, low-cost, high-cost). Combined OASDI is a hypothetical fund. Values after
|
|
115
|
+
depletion are not payable benefits: SSA stops the series ("not shown"), Medicare shows negative balances.
|
|
116
|
+
- NHE covers all payers (households, employers, all governments); it is not federal spending and not Medicare
|
|
117
|
+
outlays in the budget sense. Health consumption expenditures exclude investment (research, structures).
|
|
118
|
+
- Coverage of the pack: only the latest NHE release (the CMS file names have no year); Medicare ZIPs for the 2022-2026
|
|
119
|
+
reports (older reports are PDFs). SSA two-block tables (IV.B5 with its text block on depletion years) read with
|
|
120
|
+
some header rows as `section`: check the columns.
|
|
121
|
+
|
|
122
|
+
## Access
|
|
123
|
+
CMS: no key, the host answers scripts (verified 2026-10-30); `fetch` downloads it, one request per second. If a CMS
|
|
124
|
+
page changes so the link is not found, the fetch says so; download the ZIP by hand (`manual_bundle`) and upload it.
|
|
125
|
+
SSA: www.ssa.gov answers every script (urllib, curl) with HTTP 403 "Access Denied" (Akamai bot filter, verified
|
|
126
|
+
2026-10-30), so `ssa_tr_table` never fetches: `fetch` stops with `agency_unavailable` before sending anything and
|
|
127
|
+
points to `manual_bundle`. The user opens https://www.ssa.gov/oact/TR/2026/lrIndex.html in a web browser, clicks
|
|
128
|
+
the "Excel" link of the single-year tables (SingleYearTRTables_TR2026.xlsx, about 400 KB, every sheet in one
|
|
129
|
+
file), saves it and uploads it; `ingest` reads the sheet named by `table`. Other report tables (e.g. the
|
|
130
|
+
long-range actuarial balance in section IV.B) are on the report pages https://www.ssa.gov/oact/TR/2026/ (HTML, not
|
|
131
|
+
read by the pack). Manual route for CMS: the `manual_bundle` links the ZIP named on the page; upload it as downloaded.
|
|
132
|
+
|
|
133
|
+
## Citation and terms
|
|
134
|
+
Social Security Administration and Centers for Medicare & Medicaid Services, Offices of the Chief Actuary, <spec
|
|
135
|
+
description> (Trustees Report tables and National Health Expenditure data, ssa.gov/oact and cms.gov), retrieved
|
|
136
|
+
<date>. Name the report year (e.g. "2026 Medicare Trustees Report", "2026 OASDI Trustees Report") and the NHE
|
|
137
|
+
release in the text. Public domain (U.S. government works, 17 U.S.C. 105): redistribution allowed.
|