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.
Files changed (640) hide show
  1. package/README.md +261 -2
  2. package/dist/adapters/_acf_tidy.d.ts +18 -0
  3. package/dist/adapters/_acf_tidy.js +432 -0
  4. package/dist/adapters/_acf_tidy.js.map +1 -0
  5. package/dist/adapters/_actuaries_read.d.ts +38 -0
  6. package/dist/adapters/_actuaries_read.js +728 -0
  7. package/dist/adapters/_actuaries_read.js.map +1 -0
  8. package/dist/adapters/_census_micro.d.ts +70 -0
  9. package/dist/adapters/_census_micro.js +622 -0
  10. package/dist/adapters/_census_micro.js.map +1 -0
  11. package/dist/adapters/_census_util.d.ts +40 -0
  12. package/dist/adapters/_census_util.js +275 -0
  13. package/dist/adapters/_census_util.js.map +1 -0
  14. package/dist/adapters/_dol_states.d.ts +6 -0
  15. package/dist/adapters/_dol_states.js +58 -0
  16. package/dist/adapters/_dol_states.js.map +1 -0
  17. package/dist/adapters/_govinfo_entities.d.ts +4 -0
  18. package/dist/adapters/_govinfo_entities.js +6 -0
  19. package/dist/adapters/_govinfo_entities.js.map +1 -0
  20. package/dist/adapters/_govinfo_json.d.ts +13 -0
  21. package/dist/adapters/_govinfo_json.js +107 -0
  22. package/dist/adapters/_govinfo_json.js.map +1 -0
  23. package/dist/adapters/_govinfo_py.d.ts +22 -0
  24. package/dist/adapters/_govinfo_py.js +272 -0
  25. package/dist/adapters/_govinfo_py.js.map +1 -0
  26. package/dist/adapters/_govinfo_xml.d.ts +22 -0
  27. package/dist/adapters/_govinfo_xml.js +233 -0
  28. package/dist/adapters/_govinfo_xml.js.map +1 -0
  29. package/dist/adapters/_hud_excel.d.ts +2 -0
  30. package/dist/adapters/_hud_excel.js +166 -0
  31. package/dist/adapters/_hud_excel.js.map +1 -0
  32. package/dist/adapters/_omb_grid.d.ts +17 -0
  33. package/dist/adapters/_omb_grid.js +132 -0
  34. package/dist/adapters/_omb_grid.js.map +1 -0
  35. package/dist/adapters/_omb_util.d.ts +40 -0
  36. package/dist/adapters/_omb_util.js +192 -0
  37. package/dist/adapters/_omb_util.js.map +1 -0
  38. package/dist/adapters/_usaspending_state.d.ts +6 -0
  39. package/dist/adapters/_usaspending_state.js +54 -0
  40. package/dist/adapters/_usaspending_state.js.map +1 -0
  41. package/dist/adapters/_usda-fna_book.d.ts +59 -0
  42. package/dist/adapters/_usda-fna_book.js +869 -0
  43. package/dist/adapters/_usda-fna_book.js.map +1 -0
  44. package/dist/adapters/_usda-fna_pdf.d.ts +20 -0
  45. package/dist/adapters/_usda-fna_pdf.js +361 -0
  46. package/dist/adapters/_usda-fna_pdf.js.map +1 -0
  47. package/dist/adapters/_usda-outlook_read.d.ts +70 -0
  48. package/dist/adapters/_usda-outlook_read.js +362 -0
  49. package/dist/adapters/_usda-outlook_read.js.map +1 -0
  50. package/dist/adapters/acf.d.ts +3 -0
  51. package/dist/adapters/acf.js +187 -0
  52. package/dist/adapters/acf.js.map +1 -0
  53. package/dist/adapters/actuaries.d.ts +3 -0
  54. package/dist/adapters/actuaries.js +293 -0
  55. package/dist/adapters/actuaries.js.map +1 -0
  56. package/dist/adapters/bts.d.ts +3 -0
  57. package/dist/adapters/bts.js +26 -0
  58. package/dist/adapters/bts.js.map +1 -0
  59. package/dist/adapters/census-geocoder.d.ts +10 -0
  60. package/dist/adapters/census-geocoder.js +47 -0
  61. package/dist/adapters/census-geocoder.js.map +1 -0
  62. package/dist/adapters/census.d.ts +17 -0
  63. package/dist/adapters/census.js +983 -0
  64. package/dist/adapters/census.js.map +1 -0
  65. package/dist/adapters/cfpb.d.ts +7 -0
  66. package/dist/adapters/cfpb.js +348 -0
  67. package/dist/adapters/cfpb.js.map +1 -0
  68. package/dist/adapters/clinical-trials.d.ts +3 -0
  69. package/dist/adapters/clinical-trials.js +135 -0
  70. package/dist/adapters/clinical-trials.js.map +1 -0
  71. package/dist/adapters/cms.d.ts +3 -0
  72. package/dist/adapters/cms.js +292 -0
  73. package/dist/adapters/cms.js.map +1 -0
  74. package/dist/adapters/college-scorecard.d.ts +3 -0
  75. package/dist/adapters/college-scorecard.js +122 -0
  76. package/dist/adapters/college-scorecard.js.map +1 -0
  77. package/dist/adapters/congress.d.ts +33 -0
  78. package/dist/adapters/congress.js +589 -0
  79. package/dist/adapters/congress.js.map +1 -0
  80. package/dist/adapters/dhs-ohss.d.ts +13 -0
  81. package/dist/adapters/dhs-ohss.js +598 -0
  82. package/dist/adapters/dhs-ohss.js.map +1 -0
  83. package/dist/adapters/doj-news.d.ts +7 -0
  84. package/dist/adapters/doj-news.js +286 -0
  85. package/dist/adapters/doj-news.js.map +1 -0
  86. package/dist/adapters/dol.d.ts +4 -0
  87. package/dist/adapters/dol.js +634 -0
  88. package/dist/adapters/dol.js.map +1 -0
  89. package/dist/adapters/eia.d.ts +15 -0
  90. package/dist/adapters/eia.js +456 -0
  91. package/dist/adapters/eia.js.map +1 -0
  92. package/dist/adapters/epa-aqs.d.ts +3 -0
  93. package/dist/adapters/epa-aqs.js +357 -0
  94. package/dist/adapters/epa-aqs.js.map +1 -0
  95. package/dist/adapters/epa.d.ts +3 -0
  96. package/dist/adapters/epa.js +298 -0
  97. package/dist/adapters/epa.js.map +1 -0
  98. package/dist/adapters/fbi.d.ts +3 -0
  99. package/dist/adapters/fbi.js +192 -0
  100. package/dist/adapters/fbi.js.map +1 -0
  101. package/dist/adapters/fda.d.ts +5 -0
  102. package/dist/adapters/fda.js +184 -0
  103. package/dist/adapters/fda.js.map +1 -0
  104. package/dist/adapters/fdic.d.ts +4 -0
  105. package/dist/adapters/fdic.js +95 -0
  106. package/dist/adapters/fdic.js.map +1 -0
  107. package/dist/adapters/fec.d.ts +3 -0
  108. package/dist/adapters/fec.js +142 -0
  109. package/dist/adapters/fec.js.map +1 -0
  110. package/dist/adapters/fed-board.d.ts +12 -0
  111. package/dist/adapters/fed-board.js +581 -0
  112. package/dist/adapters/fed-board.js.map +1 -0
  113. package/dist/adapters/federal-register.d.ts +11 -0
  114. package/dist/adapters/federal-register.js +43 -0
  115. package/dist/adapters/federal-register.js.map +1 -0
  116. package/dist/adapters/fhfa.d.ts +3 -0
  117. package/dist/adapters/fhfa.js +253 -0
  118. package/dist/adapters/fhfa.js.map +1 -0
  119. package/dist/adapters/fsa.d.ts +9 -0
  120. package/dist/adapters/fsa.js +335 -0
  121. package/dist/adapters/fsa.js.map +1 -0
  122. package/dist/adapters/govinfo.d.ts +30 -0
  123. package/dist/adapters/govinfo.js +636 -0
  124. package/dist/adapters/govinfo.js.map +1 -0
  125. package/dist/adapters/gsa-calc.d.ts +10 -0
  126. package/dist/adapters/gsa-calc.js +318 -0
  127. package/dist/adapters/gsa-calc.js.map +1 -0
  128. package/dist/adapters/hud.d.ts +3 -0
  129. package/dist/adapters/hud.js +200 -0
  130. package/dist/adapters/hud.js.map +1 -0
  131. package/dist/adapters/index.d.ts +3 -0
  132. package/dist/adapters/index.js +25 -0
  133. package/dist/adapters/index.js.map +1 -0
  134. package/dist/adapters/irs-soi.d.ts +6 -0
  135. package/dist/adapters/irs-soi.js +576 -0
  136. package/dist/adapters/irs-soi.js.map +1 -0
  137. package/dist/adapters/naep.d.ts +15 -0
  138. package/dist/adapters/naep.js +341 -0
  139. package/dist/adapters/naep.js.map +1 -0
  140. package/dist/adapters/nhtsa.d.ts +10 -0
  141. package/dist/adapters/nhtsa.js +239 -0
  142. package/dist/adapters/nhtsa.js.map +1 -0
  143. package/dist/adapters/nih.d.ts +5 -0
  144. package/dist/adapters/nih.js +196 -0
  145. package/dist/adapters/nih.js.map +1 -0
  146. package/dist/adapters/noaa.d.ts +3 -0
  147. package/dist/adapters/noaa.js +148 -0
  148. package/dist/adapters/noaa.js.map +1 -0
  149. package/dist/adapters/nrel.d.ts +3 -0
  150. package/dist/adapters/nrel.js +186 -0
  151. package/dist/adapters/nrel.js.map +1 -0
  152. package/dist/adapters/nws.d.ts +3 -0
  153. package/dist/adapters/nws.js +119 -0
  154. package/dist/adapters/nws.js.map +1 -0
  155. package/dist/adapters/omb.d.ts +15 -0
  156. package/dist/adapters/omb.js +517 -0
  157. package/dist/adapters/omb.js.map +1 -0
  158. package/dist/adapters/open-payments.d.ts +5 -0
  159. package/dist/adapters/open-payments.js +149 -0
  160. package/dist/adapters/open-payments.js.map +1 -0
  161. package/dist/adapters/pbgc.d.ts +13 -0
  162. package/dist/adapters/pbgc.js +283 -0
  163. package/dist/adapters/pbgc.js.map +1 -0
  164. package/dist/adapters/philfed.d.ts +12 -0
  165. package/dist/adapters/philfed.js +59 -0
  166. package/dist/adapters/philfed.js.map +1 -0
  167. package/dist/adapters/regulations.d.ts +6 -0
  168. package/dist/adapters/regulations.js +58 -0
  169. package/dist/adapters/regulations.js.map +1 -0
  170. package/dist/adapters/sec.d.ts +13 -0
  171. package/dist/adapters/sec.js +504 -0
  172. package/dist/adapters/sec.js.map +1 -0
  173. package/dist/adapters/senate-lobbying.d.ts +3 -0
  174. package/dist/adapters/senate-lobbying.js +181 -0
  175. package/dist/adapters/senate-lobbying.js.map +1 -0
  176. package/dist/adapters/snapqc.d.ts +32 -0
  177. package/dist/adapters/snapqc.js +701 -0
  178. package/dist/adapters/snapqc.js.map +1 -0
  179. package/dist/adapters/treasury-yields.d.ts +3 -0
  180. package/dist/adapters/treasury-yields.js +170 -0
  181. package/dist/adapters/treasury-yields.js.map +1 -0
  182. package/dist/adapters/usaspending.d.ts +3 -0
  183. package/dist/adapters/usaspending.js +340 -0
  184. package/dist/adapters/usaspending.js.map +1 -0
  185. package/dist/adapters/usda-fna.d.ts +7 -0
  186. package/dist/adapters/usda-fna.js +707 -0
  187. package/dist/adapters/usda-fna.js.map +1 -0
  188. package/dist/adapters/usda-fooddata.d.ts +3 -0
  189. package/dist/adapters/usda-fooddata.js +101 -0
  190. package/dist/adapters/usda-fooddata.js.map +1 -0
  191. package/dist/adapters/usda-nass.d.ts +3 -0
  192. package/dist/adapters/usda-nass.js +108 -0
  193. package/dist/adapters/usda-nass.js.map +1 -0
  194. package/dist/adapters/usda-outlook.d.ts +12 -0
  195. package/dist/adapters/usda-outlook.js +696 -0
  196. package/dist/adapters/usda-outlook.js.map +1 -0
  197. package/dist/adapters/usgs.d.ts +9 -0
  198. package/dist/adapters/usgs.js +265 -0
  199. package/dist/adapters/usgs.js.map +1 -0
  200. package/dist/adapters/usitc.d.ts +18 -0
  201. package/dist/adapters/usitc.js +170 -0
  202. package/dist/adapters/usitc.js.map +1 -0
  203. package/dist/adapters/uspto.d.ts +3 -0
  204. package/dist/adapters/uspto.js +47 -0
  205. package/dist/adapters/uspto.js.map +1 -0
  206. package/dist/adapters/world-bank.d.ts +3 -0
  207. package/dist/adapters/world-bank.js +163 -0
  208. package/dist/adapters/world-bank.js.map +1 -0
  209. package/dist/analysis/cite.d.ts +31 -0
  210. package/dist/analysis/cite.js +229 -0
  211. package/dist/analysis/cite.js.map +1 -0
  212. package/dist/analysis/combine.d.ts +27 -0
  213. package/dist/analysis/combine.js +198 -0
  214. package/dist/analysis/combine.js.map +1 -0
  215. package/dist/analysis/compute.d.ts +62 -0
  216. package/dist/analysis/compute.js +583 -0
  217. package/dist/analysis/compute.js.map +1 -0
  218. package/dist/analysis/expr.d.ts +69 -0
  219. package/dist/analysis/expr.js +780 -0
  220. package/dist/analysis/expr.js.map +1 -0
  221. package/dist/analysis/factfmt.d.ts +16 -0
  222. package/dist/analysis/factfmt.js +187 -0
  223. package/dist/analysis/factfmt.js.map +1 -0
  224. package/dist/analysis/facts.d.ts +63 -0
  225. package/dist/analysis/facts.js +355 -0
  226. package/dist/analysis/facts.js.map +1 -0
  227. package/dist/analysis/handoff.d.ts +58 -0
  228. package/dist/analysis/handoff.js +208 -0
  229. package/dist/analysis/handoff.js.map +1 -0
  230. package/dist/analysis/pyfmt.d.ts +16 -0
  231. package/dist/analysis/pyfmt.js +156 -0
  232. package/dist/analysis/pyfmt.js.map +1 -0
  233. package/dist/analysis/rerun.d.ts +13 -0
  234. package/dist/analysis/rerun.js +125 -0
  235. package/dist/analysis/rerun.js.map +1 -0
  236. package/dist/analysis/table.d.ts +18 -0
  237. package/dist/analysis/table.js +109 -0
  238. package/dist/analysis/table.js.map +1 -0
  239. package/dist/analysis/tools.d.ts +67 -0
  240. package/dist/analysis/tools.js +217 -0
  241. package/dist/analysis/tools.js.map +1 -0
  242. package/dist/analysis/write_table.d.ts +13 -0
  243. package/dist/analysis/write_table.js +59 -0
  244. package/dist/analysis/write_table.js.map +1 -0
  245. package/dist/bin/cli.d.ts +10 -0
  246. package/dist/bin/cli.js +177 -0
  247. package/dist/bin/cli.js.map +1 -0
  248. package/dist/core/cache.d.ts +14 -0
  249. package/dist/core/cache.js +90 -0
  250. package/dist/core/cache.js.map +1 -0
  251. package/dist/core/context.d.ts +12 -0
  252. package/dist/core/context.js +15 -0
  253. package/dist/core/context.js.map +1 -0
  254. package/dist/core/env.d.ts +14 -0
  255. package/dist/core/env.js +52 -0
  256. package/dist/core/env.js.map +1 -0
  257. package/dist/core/generic-rest.d.ts +61 -0
  258. package/dist/core/generic-rest.js +639 -0
  259. package/dist/core/generic-rest.js.map +1 -0
  260. package/dist/core/http.d.ts +120 -0
  261. package/dist/core/http.js +514 -0
  262. package/dist/core/http.js.map +1 -0
  263. package/dist/core/keys.d.ts +43 -0
  264. package/dist/core/keys.js +174 -0
  265. package/dist/core/keys.js.map +1 -0
  266. package/dist/core/manual.d.ts +41 -0
  267. package/dist/core/manual.js +218 -0
  268. package/dist/core/manual.js.map +1 -0
  269. package/dist/core/package.d.ts +58 -0
  270. package/dist/core/package.js +228 -0
  271. package/dist/core/package.js.map +1 -0
  272. package/dist/core/packs.d.ts +139 -0
  273. package/dist/core/packs.js +173 -0
  274. package/dist/core/packs.js.map +1 -0
  275. package/dist/core/policy.d.ts +69 -0
  276. package/dist/core/policy.js +189 -0
  277. package/dist/core/policy.js.map +1 -0
  278. package/dist/core/py.d.ts +40 -0
  279. package/dist/core/py.js +171 -0
  280. package/dist/core/py.js.map +1 -0
  281. package/dist/core/routing.d.ts +10 -0
  282. package/dist/core/routing.js +39 -0
  283. package/dist/core/routing.js.map +1 -0
  284. package/dist/core/tabular.d.ts +21 -0
  285. package/dist/core/tabular.js +229 -0
  286. package/dist/core/tabular.js.map +1 -0
  287. package/dist/deep/_bea_api.d.ts +102 -0
  288. package/dist/deep/_bea_api.js +457 -0
  289. package/dist/deep/_bea_api.js.map +1 -0
  290. package/dist/deep/_bea_fetch.d.ts +151 -0
  291. package/dist/deep/_bea_fetch.js +1274 -0
  292. package/dist/deep/_bea_fetch.js.map +1 -0
  293. package/dist/deep/_bea_util.d.ts +14 -0
  294. package/dist/deep/_bea_util.js +156 -0
  295. package/dist/deep/_bea_util.js.map +1 -0
  296. package/dist/deep/_bls_api.d.ts +84 -0
  297. package/dist/deep/_bls_api.js +231 -0
  298. package/dist/deep/_bls_api.js.map +1 -0
  299. package/dist/deep/_bls_ids.d.ts +43 -0
  300. package/dist/deep/_bls_ids.js +188 -0
  301. package/dist/deep/_bls_ids.js.map +1 -0
  302. package/dist/deep/_bls_lib.d.ts +61 -0
  303. package/dist/deep/_bls_lib.js +442 -0
  304. package/dist/deep/_bls_lib.js.map +1 -0
  305. package/dist/deep/_fred_api.d.ts +148 -0
  306. package/dist/deep/_fred_api.js +545 -0
  307. package/dist/deep/_fred_api.js.map +1 -0
  308. package/dist/deep/_fred_pack.d.ts +162 -0
  309. package/dist/deep/_fred_pack.js +1027 -0
  310. package/dist/deep/_fred_pack.js.map +1 -0
  311. package/dist/deep/_fred_py.d.ts +40 -0
  312. package/dist/deep/_fred_py.js +199 -0
  313. package/dist/deep/_fred_py.js.map +1 -0
  314. package/dist/deep/_ipums_bundle.d.ts +29 -0
  315. package/dist/deep/_ipums_bundle.js +194 -0
  316. package/dist/deep/_ipums_bundle.js.map +1 -0
  317. package/dist/deep/_ipums_ddi.d.ts +23 -0
  318. package/dist/deep/_ipums_ddi.js +162 -0
  319. package/dist/deep/_ipums_ddi.js.map +1 -0
  320. package/dist/deep/_opm_io.d.ts +26 -0
  321. package/dist/deep/_opm_io.js +383 -0
  322. package/dist/deep/_opm_io.js.map +1 -0
  323. package/dist/deep/_opm_parquet.d.ts +31 -0
  324. package/dist/deep/_opm_parquet.js +744 -0
  325. package/dist/deep/_opm_parquet.js.map +1 -0
  326. package/dist/deep/_opm_py.d.ts +6 -0
  327. package/dist/deep/_opm_py.js +74 -0
  328. package/dist/deep/_opm_py.js.map +1 -0
  329. package/dist/deep/_treasury_api.d.ts +48 -0
  330. package/dist/deep/_treasury_api.js +221 -0
  331. package/dist/deep/_treasury_api.js.map +1 -0
  332. package/dist/deep/_treasury_context.d.ts +34 -0
  333. package/dist/deep/_treasury_context.js +142 -0
  334. package/dist/deep/_treasury_context.js.map +1 -0
  335. package/dist/deep/_treasury_lib.d.ts +109 -0
  336. package/dist/deep/_treasury_lib.js +686 -0
  337. package/dist/deep/_treasury_lib.js.map +1 -0
  338. package/dist/deep/bea.d.ts +3 -0
  339. package/dist/deep/bea.js +248 -0
  340. package/dist/deep/bea.js.map +1 -0
  341. package/dist/deep/bls.d.ts +3 -0
  342. package/dist/deep/bls.js +220 -0
  343. package/dist/deep/bls.js.map +1 -0
  344. package/dist/deep/fred.d.ts +3 -0
  345. package/dist/deep/fred.js +325 -0
  346. package/dist/deep/fred.js.map +1 -0
  347. package/dist/deep/ipums.d.ts +59 -0
  348. package/dist/deep/ipums.js +744 -0
  349. package/dist/deep/ipums.js.map +1 -0
  350. package/dist/deep/opm.d.ts +56 -0
  351. package/dist/deep/opm.js +1033 -0
  352. package/dist/deep/opm.js.map +1 -0
  353. package/dist/deep/treasury.d.ts +3 -0
  354. package/dist/deep/treasury.js +218 -0
  355. package/dist/deep/treasury.js.map +1 -0
  356. package/dist/envelope.d.ts +47 -0
  357. package/dist/envelope.js +88 -0
  358. package/dist/envelope.js.map +1 -0
  359. package/dist/index.d.ts +277 -0
  360. package/dist/index.js +106 -0
  361. package/dist/index.js.map +1 -0
  362. package/dist/remote/app.d.ts +21 -0
  363. package/dist/remote/app.js +218 -0
  364. package/dist/remote/app.js.map +1 -0
  365. package/dist/remote/oauth.d.ts +14 -0
  366. package/dist/remote/oauth.js +90 -0
  367. package/dist/remote/oauth.js.map +1 -0
  368. package/dist/remote/pages.d.ts +8 -0
  369. package/dist/remote/pages.js +56 -0
  370. package/dist/remote/pages.js.map +1 -0
  371. package/dist/remote/sign.d.ts +4 -0
  372. package/dist/remote/sign.js +40 -0
  373. package/dist/remote/sign.js.map +1 -0
  374. package/dist/remote/store.d.ts +31 -0
  375. package/dist/remote/store.js +129 -0
  376. package/dist/remote/store.js.map +1 -0
  377. package/dist/report/audit_answer.d.ts +94 -0
  378. package/dist/report/audit_answer.js +1349 -0
  379. package/dist/report/audit_answer.js.map +1 -0
  380. package/dist/report/audit_report.d.ts +23 -0
  381. package/dist/report/audit_report.js +637 -0
  382. package/dist/report/audit_report.js.map +1 -0
  383. package/dist/report/build_report.d.ts +27 -0
  384. package/dist/report/build_report.js +1168 -0
  385. package/dist/report/build_report.js.map +1 -0
  386. package/dist/report/method_audit.d.ts +47 -0
  387. package/dist/report/method_audit.js +716 -0
  388. package/dist/report/method_audit.js.map +1 -0
  389. package/dist/report/policyset.d.ts +50 -0
  390. package/dist/report/policyset.js +421 -0
  391. package/dist/report/policyset.js.map +1 -0
  392. package/dist/report/py.d.ts +58 -0
  393. package/dist/report/py.js +311 -0
  394. package/dist/report/py.js.map +1 -0
  395. package/dist/report/scan_secrets.d.ts +24 -0
  396. package/dist/report/scan_secrets.js +265 -0
  397. package/dist/report/scan_secrets.js.map +1 -0
  398. package/dist/report/style_check.d.ts +29 -0
  399. package/dist/report/style_check.js +173 -0
  400. package/dist/report/style_check.js.map +1 -0
  401. package/dist/report/tools.d.ts +87 -0
  402. package/dist/report/tools.js +167 -0
  403. package/dist/report/tools.js.map +1 -0
  404. package/dist/server.d.ts +5 -0
  405. package/dist/server.js +247 -0
  406. package/dist/server.js.map +1 -0
  407. package/dist/session.d.ts +47 -0
  408. package/dist/session.js +107 -0
  409. package/dist/session.js.map +1 -0
  410. package/dist/toolkit.d.ts +21 -0
  411. package/dist/toolkit.js +2 -0
  412. package/dist/toolkit.js.map +1 -0
  413. package/dist/tools.d.ts +299 -0
  414. package/dist/tools.js +491 -0
  415. package/dist/tools.js.map +1 -0
  416. package/guide/WORKFLOW.md +134 -0
  417. package/guide/assets/disclaimer.txt +1 -0
  418. package/guide/assets/download_data.ps1 +162 -0
  419. package/guide/assets/download_data.sh +143 -0
  420. package/guide/assets/report_template.html +597 -0
  421. package/guide/references/report_patterns.md +199 -0
  422. package/guide/references/routing.md +171 -0
  423. package/guide/references/style_guide.md +398 -0
  424. package/package.json +54 -4
  425. package/packs/acf/endpoints.json +114 -0
  426. package/packs/acf/policy.json +104 -0
  427. package/packs/acf/source.md +138 -0
  428. package/packs/actuaries/endpoints.json +82 -0
  429. package/packs/actuaries/policy.json +109 -0
  430. package/packs/actuaries/source.md +137 -0
  431. package/packs/bea/assets/download_bea.ps1 +182 -0
  432. package/packs/bea/assets/download_bea.sh +144 -0
  433. package/packs/bea/docs/bea_api.md +461 -0
  434. package/packs/bea/docs/datasets.md +157 -0
  435. package/packs/bea/docs/report_patterns.md +112 -0
  436. package/packs/bea/policy.json +170 -0
  437. package/packs/bea/source.md +152 -0
  438. package/packs/bls/assets/download_bls.ps1 +152 -0
  439. package/packs/bls/assets/download_bls.sh +167 -0
  440. package/packs/bls/docs/analysis_patterns.md +108 -0
  441. package/packs/bls/docs/bls_api.md +73 -0
  442. package/packs/bls/docs/series_ids.md +149 -0
  443. package/packs/bls/policy.json +238 -0
  444. package/packs/bls/series_ids.json +1375 -0
  445. package/packs/bls/source.md +156 -0
  446. package/packs/bts/endpoints.json +347 -0
  447. package/packs/bts/policy.json +94 -0
  448. package/packs/bts/source.md +97 -0
  449. package/packs/cdc/endpoints.json +197 -0
  450. package/packs/cdc/policy.json +83 -0
  451. package/packs/cdc/source.md +74 -0
  452. package/packs/census/endpoints.json +99 -0
  453. package/packs/census/policy.json +238 -0
  454. package/packs/census/source.md +304 -0
  455. package/packs/census-geocoder/endpoints.json +70 -0
  456. package/packs/census-geocoder/policy.json +80 -0
  457. package/packs/census-geocoder/source.md +53 -0
  458. package/packs/cfpb/endpoints.json +327 -0
  459. package/packs/cfpb/policy.json +119 -0
  460. package/packs/cfpb/source.md +96 -0
  461. package/packs/clinical-trials/endpoints.json +167 -0
  462. package/packs/clinical-trials/policy.json +84 -0
  463. package/packs/clinical-trials/source.md +82 -0
  464. package/packs/cms/endpoints.json +69 -0
  465. package/packs/cms/policy.json +96 -0
  466. package/packs/cms/source.md +112 -0
  467. package/packs/college-scorecard/endpoints.json +253 -0
  468. package/packs/college-scorecard/policy.json +106 -0
  469. package/packs/college-scorecard/source.md +92 -0
  470. package/packs/congress/endpoints.json +1701 -0
  471. package/packs/congress/policy.json +117 -0
  472. package/packs/congress/source.md +190 -0
  473. package/packs/dhs-ohss/endpoints.json +66 -0
  474. package/packs/dhs-ohss/policy.json +107 -0
  475. package/packs/dhs-ohss/source.md +120 -0
  476. package/packs/doj-news/endpoints.json +59 -0
  477. package/packs/doj-news/policy.json +96 -0
  478. package/packs/doj-news/source.md +99 -0
  479. package/packs/dol/endpoints.json +818 -0
  480. package/packs/dol/policy.json +135 -0
  481. package/packs/dol/source.md +181 -0
  482. package/packs/eia/endpoints.json +718 -0
  483. package/packs/eia/policy.json +112 -0
  484. package/packs/eia/source.md +112 -0
  485. package/packs/epa/endpoints.json +292 -0
  486. package/packs/epa/policy.json +99 -0
  487. package/packs/epa/source.md +99 -0
  488. package/packs/epa-aqs/endpoints.json +174 -0
  489. package/packs/epa-aqs/policy.json +96 -0
  490. package/packs/epa-aqs/source.md +97 -0
  491. package/packs/fbi/endpoints.json +1842 -0
  492. package/packs/fbi/policy.json +118 -0
  493. package/packs/fbi/source.md +108 -0
  494. package/packs/fda/endpoints.json +238 -0
  495. package/packs/fda/policy.json +121 -0
  496. package/packs/fda/source.md +117 -0
  497. package/packs/fdic/endpoints.json +417 -0
  498. package/packs/fdic/policy.json +83 -0
  499. package/packs/fdic/source.md +92 -0
  500. package/packs/fec/endpoints.json +708 -0
  501. package/packs/fec/policy.json +93 -0
  502. package/packs/fec/source.md +90 -0
  503. package/packs/fed-board/endpoints.json +89 -0
  504. package/packs/fed-board/policy.json +136 -0
  505. package/packs/fed-board/source.md +118 -0
  506. package/packs/federal-register/endpoints.json +143 -0
  507. package/packs/federal-register/policy.json +86 -0
  508. package/packs/federal-register/source.md +98 -0
  509. package/packs/fema/endpoints.json +646 -0
  510. package/packs/fema/policy.json +103 -0
  511. package/packs/fema/source.md +103 -0
  512. package/packs/fhfa/endpoints.json +105 -0
  513. package/packs/fhfa/policy.json +109 -0
  514. package/packs/fhfa/source.md +108 -0
  515. package/packs/fred/assets/download_fred.ps1 +122 -0
  516. package/packs/fred/assets/download_fred.sh +123 -0
  517. package/packs/fred/docs/analysis_patterns.md +124 -0
  518. package/packs/fred/docs/fred_api.md +94 -0
  519. package/packs/fred/docs/series.md +188 -0
  520. package/packs/fred/policy.json +253 -0
  521. package/packs/fred/source.md +142 -0
  522. package/packs/fsa/endpoints.json +150 -0
  523. package/packs/fsa/policy.json +99 -0
  524. package/packs/fsa/source.md +102 -0
  525. package/packs/govinfo/endpoints.json +520 -0
  526. package/packs/govinfo/policy.json +116 -0
  527. package/packs/govinfo/source.md +241 -0
  528. package/packs/gsa-calc/endpoints.json +93 -0
  529. package/packs/gsa-calc/policy.json +97 -0
  530. package/packs/gsa-calc/source.md +108 -0
  531. package/packs/hud/endpoints.json +147 -0
  532. package/packs/hud/policy.json +84 -0
  533. package/packs/hud/source.md +97 -0
  534. package/packs/ipums/assets/download_ipums.ps1 +215 -0
  535. package/packs/ipums/assets/download_ipums.sh +192 -0
  536. package/packs/ipums/docs/ipums_api.md +67 -0
  537. package/packs/ipums/docs/report_patterns.md +117 -0
  538. package/packs/ipums/docs/variables.md +284 -0
  539. package/packs/ipums/lib/fetch_text.json +112 -0
  540. package/packs/ipums/policy.json +215 -0
  541. package/packs/ipums/source.md +169 -0
  542. package/packs/irs-soi/endpoints.json +114 -0
  543. package/packs/irs-soi/policy.json +107 -0
  544. package/packs/irs-soi/source.md +124 -0
  545. package/packs/medicaid/endpoints.json +412 -0
  546. package/packs/medicaid/policy.json +108 -0
  547. package/packs/medicaid/source.md +136 -0
  548. package/packs/naep/endpoints.json +217 -0
  549. package/packs/naep/policy.json +100 -0
  550. package/packs/naep/source.md +120 -0
  551. package/packs/nhtsa/endpoints.json +132 -0
  552. package/packs/nhtsa/policy.json +93 -0
  553. package/packs/nhtsa/source.md +109 -0
  554. package/packs/nih/endpoints.json +453 -0
  555. package/packs/nih/policy.json +86 -0
  556. package/packs/nih/source.md +108 -0
  557. package/packs/noaa/endpoints.json +432 -0
  558. package/packs/noaa/policy.json +95 -0
  559. package/packs/noaa/source.md +88 -0
  560. package/packs/nrel/endpoints.json +328 -0
  561. package/packs/nrel/policy.json +96 -0
  562. package/packs/nrel/source.md +91 -0
  563. package/packs/nws/endpoints.json +272 -0
  564. package/packs/nws/policy.json +82 -0
  565. package/packs/nws/source.md +81 -0
  566. package/packs/nyfed/endpoints.json +80 -0
  567. package/packs/nyfed/policy.json +92 -0
  568. package/packs/nyfed/source.md +89 -0
  569. package/packs/omb/endpoints.json +460 -0
  570. package/packs/omb/policy.json +106 -0
  571. package/packs/omb/source.md +130 -0
  572. package/packs/open-payments/endpoints.json +298 -0
  573. package/packs/open-payments/policy.json +101 -0
  574. package/packs/open-payments/source.md +99 -0
  575. package/packs/opm/assets/download_opm.ps1 +125 -0
  576. package/packs/opm/assets/download_opm.sh +85 -0
  577. package/packs/opm/docs/fields.md +184 -0
  578. package/packs/opm/docs/opm_api.md +71 -0
  579. package/packs/opm/docs/report_patterns.md +83 -0
  580. package/packs/opm/lib/data_dictionary.csv +73 -0
  581. package/packs/opm/policy.json +142 -0
  582. package/packs/opm/source.md +137 -0
  583. package/packs/pbgc/endpoints.json +483 -0
  584. package/packs/pbgc/policy.json +94 -0
  585. package/packs/pbgc/source.md +95 -0
  586. package/packs/philfed/endpoints.json +85 -0
  587. package/packs/philfed/policy.json +94 -0
  588. package/packs/philfed/source.md +125 -0
  589. package/packs/port.json +287 -0
  590. package/packs/regulations/endpoints.json +288 -0
  591. package/packs/regulations/policy.json +86 -0
  592. package/packs/regulations/source.md +84 -0
  593. package/packs/sec/endpoints.json +237 -0
  594. package/packs/sec/policy.json +86 -0
  595. package/packs/sec/source.md +101 -0
  596. package/packs/senate-lobbying/endpoints.json +554 -0
  597. package/packs/senate-lobbying/policy.json +99 -0
  598. package/packs/senate-lobbying/source.md +100 -0
  599. package/packs/snapqc/endpoints.json +1426 -0
  600. package/packs/snapqc/policy.json +92 -0
  601. package/packs/snapqc/source.md +96 -0
  602. package/packs/treasury/catalog.json +2267 -0
  603. package/packs/treasury/docs/api_guide.md +245 -0
  604. package/packs/treasury/docs/datasets.md +56 -0
  605. package/packs/treasury/docs/report_patterns.md +126 -0
  606. package/packs/treasury/policy.json +159 -0
  607. package/packs/treasury/source.md +170 -0
  608. package/packs/treasury-yields/endpoints.json +226 -0
  609. package/packs/treasury-yields/policy.json +86 -0
  610. package/packs/treasury-yields/source.md +80 -0
  611. package/packs/usaspending/endpoints.json +1316 -0
  612. package/packs/usaspending/policy.json +109 -0
  613. package/packs/usaspending/source.md +103 -0
  614. package/packs/usda-fna/endpoints.json +427 -0
  615. package/packs/usda-fna/policy.json +133 -0
  616. package/packs/usda-fna/source.md +217 -0
  617. package/packs/usda-fooddata/endpoints.json +181 -0
  618. package/packs/usda-fooddata/policy.json +94 -0
  619. package/packs/usda-fooddata/source.md +105 -0
  620. package/packs/usda-nass/endpoints.json +324 -0
  621. package/packs/usda-nass/policy.json +95 -0
  622. package/packs/usda-nass/source.md +85 -0
  623. package/packs/usda-outlook/endpoints.json +86 -0
  624. package/packs/usda-outlook/policy.json +109 -0
  625. package/packs/usda-outlook/source.md +144 -0
  626. package/packs/usgs/endpoints.json +313 -0
  627. package/packs/usgs/policy.json +95 -0
  628. package/packs/usgs/source.md +96 -0
  629. package/packs/usitc/endpoints.json +74 -0
  630. package/packs/usitc/policy.json +111 -0
  631. package/packs/usitc/source.md +90 -0
  632. package/packs/uspto/endpoints.json +141 -0
  633. package/packs/uspto/policy.json +95 -0
  634. package/packs/uspto/source.md +101 -0
  635. package/packs/va/endpoints.json +414 -0
  636. package/packs/va/policy.json +101 -0
  637. package/packs/va/source.md +129 -0
  638. package/packs/world-bank/endpoints.json +122 -0
  639. package/packs/world-bank/policy.json +101 -0
  640. package/packs/world-bank/source.md +93 -0
@@ -0,0 +1,453 @@
1
+ {
2
+ "base_url": "https://api.reporter.nih.gov/v2",
3
+ "endpoints": {
4
+ "projects": {
5
+ "path": "/projects/search",
6
+ "method": "POST",
7
+ "description": "NIH RePORTER project records (one row per project-year award) matching criteria; 500 a page, at most 15,000 per search.",
8
+ "params": {
9
+ "criteria": {
10
+ "in": "body",
11
+ "desc": "RePORTER criteria object, merged with the friendly keys below"
12
+ },
13
+ "text": {
14
+ "desc": "every word, anywhere in title, terms and abstract, any order (advanced_text_search operator and); not a phrase"
15
+ },
16
+ "phrase": {
17
+ "desc": "exact phrase in title, terms or abstract (operator advanced, quoted); a list = any of the phrases; instead of text"
18
+ },
19
+ "text_fields": {
20
+ "desc": "where to search text: projecttitle,terms,abstracttext (default all three)"
21
+ },
22
+ "fiscal_years": {
23
+ "desc": "list of fiscal years, e.g. [2023, 2024]"
24
+ },
25
+ "agencies": {
26
+ "desc": "administering institute codes, e.g. [\"NCI\", \"NIA\"]"
27
+ },
28
+ "org_states": {
29
+ "desc": "organization state postal codes"
30
+ },
31
+ "org_names": {
32
+ "desc": "organization names (contains match)"
33
+ },
34
+ "activity_codes": {
35
+ "desc": "e.g. [\"R01\", \"R21\"]"
36
+ },
37
+ "spending_categories": {
38
+ "desc": "RCDC category names or ids, e.g. [\"Cancer\", \"Opioids\"] (a request_schema search finds them)"
39
+ },
40
+ "pi_names": {
41
+ "desc": "[{\"last_name\": \"...\", \"first_name\": \"...\"}] or [{\"any_name\": \"...\"}]"
42
+ },
43
+ "exclude_subprojects": {
44
+ "desc": "default true: subproject rows repeat money already in the parent award"
45
+ },
46
+ "include_fields": {
47
+ "in": "body",
48
+ "desc": "PascalCase field names (AwardAmount); default a compact set; \"all\" for every field"
49
+ },
50
+ "sort_field": {
51
+ "in": "body",
52
+ "desc": "default appl_id when the search may need more than one page (a unique field keeps pages stable); e.g. award_amount"
53
+ },
54
+ "sort_order": {
55
+ "in": "body",
56
+ "desc": "asc or desc"
57
+ }
58
+ },
59
+ "records": "results",
60
+ "total": "meta.total",
61
+ "paging": {
62
+ "type": "offset",
63
+ "limit_param": "limit",
64
+ "offset_param": "offset",
65
+ "size": 500,
66
+ "in": "body"
67
+ },
68
+ "max_rows": 15000,
69
+ "unique_key": "appl_id",
70
+ "truncated_note": {
71
+ "when_default": "sort_field",
72
+ "text": "The rows kept are those with the lowest appl_id (the pack pages in appl_id order so pages do not repeat or skip rows), not the most relevant: set sort_field (e.g. award_amount, desc) to choose which rows a cut keeps."
73
+ },
74
+ "missing": [
75
+ ""
76
+ ],
77
+ "flatten": true
78
+ },
79
+ "publications": {
80
+ "path": "/publications/search",
81
+ "method": "POST",
82
+ "description": "Publications linked to NIH projects: PMID and core project number pairs; 500 a page, at most 10,000 per search (offset above 9,999 is refused).",
83
+ "params": {
84
+ "criteria": {
85
+ "in": "body",
86
+ "desc": "{\"core_project_nums\": [...]} or {\"pmids\": [...]} or {\"appl_ids\": [...]}"
87
+ },
88
+ "core_project_nums": {
89
+ "desc": "list of core project numbers, e.g. [\"R01CA282725\"]"
90
+ },
91
+ "pmids": {
92
+ "desc": "list of PubMed ids"
93
+ },
94
+ "appl_ids": {
95
+ "desc": "list of application ids"
96
+ }
97
+ },
98
+ "records": "results",
99
+ "total": "meta.total",
100
+ "paging": {
101
+ "type": "offset",
102
+ "limit_param": "limit",
103
+ "offset_param": "offset",
104
+ "size": 500,
105
+ "in": "body"
106
+ },
107
+ "max_rows": 10000,
108
+ "missing": [
109
+ ""
110
+ ],
111
+ "flatten": true
112
+ }
113
+ },
114
+ "catalog": {},
115
+ "rcdc_note": "RCDC spending category ids observed in RePORTER records (3,551 projects, fiscal years 2022-2025, sampled 2026-10-20; id and name pairs were consistent). Categories absent from the sample are missing here; numeric ids still work.",
116
+ "rcdc_categories": {
117
+ "2597": "Acquired Cognitive Impairment",
118
+ "24": "Acute Respiratory Distress Syndrome",
119
+ "27": "Adolescent Sexual Activity",
120
+ "5968": "Adult/Somatic Stem Cell and Progenitor Cell Research",
121
+ "31": "Aging",
122
+ "36": "Alcoholism, Alcohol Use and Health",
123
+ "39": "Allergic Rhinitis (Hay Fever)",
124
+ "40": "Alzheimer's Disease",
125
+ "3246": "Alzheimer's Disease including Alzheimer's Disease Related Dementias (AD/ADRD)",
126
+ "3254": "Alzheimer's Disease Related Dementias (ADRD)",
127
+ "44": "American Indian or Alaska Native",
128
+ "19": "Amyotrophic Lateral Sclerosis (ALS)",
129
+ "47": "Anorexia",
130
+ "50": "Antimicrobial Resistance",
131
+ "2610": "Anxiety Disorders",
132
+ "54": "Arctic",
133
+ "55": "Arthritis",
134
+ "58": "Assistive Technology",
135
+ "59": "Asthma",
136
+ "65": "Atherosclerosis",
137
+ "66": "Attention Deficit Hyperactivity Disorder (ADHD)",
138
+ "67": "Autism",
139
+ "69": "Autoimmune Disease",
140
+ "3454": "Back Pain",
141
+ "81": "Basic Behavioral and Social Science",
142
+ "84": "Batten Disease",
143
+ "89": "Behavioral and Social Science",
144
+ "92": "Biodefense",
145
+ "5680": "Biodefense and Related Countermeasures",
146
+ "101": "Bioengineering",
147
+ "229": "Biomedical Imaging",
148
+ "108": "Biotechnology",
149
+ "2595": "Bipolar Disorder",
150
+ "117": "Brain Cancer",
151
+ "118": "Brain Disorders",
152
+ "120": "Breast Cancer",
153
+ "3932": "Breastfeeding, Lactation and Breast Milk",
154
+ "5654": "Building Research Capacity at Institutions with Limited NIH Funding",
155
+ "123": "Burden of Illness",
156
+ "3461": "Cachexia",
157
+ "132": "Cancer",
158
+ "1393": "Cancer Genomics",
159
+ "2609": "Cannabidiol Research",
160
+ "2601": "Cannabinoid Research",
161
+ "140": "Cardiovascular",
162
+ "3491": "Caregiving Research",
163
+ "4975": "Celiac Disease",
164
+ "144": "Cerebral Palsy",
165
+ "3466": "Cerebrovascular",
166
+ "146": "Cervical Cancer",
167
+ "157": "Charcot-Marie-Tooth Disease",
168
+ "162": "Child Abuse and Neglect Research",
169
+ "373": "Childhood Injury",
170
+ "163": "Childhood Leukemia",
171
+ "4268": "Childhood Obesity",
172
+ "171": "Chronic Liver Disease and Cirrhosis",
173
+ "172": "Chronic Obstructive Pulmonary Disease",
174
+ "616": "Chronic Pain",
175
+ "296": "Climate-Related Exposures and Conditions",
176
+ "176": "Clinical Research",
177
+ "180": "Clinical Trials and Supportive Activities",
178
+ "5224": "Cocaine",
179
+ "183": "Colorectal Cancer",
180
+ "187": "Comparative Effectiveness Research",
181
+ "191": "Complementary and Integrative Health",
182
+ "196": "Conditions Affecting the Embryonic and Fetal Periods",
183
+ "3533": "Congenital Heart Disease",
184
+ "2382": "Congenital Structural Anomalies",
185
+ "197": "Contraception/Reproduction",
186
+ "200": "Cooley's Anemia",
187
+ "4835": "Coronaviruses",
188
+ "5009": "Coronaviruses Diagnostics and Prognostics",
189
+ "5011": "Coronaviruses Disparities and At-Risk Populations",
190
+ "5005": "Coronaviruses Therapeutics and Interventions",
191
+ "5014": "Coronaviruses Vaccines",
192
+ "201": "Cost Effectiveness Research",
193
+ "204": "Crohn's Disease",
194
+ "206": "Cystic Fibrosis",
195
+ "4531": "Data Science",
196
+ "2067": "Dementia",
197
+ "216": "Dental, Oral, and Craniofacial Disease",
198
+ "219": "Depression",
199
+ "224": "Diabetes",
200
+ "3527": "Dietary Supplements",
201
+ "232": "Digestive Diseases",
202
+ "233": "Digestive Diseases - (Gallbladder)",
203
+ "6033": "Digital Health",
204
+ "5745": "Disability Research",
205
+ "4998": "Dissemination and Implementation Research",
206
+ "238": "Down Syndrome",
207
+ "240": "Drug Abuse (NIDA only)",
208
+ "243": "Eating Disorders",
209
+ "2600": "Eczema / Atopic Dermatitis",
210
+ "4721": "Electronic Nicotine Delivery Systems",
211
+ "2375": "Emergency Care",
212
+ "246": "Emerging Infectious Diseases",
213
+ "248": "Emphysema",
214
+ "389": "End Stage Renal Disease",
215
+ "3460": "Endocannabinoid System Research",
216
+ "3529": "Endocrine Disruptors",
217
+ "250": "Endometriosis",
218
+ "255": "Epilepsy",
219
+ "4714": "Esophageal Cancer",
220
+ "257": "Estrogen",
221
+ "259": "Eye Disease and Disorders of Vision",
222
+ "5724": "Fentanyl Misuse and Addiction",
223
+ "263": "Fetal Alcohol Spectrum Disorders (FASD)",
224
+ "264": "Fibroid Tumors (Uterine)",
225
+ "1389": "Food Allergies",
226
+ "267": "Foodborne Illness",
227
+ "268": "Fragile X Syndrome",
228
+ "269": "Frontotemporal Dementia (FTD)",
229
+ "272": "Gene Therapy",
230
+ "273": "Gene Therapy Clinical Trials",
231
+ "275": "Genetic Testing",
232
+ "276": "Genetics",
233
+ "5945": "Geroscience",
234
+ "5552": "Harm Reduction for Substance Misuse",
235
+ "292": "Headaches",
236
+ "3641": "Health Disparities",
237
+ "5599": "Health Disparities and Racial or Ethnic Minority Health Research",
238
+ "5546": "Health Disparities Research",
239
+ "2376": "Health Effects of Indoor Air Pollution",
240
+ "298": "Health Services",
241
+ "4511": "Hearing Loss",
242
+ "299": "Heart Disease",
243
+ "300": "Heart Disease - Coronary Heart Disease",
244
+ "306": "Hematology",
245
+ "307": "Hepatitis",
246
+ "309": "Hepatitis - B",
247
+ "310": "Hepatitis - C",
248
+ "284": "HIV/AIDS",
249
+ "312": "Hodgkin's Disease",
250
+ "313": "Homelessness",
251
+ "289": "HPV and/or Cervical Cancer Vaccines",
252
+ "5821": "Human Embryonic Stem Cell Research",
253
+ "318": "Human Fetal Tissue",
254
+ "320": "Human Genome",
255
+ "325": "Huntington's Disease",
256
+ "327": "Hypertension",
257
+ "331": "Immunization",
258
+ "3999": "Immunotherapy",
259
+ "5969": "Induced Pluripotent Stem Cell Research",
260
+ "3085": "Infant Mortality",
261
+ "338": "Infectious Diseases",
262
+ "341": "Infertility",
263
+ "342": "Inflammatory Bowel Disease",
264
+ "343": "Influenza",
265
+ "453": "Intellectual and Developmental Disabilities (IDD)",
266
+ "380": "Interstitial Cystitis",
267
+ "385": "Kidney Disease",
268
+ "395": "Lead Poisoning",
269
+ "2438": "Lewy Body Dementia",
270
+ "399": "Liver Cancer",
271
+ "400": "Liver Disease",
272
+ "408": "Lung",
273
+ "409": "Lung Cancer",
274
+ "410": "Lupus",
275
+ "411": "Lyme Disease",
276
+ "5044": "Lymphatic Research",
277
+ "5024": "Lymphedema",
278
+ "413": "Lymphoma",
279
+ "4372": "Machine Learning and Artificial Intelligence",
280
+ "436": "Macular Degeneration",
281
+ "2613": "Major Depressive Disorder",
282
+ "437": "Malaria",
283
+ "438": "Malaria Vaccine",
284
+ "3810": "Maternal Health",
285
+ "4764": "Maternal Morbidity and Mortality",
286
+ "5949": "Men's Health Research",
287
+ "5555": "Menopause",
288
+ "443": "Mental Health",
289
+ "3445": "Mental Illness",
290
+ "458": "Methamphetamine",
291
+ "4243": "Microbiome",
292
+ "465": "Migraine",
293
+ "3584": "Minority Health",
294
+ "473": "Mucopolysaccharidoses (MPS)",
295
+ "474": "Multiple Sclerosis",
296
+ "475": "Muscular Dystrophy",
297
+ "496": "Nanotechnology",
298
+ "5562": "Natural Products",
299
+ "3453": "Neck Pain",
300
+ "687": "Neonatal Respiratory Distress",
301
+ "329": "Networking and Information Technology R&D (NITRD)",
302
+ "1375": "Neuroblastoma",
303
+ "520": "Neurodegenerative",
304
+ "521": "Neurofibromatosis",
305
+ "525": "Neurosciences",
306
+ "536": "Nutrition",
307
+ "551": "Obesity",
308
+ "4076": "Opioid Misuse and Addiction",
309
+ "3951": "Opioids",
310
+ "555": "Organ Transplantation",
311
+ "556": "Orphan Drug",
312
+ "789": "Orthopoxviruses",
313
+ "2599": "Osteoarthritis",
314
+ "559": "Osteogenesis Imperfecta",
315
+ "560": "Osteoporosis",
316
+ "563": "Otitis Media",
317
+ "564": "Ovarian Cancer",
318
+ "618": "Pain Research",
319
+ "620": "Palliative Care",
320
+ "1391": "Pancreatic Cancer",
321
+ "624": "Parkinson's Disease",
322
+ "1254": "Patient Safety",
323
+ "679": "Pediatric",
324
+ "680": "Pediatric - AIDS",
325
+ "2310": "Pediatric Cancer",
326
+ "3520": "Pediatric Cardiomyopathy",
327
+ "689": "Perinatal Period - Conditions Originating in Perinatal Period",
328
+ "524": "Peripheral Neuropathy",
329
+ "3395": "Physical Activity",
330
+ "372": "Physical Injury - Accidents and Adverse Effects",
331
+ "2346": "Physical Rehabilitation",
332
+ "692": "Pneumonia",
333
+ "693": "Pneumonia and Influenza",
334
+ "696": "Polycystic Kidney Disease",
335
+ "5194": "Post-Acute Sequelae of SARS-CoV-2 infection (PASC) including Long COVID",
336
+ "1991": "Post-Traumatic Stress Disorder (PTSD)",
337
+ "4711": "Postural Orthostatic Tachycardia Syndrome",
338
+ "3070": "Precision Medicine",
339
+ "3920": "Pregnancy",
340
+ "700": "Prescription Drug Misuse",
341
+ "686": "Preterm, Low Birth Weight and Health of the Newborn",
342
+ "701": "Prevention",
343
+ "5592": "Primary Health Care",
344
+ "5804": "Primary Immunodeficiencies",
345
+ "703": "Prostate Cancer",
346
+ "391": "Prostate Disease",
347
+ "704": "Psoriasis",
348
+ "5773": "Psychosis",
349
+ "5232": "Pulmonary Fibrosis",
350
+ "5286": "Pulmonary Hypertension",
351
+ "5544": "Racial and Ethnic Minority Health Research",
352
+ "1859": "Radiation Oncology",
353
+ "729": "Rare Diseases",
354
+ "5551": "Recovery Support Services",
355
+ "731": "Regenerative Medicine",
356
+ "732": "Rehabilitation",
357
+ "737": "Rett Syndrome",
358
+ "2611": "Rheumatoid Arthritis",
359
+ "770": "Rural Health",
360
+ "3475": "Sarcopenia",
361
+ "777": "Schizophrenia",
362
+ "779": "Scleroderma",
363
+ "781": "Sepsis",
364
+ "2343": "Serious Mental Illness",
365
+ "784": "Sexually Transmitted Infections",
366
+ "785": "Sickle Cell Disease",
367
+ "5789": "Skin Cancer",
368
+ "788": "Sleep Research",
369
+ "4793": "Social Determinants of Health",
370
+ "792": "Spina Bifida",
371
+ "793": "Spinal Cord Injury",
372
+ "5970": "Stem Cell and Progenitor Cell Research",
373
+ "796": "Stem Cell Research",
374
+ "797": "Stem Cell Research - Embryonic - Human",
375
+ "798": "Stem Cell Research - Embryonic - Non-Human",
376
+ "799": "Stem Cell Research - Induced Pluripotent Stem Cell",
377
+ "800": "Stem Cell Research - Induced Pluripotent Stem Cell - Human",
378
+ "801": "Stem Cell Research - Induced Pluripotent Stem Cell - Non-Human",
379
+ "802": "Stem Cell Research - Nonembryonic - Human",
380
+ "803": "Stem Cell Research - Nonembryonic - Non-Human",
381
+ "804": "Stem Cell Research - Umbilical Cord Blood/ Placenta",
382
+ "805": "Stem Cell Research - Umbilical Cord Blood/ Placenta - Human",
383
+ "808": "Stem Cell Research - Umbilical Cord Blood/ Placenta - Non-Human",
384
+ "5225": "Stimulant Use and Misuse",
385
+ "4758": "Stomach Cancer",
386
+ "811": "Stroke",
387
+ "817": "Substance Misuse",
388
+ "819": "Substance Misuse Prevention",
389
+ "823": "Suicide",
390
+ "824": "Suicide Prevention",
391
+ "4990": "Telehealth",
392
+ "831": "Temporomandibular Muscle/Joint Disorder (TMJD)",
393
+ "2607": "Therapeutic Cannabinoid Research",
394
+ "4989": "Tickborne Diseases",
395
+ "852": "Tobacco",
396
+ "791": "Tobacco Smoke and Health",
397
+ "856": "Translational Research",
398
+ "861": "Transmissible Spongiform Encephalopathy (TSE)",
399
+ "862": "Transplantation",
400
+ "375": "Traumatic Brain Injury (TBI)",
401
+ "374": "Traumatic Head and Spine Injury",
402
+ "864": "Tuberculosis",
403
+ "865": "Tuberculosis Vaccine",
404
+ "867": "Underage Drinking",
405
+ "3265": "Underage Drinking - Prevention & Treatment (NIAAA Only)",
406
+ "376": "Unintentional Childhood Injury",
407
+ "392": "Urinary Infection",
408
+ "871": "Urologic Diseases",
409
+ "2334": "Usher Syndrome",
410
+ "873": "Uterine Cancer",
411
+ "877": "Vaccine Related",
412
+ "878": "Vaccine Related - AIDS",
413
+ "2339": "Valley Fever",
414
+ "2412": "Vascular Contributions to Cognitive Impairment and Dementia (VCID)",
415
+ "881": "Vector-Borne Diseases",
416
+ "883": "Violence Against Women",
417
+ "884": "Violence Research",
418
+ "891": "West Nile Virus",
419
+ "3724": "Women's Health",
420
+ "5815": "Women's Health Research",
421
+ "4924": "Wound Healing and Care",
422
+ "897": "Youth Violence",
423
+ "898": "Youth Violence Prevention",
424
+ "3617": "Zika Virus"
425
+ },
426
+ "agencies": {
427
+ "NCI": "National Cancer Institute",
428
+ "NHLBI": "National Heart, Lung, and Blood Institute",
429
+ "NIDDK": "National Institute of Diabetes and Digestive and Kidney Diseases",
430
+ "NINDS": "National Institute of Neurological Disorders and Stroke",
431
+ "NIA": "National Institute on Aging",
432
+ "NIAID": "National Institute of Allergy and Infectious Diseases",
433
+ "NIGMS": "National Institute of General Medical Sciences",
434
+ "NIMH": "National Institute of Mental Health",
435
+ "NIDA": "National Institute on Drug Abuse",
436
+ "NICHD": "Eunice Kennedy Shriver National Institute of Child Health and Human Development",
437
+ "NEI": "National Eye Institute",
438
+ "NIEHS": "National Institute of Environmental Health Sciences",
439
+ "NIDCR": "National Institute of Dental and Craniofacial Research",
440
+ "NIAMS": "National Institute of Arthritis and Musculoskeletal and Skin Diseases",
441
+ "NIDCD": "National Institute on Deafness and Other Communication Disorders",
442
+ "NIBIB": "National Institute of Biomedical Imaging and Bioengineering",
443
+ "NIMHD": "National Institute on Minority Health and Health Disparities",
444
+ "NCATS": "National Center for Advancing Translational Sciences",
445
+ "NCCIH": "National Center for Complementary and Integrative Health",
446
+ "NLM": "National Library of Medicine",
447
+ "FIC": "Fogarty International Center",
448
+ "OD": "NIH Office of the Director",
449
+ "NIAAA": "National Institute on Alcohol Abuse and Alcoholism",
450
+ "NHGRI": "National Human Genome Research Institute",
451
+ "NINR": "National Institute of Nursing Research"
452
+ }
453
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "id": "nih",
3
+ "title": "NIH RePORTER (research grants)",
4
+ "agency": "National Institutes of Health",
5
+ "depth": "standard",
6
+ "domains": [
7
+ "health",
8
+ "research funding",
9
+ "science"
10
+ ],
11
+ "keywords": [
12
+ "nih",
13
+ "reporter",
14
+ "nih grants",
15
+ "research grants",
16
+ "grant",
17
+ "grants",
18
+ "r01",
19
+ "funding",
20
+ "research funding",
21
+ "principal investigator",
22
+ "national cancer institute",
23
+ "nci",
24
+ "nia",
25
+ "niaid",
26
+ "rcdc",
27
+ "spending category",
28
+ "medical research",
29
+ "publications",
30
+ "university research"
31
+ ],
32
+ "questions": [
33
+ "NIH funding for Alzheimer's research by year",
34
+ "NIH grants to universities in a state",
35
+ "which institutions get the most NIH money",
36
+ "NIH projects on opioids",
37
+ "grants of a named investigator"
38
+ ],
39
+ "homepage": "https://reporter.nih.gov/",
40
+ "terms_url": "https://api.reporter.nih.gov/",
41
+ "auth": {
42
+ "env": null,
43
+ "required": "none",
44
+ "placement": "none",
45
+ "signup_url": null,
46
+ "echoes_key": false
47
+ },
48
+ "limits": {
49
+ "rps": 1,
50
+ "burst": 1,
51
+ "max_rows": 15000
52
+ },
53
+ "routes": {
54
+ "api": {
55
+ "base": "https://api.reporter.nih.gov/v2",
56
+ "probe": "https://api.reporter.nih.gov/",
57
+ "hosts": [
58
+ "api.reporter.nih.gov"
59
+ ]
60
+ },
61
+ "manual": {
62
+ "how": "The API takes POST requests, so a browser link cannot fetch them: run download_data.sh / download_data.ps1 from the bundle (one command), or search at https://reporter.nih.gov/advanced-search (same criteria), click Export, choose CSV and the fields, and upload the file. Whole fiscal years: https://reporter.nih.gov/exporter (bulk CSV files)."
63
+ }
64
+ },
65
+ "cache": {
66
+ "mode": "run_only",
67
+ "ttl_hours": null,
68
+ "why": "Searches are small; RePORTER adds awards weekly. data/ is reused within a run."
69
+ },
70
+ "redistribution": {
71
+ "mode": "allowed",
72
+ "why": "RePORTER data describe federal awards and are U.S. government works in the public domain (17 U.S.C. 105). Abstracts are written by applicants; quote them sparingly."
73
+ },
74
+ "notices": [],
75
+ "retention": null,
76
+ "citation": "National Institutes of Health, RePORTER: {dataset}, api.reporter.nih.gov, retrieved {retrieved_long}.",
77
+ "audit_hooks": [],
78
+ "clarify": [
79
+ "Fiscal year of the award (fiscal_years) or project period? RePORTER rows are project-year awards by federal fiscal year (October-September).",
80
+ "Topic by RCDC spending category (NIH's official categorization) or by text search (broader, noisier)? Official RCDC totals are at report.nih.gov and are not the sum of this search.",
81
+ "NIH only? RePORTER also holds AHRQ, CDC (its centers: NCEH, NIOSH, ...), FDA and VA awards (FY2024: AHRQ 497, FDA 560, VA 2,181 projects); list the NIH institutes in agencies, and check agency_ic_admin, to exclude them."
82
+ ],
83
+ "formats": [
84
+ "json"
85
+ ]
86
+ }
@@ -0,0 +1,108 @@
1
+ # NIH RePORTER (research grants)
2
+ Depth: standard. Key: none. NIH (and AHRQ, CDC centers, FDA, VA) extramural and intramural research awards from the
3
+ RePORTER API v2: one row per project per fiscal year, with organization, investigator, institute, award
4
+ amount and RCDC spending categories; plus publications linked to projects.
5
+
6
+ ## When to use
7
+ - NIH funding by institute, organization, state, investigator, activity code or topic, by fiscal year;
8
+ lists of grants on a topic; publications (PMIDs) of a project.
9
+ - Not here: NIH's official RCDC category totals (published at report.nih.gov; not computed by this API),
10
+ clinical trials (clinical-trials), all federal grants and contracts across agencies (usaspending),
11
+ health outcomes (cdc), drug approvals (fda), industry payments (open-payments).
12
+
13
+ ## Endpoints and datasets
14
+ | Endpoint | Returns | Parameters |
15
+ |---|---|---|
16
+ | `projects` | award rows (POST /projects/search; 500 a page, at most 15,000) | criteria keys below, `include_fields`, `sort_field`, `sort_order` |
17
+ | `publications` | `coreproject, pmid, applid` rows (500 a page, at most 10,000) | `core_project_nums`, `pmids` or `appl_ids` |
18
+
19
+ Criteria keys (put directly in `params`; the adapter builds RePORTER's `criteria` object; a raw
20
+ `criteria` object is merged too): `fiscal_years` [2024], `agencies` ["NCI", "NIA"], `org_states` ["VT"],
21
+ `org_names`, `org_cities`, `activity_codes` ["R01"], `pi_names` [{"last_name": "...", "first_name": "..."}],
22
+ `project_nums`, `appl_ids`, `award_amount_range` {"min_amount", "max_amount"}, `include_active_projects`,
23
+ `covid_response`, `text` or `phrase` (searched in title, terms and abstract; `text_fields` narrows it),
24
+ `spending_categories` (RCDC names or ids: `["Cancer", "Opioids"]`), `exclude_subprojects` (default true).
25
+
26
+ Text search: `text` matches **every word anywhere** in those fields, in any order (RePORTER operator
27
+ `and`), so a two-word topic also returns projects that use both words apart; `phrase` matches the **exact
28
+ phrase** (operator `advanced`, quoted; a list matches any of the phrases). When the user names a topic of
29
+ several words (a disease, a technique), use `phrase`; use `text` for words that may appear apart. The
30
+ fetch note says which was used (verified 2026-10: a two-word disease name, one fiscal year: 312 projects
31
+ with every word, 301 with the phrase).
32
+
33
+ RCDC categories: `request_schema` with `search: "alzheimer"` lists names and ids (308 categories observed
34
+ in live records, e.g. Cancer 132, Breast Cancer 120, Alzheimer's Disease 40, Diabetes 224, HIV/AIDS 284, Opioids 3951,
35
+ Mental Health 443, Cardiovascular 140). Institute codes: NCI, NHLBI, NIDDK, NINDS, NIA, NIAID, NIGMS, NIMH,
36
+ NIDA, NICHD, NEI, NIEHS, NIAAA, NHGRI, NIBIB, NIMHD, NCATS, NLM, FIC, OD (the same search finds them by name).
37
+
38
+ Default `include_fields` (PascalCase, as the API wants): ApplId, ProjectNum, CoreProjectNum,
39
+ SubprojectId, FiscalYear, ProjectTitle, Organization, ContactPiName, AgencyIcAdmin, AgencyIcFundings,
40
+ ActivityCode, FundingMechanism, AwardAmount, DirectCostAmt, IndirectCostAmt, project dates, IsActive,
41
+ SpendingCategoriesDesc, CongDist, ProjectDetailUrl. Add AbstractText or Terms if needed;
42
+ `"include_fields": "all"` returns everything (large). Result columns are snake_case
43
+ (`award_amount`, `organization.org_name`, `agency_ic_admin.abbreviation`).
44
+
45
+ ## Spec examples
46
+ ```json
47
+ {"description": "NCI breast cancer projects at Vermont organizations, FY2024",
48
+ "requests": [{"name": "vt_nci_breast_2024", "endpoint": "projects",
49
+ "params": {"fiscal_years": [2024], "org_states": ["VT"], "agencies": ["NCI"], "phrase": "breast cancer"}}]}
50
+ ```
51
+ ```json
52
+ {"description": "NIA Alzheimer's (RCDC) awards, FY2023 and FY2024",
53
+ "requests": [{"name": "nia_ad_2023", "endpoint": "projects", "params": {"fiscal_years": [2023], "agencies": ["NIA"], "spending_categories": ["Alzheimer's Disease"]}},
54
+ {"name": "nia_ad_2024", "endpoint": "projects", "params": {"fiscal_years": [2024], "agencies": ["NIA"], "spending_categories": ["Alzheimer's Disease"]}}]}
55
+ ```
56
+ ```json
57
+ {"description": "Publications of project R01CA282725",
58
+ "requests": [{"name": "pubs", "endpoint": "publications", "params": {"core_project_nums": ["R01CA282725"]}}]}
59
+ ```
60
+ One request per fiscal year keeps each under the 15,000-record cap and makes the totals easy to check.
61
+
62
+ ## Data format and traps
63
+ - A row is one award (project-year). The same core project can have several rows in a year
64
+ (supplements such as `3P01CA240685-04S1`, revisions). Count projects with `core_project_num`; sum
65
+ `award_amount` over all rows for money.
66
+ - `award_amount` is total cost (direct + indirect) of that award in the fiscal year, in dollars;
67
+ co-funded awards list each institute's share in `agency_ic_fundings` (JSON text). The `agencies`
68
+ criterion selected the administering institute in all 500 rows checked; attribute money by
69
+ `agency_ic_admin` or split by `agency_ic_fundings`, and say which.
70
+ - Multi-project awards: subproject rows repeat money already in the parent's `award_amount` (NCI P01,
71
+ FY2024: 105 parent rows $187,410,847; with subprojects 704 rows, the 599 subproject rows adding
72
+ $187,438,749 of repeated money, verified 2026-10-22). The pack sends `exclude_subprojects: true` unless
73
+ the spec sets it false; never sum both.
74
+ - Fiscal years are federal (October-September). Recent years grow as awards are added during the year.
75
+ - One `projects` search returns at most 15,000 records (offset + limit <= 15,000; limit <= 500, verified).
76
+ A `publications` search returns at most 10,000 (offset above 9,999 answers HTTP 400, verified
77
+ 2026-10-22). The pack stops at the cap with a note ("stopped at N rows"); split by fiscal year, institute
78
+ or state, or split the project numbers / PMIDs over several requests.
79
+ - Paging needs a stable order: unsorted, the order shifts between pages, so rows repeat at a page boundary
80
+ while as many others are skipped (the row count still matches `meta.total`; verified 2026-10-28). The
81
+ pack sorts project searches that may need more than one page (no `max_rows`, or above 500) by `appl_id`
82
+ unless the spec sets `sort_field`, and drops any row repeated across pages with a note that rows may be
83
+ missing. With that default, a cut at `max_rows` keeps the lowest `appl_id`s, not the most relevant rows
84
+ (the note says so): to keep a top N, set `sort_field` (`award_amount`, `desc`); to rank every row, fetch
85
+ them all (no cut) and sort the CSV. A `max_rows` of 500 or less is one page in the API's own order
86
+ (relevance for a text search), so its cut carries no appl_id note.
87
+ - `include_fields` names are PascalCase and case-sensitive; an unknown name is dropped without an error
88
+ (the column is simply absent). Organization fields come as one block: ask for `Organization` (giving
89
+ `organization.org_name`, `organization.org_state`, ...); `OrgName` or `OrgState` return nothing.
90
+ - RCDC tags overlap (a project carries many categories) and NIH's published RCDC totals use its own
91
+ weighting and inclusion rules: a sum of `award_amount` over tagged projects is "funding of projects
92
+ tagged X", not NIH's official category total. Text search is broader and noisier still.
93
+ - RCDC ids: 27 is "Adolescent Sexual Activity", not Cancer (use the category names). A category total
94
+ must sum all rows, not the top 50 awards.
95
+ - Dates are ISO timestamps (`2023-09-19T00:00:00`); `is_active` is True/False text.
96
+
97
+ ## Access
98
+ No key. NIH asks for no more than one request per second and large jobs at night or on weekends
99
+ (api.reporter.nih.gov); the pack sends one per second. `fetch` works when the host answers. Manual
100
+ (`manual_bundle`): the API takes POST requests, so the bundle's download_data.sh / .ps1 scripts (one command)
101
+ are the way to run the same queries elsewhere; upload the JSON files, then `ingest`. Or run the search at
102
+ https://reporter.nih.gov/advanced-search, Export to CSV and upload it (the export uses display column names, not the API names). Bulk files by fiscal year:
103
+ https://reporter.nih.gov/exporter.
104
+
105
+ ## Citation and terms
106
+ "National Institutes of Health, RePORTER: <description>, api.reporter.nih.gov, retrieved <date>."
107
+ U.S. government data in the public domain; redistribution allowed. Abstracts are written by applicants:
108
+ quote briefly.