data-analyst-mcp 0.0.0-stage → 0.3.0

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 +262 -3
  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 +710 -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 +21 -0
  396. package/dist/report/scan_secrets.js +234 -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 +246 -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 +56 -6
  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 +165 -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,1701 @@
1
+ {
2
+ "base_url": "https://api.congress.gov/v3",
3
+ "endpoints": {
4
+ "bills": {
5
+ "path": "/bill/{congress}/{billType}",
6
+ "method": "GET",
7
+ "description": "Bills of one type in a Congress (latest action, title, update date). No keyword search: use govinfo search for text, or title_contains.",
8
+ "params": {
9
+ "congress": {
10
+ "in": "path",
11
+ "required": true,
12
+ "desc": "Congress number, e.g. 118, or 'current'"
13
+ },
14
+ "billType": {
15
+ "in": "path",
16
+ "required": true,
17
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
18
+ "enum": [
19
+ "hr",
20
+ "s",
21
+ "hjres",
22
+ "sjres",
23
+ "hconres",
24
+ "sconres",
25
+ "hres",
26
+ "sres"
27
+ ]
28
+ },
29
+ "fromDateTime": {
30
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
31
+ },
32
+ "toDateTime": {
33
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
34
+ },
35
+ "title_contains": {
36
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
37
+ },
38
+ "sort": {
39
+ "desc": "updateDate+desc (default), updateDate+asc, introducedDate+desc or introducedDate+asc",
40
+ "enum": [
41
+ "updateDate+desc",
42
+ "updateDate+asc",
43
+ "introducedDate+desc",
44
+ "introducedDate+asc"
45
+ ]
46
+ }
47
+ },
48
+ "records": "bills",
49
+ "paging": {
50
+ "type": "offset",
51
+ "limit_param": "limit",
52
+ "offset_param": "offset",
53
+ "size": 250
54
+ },
55
+ "defaults": {
56
+ "format": "json"
57
+ },
58
+ "max_rows": 50000,
59
+ "total": "pagination.count"
60
+ },
61
+ "bills_congress": {
62
+ "path": "/bill/{congress}",
63
+ "method": "GET",
64
+ "description": "Every bill and resolution in a Congress.",
65
+ "params": {
66
+ "congress": {
67
+ "in": "path",
68
+ "required": true,
69
+ "desc": "Congress number, e.g. 118, or 'current'"
70
+ },
71
+ "fromDateTime": {
72
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
73
+ },
74
+ "toDateTime": {
75
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
76
+ },
77
+ "title_contains": {
78
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
79
+ },
80
+ "sort": {
81
+ "desc": "updateDate+desc (default), updateDate+asc, introducedDate+desc or introducedDate+asc",
82
+ "enum": [
83
+ "updateDate+desc",
84
+ "updateDate+asc",
85
+ "introducedDate+desc",
86
+ "introducedDate+asc"
87
+ ]
88
+ }
89
+ },
90
+ "records": "bills",
91
+ "paging": {
92
+ "type": "offset",
93
+ "limit_param": "limit",
94
+ "offset_param": "offset",
95
+ "size": 250
96
+ },
97
+ "defaults": {
98
+ "format": "json"
99
+ },
100
+ "max_rows": 50000,
101
+ "total": "pagination.count"
102
+ },
103
+ "bill": {
104
+ "path": "/bill/{congress}/{billType}/{billNumber}",
105
+ "method": "GET",
106
+ "description": "One bill: title, sponsor, introduced date, policy area, latest action, laws, counts of actions, cosponsors, committees.",
107
+ "params": {
108
+ "congress": {
109
+ "in": "path",
110
+ "required": true,
111
+ "desc": "Congress number, e.g. 118, or 'current'"
112
+ },
113
+ "billType": {
114
+ "in": "path",
115
+ "required": true,
116
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
117
+ "enum": [
118
+ "hr",
119
+ "s",
120
+ "hjres",
121
+ "sjres",
122
+ "hconres",
123
+ "sconres",
124
+ "hres",
125
+ "sres"
126
+ ]
127
+ },
128
+ "billNumber": {
129
+ "in": "path",
130
+ "required": true,
131
+ "desc": "bill number, e.g. 5376"
132
+ }
133
+ },
134
+ "records": "bill",
135
+ "paging": {
136
+ "type": "none"
137
+ },
138
+ "defaults": {
139
+ "format": "json"
140
+ },
141
+ "max_rows": 50000
142
+ },
143
+ "bill_actions": {
144
+ "path": "/bill/{congress}/{billType}/{billNumber}/actions",
145
+ "method": "GET",
146
+ "description": "Every action on a bill (date, text, type, chamber, recorded votes).",
147
+ "params": {
148
+ "congress": {
149
+ "in": "path",
150
+ "required": true,
151
+ "desc": "Congress number, e.g. 118, or 'current'"
152
+ },
153
+ "billType": {
154
+ "in": "path",
155
+ "required": true,
156
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
157
+ "enum": [
158
+ "hr",
159
+ "s",
160
+ "hjres",
161
+ "sjres",
162
+ "hconres",
163
+ "sconres",
164
+ "hres",
165
+ "sres"
166
+ ]
167
+ },
168
+ "billNumber": {
169
+ "in": "path",
170
+ "required": true,
171
+ "desc": "bill number, e.g. 5376"
172
+ }
173
+ },
174
+ "records": "actions",
175
+ "paging": {
176
+ "type": "offset",
177
+ "limit_param": "limit",
178
+ "offset_param": "offset",
179
+ "size": 250
180
+ },
181
+ "defaults": {
182
+ "format": "json"
183
+ },
184
+ "max_rows": 50000,
185
+ "total": "pagination.count"
186
+ },
187
+ "bill_cosponsors": {
188
+ "path": "/bill/{congress}/{billType}/{billNumber}/cosponsors",
189
+ "method": "GET",
190
+ "description": "Cosponsors with party, state, date, original cosponsor flag, withdrawal date.",
191
+ "params": {
192
+ "congress": {
193
+ "in": "path",
194
+ "required": true,
195
+ "desc": "Congress number, e.g. 118, or 'current'"
196
+ },
197
+ "billType": {
198
+ "in": "path",
199
+ "required": true,
200
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
201
+ "enum": [
202
+ "hr",
203
+ "s",
204
+ "hjres",
205
+ "sjres",
206
+ "hconres",
207
+ "sconres",
208
+ "hres",
209
+ "sres"
210
+ ]
211
+ },
212
+ "billNumber": {
213
+ "in": "path",
214
+ "required": true,
215
+ "desc": "bill number, e.g. 5376"
216
+ }
217
+ },
218
+ "records": "cosponsors",
219
+ "paging": {
220
+ "type": "offset",
221
+ "limit_param": "limit",
222
+ "offset_param": "offset",
223
+ "size": 250
224
+ },
225
+ "defaults": {
226
+ "format": "json"
227
+ },
228
+ "max_rows": 50000,
229
+ "total": "pagination.count"
230
+ },
231
+ "bill_committees": {
232
+ "path": "/bill/{congress}/{billType}/{billNumber}/committees",
233
+ "method": "GET",
234
+ "description": "Committees and their activities (referred, reported, markup).",
235
+ "params": {
236
+ "congress": {
237
+ "in": "path",
238
+ "required": true,
239
+ "desc": "Congress number, e.g. 118, or 'current'"
240
+ },
241
+ "billType": {
242
+ "in": "path",
243
+ "required": true,
244
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
245
+ "enum": [
246
+ "hr",
247
+ "s",
248
+ "hjres",
249
+ "sjres",
250
+ "hconres",
251
+ "sconres",
252
+ "hres",
253
+ "sres"
254
+ ]
255
+ },
256
+ "billNumber": {
257
+ "in": "path",
258
+ "required": true,
259
+ "desc": "bill number, e.g. 5376"
260
+ }
261
+ },
262
+ "records": "committees",
263
+ "paging": {
264
+ "type": "offset",
265
+ "limit_param": "limit",
266
+ "offset_param": "offset",
267
+ "size": 250
268
+ },
269
+ "defaults": {
270
+ "format": "json"
271
+ },
272
+ "max_rows": 50000,
273
+ "total": "pagination.count"
274
+ },
275
+ "bill_subjects": {
276
+ "path": "/bill/{congress}/{billType}/{billNumber}/subjects",
277
+ "method": "GET",
278
+ "description": "Legislative subject terms (the policy area is in 'bill').",
279
+ "params": {
280
+ "congress": {
281
+ "in": "path",
282
+ "required": true,
283
+ "desc": "Congress number, e.g. 118, or 'current'"
284
+ },
285
+ "billType": {
286
+ "in": "path",
287
+ "required": true,
288
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
289
+ "enum": [
290
+ "hr",
291
+ "s",
292
+ "hjres",
293
+ "sjres",
294
+ "hconres",
295
+ "sconres",
296
+ "hres",
297
+ "sres"
298
+ ]
299
+ },
300
+ "billNumber": {
301
+ "in": "path",
302
+ "required": true,
303
+ "desc": "bill number, e.g. 5376"
304
+ }
305
+ },
306
+ "records": "subjects.legislativeSubjects",
307
+ "paging": {
308
+ "type": "offset",
309
+ "limit_param": "limit",
310
+ "offset_param": "offset",
311
+ "size": 250
312
+ },
313
+ "defaults": {
314
+ "format": "json"
315
+ },
316
+ "max_rows": 50000,
317
+ "total": "pagination.count"
318
+ },
319
+ "bill_summaries": {
320
+ "path": "/bill/{congress}/{billType}/{billNumber}/summaries",
321
+ "method": "GET",
322
+ "description": "CRS summaries of each version (HTML text plus text_plain).",
323
+ "params": {
324
+ "congress": {
325
+ "in": "path",
326
+ "required": true,
327
+ "desc": "Congress number, e.g. 118, or 'current'"
328
+ },
329
+ "billType": {
330
+ "in": "path",
331
+ "required": true,
332
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
333
+ "enum": [
334
+ "hr",
335
+ "s",
336
+ "hjres",
337
+ "sjres",
338
+ "hconres",
339
+ "sconres",
340
+ "hres",
341
+ "sres"
342
+ ]
343
+ },
344
+ "billNumber": {
345
+ "in": "path",
346
+ "required": true,
347
+ "desc": "bill number, e.g. 5376"
348
+ }
349
+ },
350
+ "records": "summaries",
351
+ "paging": {
352
+ "type": "offset",
353
+ "limit_param": "limit",
354
+ "offset_param": "offset",
355
+ "size": 250
356
+ },
357
+ "defaults": {
358
+ "format": "json"
359
+ },
360
+ "max_rows": 50000,
361
+ "total": "pagination.count"
362
+ },
363
+ "bill_text": {
364
+ "path": "/bill/{congress}/{billType}/{billNumber}/text",
365
+ "method": "GET",
366
+ "description": "Text versions with links to PDF, HTML and XML.",
367
+ "params": {
368
+ "congress": {
369
+ "in": "path",
370
+ "required": true,
371
+ "desc": "Congress number, e.g. 118, or 'current'"
372
+ },
373
+ "billType": {
374
+ "in": "path",
375
+ "required": true,
376
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
377
+ "enum": [
378
+ "hr",
379
+ "s",
380
+ "hjres",
381
+ "sjres",
382
+ "hconres",
383
+ "sconres",
384
+ "hres",
385
+ "sres"
386
+ ]
387
+ },
388
+ "billNumber": {
389
+ "in": "path",
390
+ "required": true,
391
+ "desc": "bill number, e.g. 5376"
392
+ }
393
+ },
394
+ "records": "textVersions",
395
+ "paging": {
396
+ "type": "offset",
397
+ "limit_param": "limit",
398
+ "offset_param": "offset",
399
+ "size": 250
400
+ },
401
+ "defaults": {
402
+ "format": "json"
403
+ },
404
+ "max_rows": 50000,
405
+ "total": "pagination.count"
406
+ },
407
+ "bill_titles": {
408
+ "path": "/bill/{congress}/{billType}/{billNumber}/titles",
409
+ "method": "GET",
410
+ "description": "Official, short and popular titles.",
411
+ "params": {
412
+ "congress": {
413
+ "in": "path",
414
+ "required": true,
415
+ "desc": "Congress number, e.g. 118, or 'current'"
416
+ },
417
+ "billType": {
418
+ "in": "path",
419
+ "required": true,
420
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
421
+ "enum": [
422
+ "hr",
423
+ "s",
424
+ "hjres",
425
+ "sjres",
426
+ "hconres",
427
+ "sconres",
428
+ "hres",
429
+ "sres"
430
+ ]
431
+ },
432
+ "billNumber": {
433
+ "in": "path",
434
+ "required": true,
435
+ "desc": "bill number, e.g. 5376"
436
+ }
437
+ },
438
+ "records": "titles",
439
+ "paging": {
440
+ "type": "offset",
441
+ "limit_param": "limit",
442
+ "offset_param": "offset",
443
+ "size": 250
444
+ },
445
+ "defaults": {
446
+ "format": "json"
447
+ },
448
+ "max_rows": 50000,
449
+ "total": "pagination.count"
450
+ },
451
+ "bill_related": {
452
+ "path": "/bill/{congress}/{billType}/{billNumber}/relatedbills",
453
+ "method": "GET",
454
+ "description": "Related bills (identical, companion, procedurally related).",
455
+ "params": {
456
+ "congress": {
457
+ "in": "path",
458
+ "required": true,
459
+ "desc": "Congress number, e.g. 118, or 'current'"
460
+ },
461
+ "billType": {
462
+ "in": "path",
463
+ "required": true,
464
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
465
+ "enum": [
466
+ "hr",
467
+ "s",
468
+ "hjres",
469
+ "sjres",
470
+ "hconres",
471
+ "sconres",
472
+ "hres",
473
+ "sres"
474
+ ]
475
+ },
476
+ "billNumber": {
477
+ "in": "path",
478
+ "required": true,
479
+ "desc": "bill number, e.g. 5376"
480
+ }
481
+ },
482
+ "records": "relatedBills",
483
+ "paging": {
484
+ "type": "offset",
485
+ "limit_param": "limit",
486
+ "offset_param": "offset",
487
+ "size": 250
488
+ },
489
+ "defaults": {
490
+ "format": "json"
491
+ },
492
+ "max_rows": 50000,
493
+ "total": "pagination.count"
494
+ },
495
+ "bill_amendments": {
496
+ "path": "/bill/{congress}/{billType}/{billNumber}/amendments",
497
+ "method": "GET",
498
+ "description": "Amendments to a bill.",
499
+ "params": {
500
+ "congress": {
501
+ "in": "path",
502
+ "required": true,
503
+ "desc": "Congress number, e.g. 118, or 'current'"
504
+ },
505
+ "billType": {
506
+ "in": "path",
507
+ "required": true,
508
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
509
+ "enum": [
510
+ "hr",
511
+ "s",
512
+ "hjres",
513
+ "sjres",
514
+ "hconres",
515
+ "sconres",
516
+ "hres",
517
+ "sres"
518
+ ]
519
+ },
520
+ "billNumber": {
521
+ "in": "path",
522
+ "required": true,
523
+ "desc": "bill number, e.g. 5376"
524
+ }
525
+ },
526
+ "records": "amendments",
527
+ "paging": {
528
+ "type": "offset",
529
+ "limit_param": "limit",
530
+ "offset_param": "offset",
531
+ "size": 250
532
+ },
533
+ "defaults": {
534
+ "format": "json"
535
+ },
536
+ "max_rows": 50000,
537
+ "total": "pagination.count"
538
+ },
539
+ "bill_cbo_estimates": {
540
+ "path": "/bill/{congress}/{billType}/{billNumber}",
541
+ "method": "GET",
542
+ "description": "Titles, dates and cbo.gov links of the budget office's cost estimates listed for a bill (links only, no dollar figures).",
543
+ "params": {
544
+ "congress": {
545
+ "in": "path",
546
+ "required": true,
547
+ "desc": "Congress number, e.g. 118, or 'current'"
548
+ },
549
+ "billType": {
550
+ "in": "path",
551
+ "required": true,
552
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
553
+ "enum": [
554
+ "hr",
555
+ "s",
556
+ "hjres",
557
+ "sjres",
558
+ "hconres",
559
+ "sconres",
560
+ "hres",
561
+ "sres"
562
+ ]
563
+ },
564
+ "billNumber": {
565
+ "in": "path",
566
+ "required": true,
567
+ "desc": "bill number, e.g. 5376"
568
+ }
569
+ },
570
+ "records": "bill.cboCostEstimates",
571
+ "paging": {
572
+ "type": "none"
573
+ },
574
+ "defaults": {
575
+ "format": "json"
576
+ },
577
+ "max_rows": 50000
578
+ },
579
+ "bill_votes": {
580
+ "path": "/bill/{congress}/{billType}/{billNumber}/actions",
581
+ "method": "GET",
582
+ "description": "Roll-call votes on a bill: one row per vote with totals by party, read from the House Clerk and Senate XML that the bill's actions point to; members=true gives one row per member per vote.",
583
+ "params": {
584
+ "congress": {
585
+ "in": "path",
586
+ "required": true,
587
+ "desc": "Congress number, e.g. 118, or 'current'"
588
+ },
589
+ "billType": {
590
+ "in": "path",
591
+ "required": true,
592
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
593
+ "enum": [
594
+ "hr",
595
+ "s",
596
+ "hjres",
597
+ "sjres",
598
+ "hconres",
599
+ "sconres",
600
+ "hres",
601
+ "sres"
602
+ ]
603
+ },
604
+ "billNumber": {
605
+ "in": "path",
606
+ "required": true,
607
+ "desc": "bill number, e.g. 5376"
608
+ },
609
+ "members": {
610
+ "desc": "true = one row per member per vote"
611
+ },
612
+ "chamber": {
613
+ "desc": "house | senate (default both)"
614
+ }
615
+ },
616
+ "records": "actions",
617
+ "paging": {
618
+ "type": "none"
619
+ },
620
+ "defaults": {
621
+ "format": "json"
622
+ },
623
+ "max_rows": 50000
624
+ },
625
+ "laws": {
626
+ "path": "/law/{congress}/{lawType}",
627
+ "method": "GET",
628
+ "description": "Public or private laws enacted in a Congress.",
629
+ "params": {
630
+ "congress": {
631
+ "in": "path",
632
+ "required": true,
633
+ "desc": "Congress number, e.g. 118, or 'current'"
634
+ },
635
+ "lawType": {
636
+ "in": "path",
637
+ "required": true,
638
+ "desc": "pub | priv",
639
+ "enum": [
640
+ "pub",
641
+ "priv"
642
+ ]
643
+ },
644
+ "title_contains": {
645
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
646
+ }
647
+ },
648
+ "records": "bills",
649
+ "paging": {
650
+ "type": "offset",
651
+ "limit_param": "limit",
652
+ "offset_param": "offset",
653
+ "size": 250
654
+ },
655
+ "defaults": {
656
+ "format": "json"
657
+ },
658
+ "max_rows": 50000,
659
+ "total": "pagination.count"
660
+ },
661
+ "laws_congress": {
662
+ "path": "/law/{congress}",
663
+ "method": "GET",
664
+ "description": "All laws enacted in a Congress.",
665
+ "params": {
666
+ "congress": {
667
+ "in": "path",
668
+ "required": true,
669
+ "desc": "Congress number, e.g. 118, or 'current'"
670
+ },
671
+ "title_contains": {
672
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
673
+ }
674
+ },
675
+ "records": "bills",
676
+ "paging": {
677
+ "type": "offset",
678
+ "limit_param": "limit",
679
+ "offset_param": "offset",
680
+ "size": 250
681
+ },
682
+ "defaults": {
683
+ "format": "json"
684
+ },
685
+ "max_rows": 50000,
686
+ "total": "pagination.count"
687
+ },
688
+ "summaries": {
689
+ "path": "/summaries/{congress}/{billType}",
690
+ "method": "GET",
691
+ "description": "CRS bill summaries published or updated in a period (newest first).",
692
+ "params": {
693
+ "congress": {
694
+ "in": "path",
695
+ "required": true,
696
+ "desc": "Congress number, e.g. 118, or 'current'"
697
+ },
698
+ "billType": {
699
+ "in": "path",
700
+ "required": true,
701
+ "desc": "hr | s | hjres | sjres | hconres | sconres | hres | sres",
702
+ "enum": [
703
+ "hr",
704
+ "s",
705
+ "hjres",
706
+ "sjres",
707
+ "hconres",
708
+ "sconres",
709
+ "hres",
710
+ "sres"
711
+ ]
712
+ },
713
+ "fromDateTime": {
714
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
715
+ },
716
+ "toDateTime": {
717
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
718
+ },
719
+ "sort": {
720
+ "desc": "updateDate+desc (default)"
721
+ }
722
+ },
723
+ "records": "summaries",
724
+ "paging": {
725
+ "type": "offset",
726
+ "limit_param": "limit",
727
+ "offset_param": "offset",
728
+ "size": 250
729
+ },
730
+ "defaults": {
731
+ "format": "json"
732
+ },
733
+ "max_rows": 50000,
734
+ "total": "pagination.count"
735
+ },
736
+ "house_votes": {
737
+ "path": "/house-vote/{congress}/{session}",
738
+ "method": "GET",
739
+ "description": "House roll-call votes in a session (118th Congress on; older: roll_call with the Clerk XML).",
740
+ "params": {
741
+ "congress": {
742
+ "in": "path",
743
+ "required": true,
744
+ "desc": "Congress number, e.g. 118, or 'current'"
745
+ },
746
+ "session": {
747
+ "in": "path",
748
+ "required": true,
749
+ "desc": "1 or 2"
750
+ }
751
+ },
752
+ "records": "houseRollCallVotes",
753
+ "paging": {
754
+ "type": "offset",
755
+ "limit_param": "limit",
756
+ "offset_param": "offset",
757
+ "size": 250
758
+ },
759
+ "defaults": {
760
+ "format": "json"
761
+ },
762
+ "max_rows": 50000,
763
+ "total": "pagination.count"
764
+ },
765
+ "house_vote": {
766
+ "path": "/house-vote/{congress}/{session}/{voteNumber}",
767
+ "method": "GET",
768
+ "description": "One House vote with totals by party (118th Congress on).",
769
+ "params": {
770
+ "congress": {
771
+ "in": "path",
772
+ "required": true,
773
+ "desc": "Congress number, e.g. 118, or 'current'"
774
+ },
775
+ "session": {
776
+ "in": "path",
777
+ "required": true,
778
+ "desc": "1 or 2"
779
+ },
780
+ "voteNumber": {
781
+ "in": "path",
782
+ "required": true,
783
+ "desc": "roll number"
784
+ }
785
+ },
786
+ "records": "houseRollCallVote.votePartyTotal",
787
+ "paging": {
788
+ "type": "none"
789
+ },
790
+ "defaults": {
791
+ "format": "json"
792
+ },
793
+ "max_rows": 50000
794
+ },
795
+ "roll_call": {
796
+ "path": "/roll_call",
797
+ "method": "GET",
798
+ "description": "One roll-call vote, one row per member (House 1990 on from clerk.house.gov, Senate 1989 on from senate.gov); summary=true gives one row for the vote itself.",
799
+ "params": {
800
+ "chamber": {
801
+ "required": true,
802
+ "desc": "house | senate",
803
+ "enum": [
804
+ "house",
805
+ "senate"
806
+ ]
807
+ },
808
+ "roll": {
809
+ "required": true,
810
+ "desc": "roll-call (vote) number"
811
+ },
812
+ "congress": {
813
+ "desc": "Congress number (Senate: required)"
814
+ },
815
+ "session": {
816
+ "desc": "1 or 2 (Senate: required)"
817
+ },
818
+ "year": {
819
+ "desc": "House: calendar year (or give congress + session)"
820
+ },
821
+ "summary": {
822
+ "desc": "true: one row for the vote (question, result, vote type, totals) instead of one per member"
823
+ }
824
+ },
825
+ "records": "",
826
+ "paging": {
827
+ "type": "none"
828
+ },
829
+ "defaults": {
830
+ "format": "json"
831
+ },
832
+ "max_rows": 50000
833
+ },
834
+ "senate_votes": {
835
+ "path": "/senate_votes",
836
+ "method": "GET",
837
+ "description": "Senate roll-call votes in a session (vote list from senate.gov: number, date, issue, question, result, yeas, nays; en_bloc counts nominations voted together).",
838
+ "params": {
839
+ "congress": {
840
+ "required": true,
841
+ "desc": "Congress number, 101 on"
842
+ },
843
+ "session": {
844
+ "required": true,
845
+ "desc": "1 or 2"
846
+ }
847
+ },
848
+ "records": "",
849
+ "paging": {
850
+ "type": "none"
851
+ },
852
+ "defaults": {
853
+ "format": "json"
854
+ },
855
+ "max_rows": 50000
856
+ },
857
+ "members": {
858
+ "path": "/member",
859
+ "method": "GET",
860
+ "description": "Members of Congress (all time); currentMember=true for those serving now.",
861
+ "params": {
862
+ "currentMember": {
863
+ "desc": "true | false"
864
+ },
865
+ "fromDateTime": {
866
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
867
+ },
868
+ "toDateTime": {
869
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
870
+ }
871
+ },
872
+ "records": "members",
873
+ "paging": {
874
+ "type": "offset",
875
+ "limit_param": "limit",
876
+ "offset_param": "offset",
877
+ "size": 250
878
+ },
879
+ "defaults": {
880
+ "format": "json"
881
+ },
882
+ "max_rows": 50000,
883
+ "total": "pagination.count"
884
+ },
885
+ "members_congress": {
886
+ "path": "/member/congress/{congress}",
887
+ "method": "GET",
888
+ "description": "Everyone who served in a Congress (both chambers).",
889
+ "params": {
890
+ "congress": {
891
+ "in": "path",
892
+ "required": true,
893
+ "desc": "Congress number, e.g. 118, or 'current'"
894
+ },
895
+ "currentMember": {
896
+ "desc": "true | false"
897
+ }
898
+ },
899
+ "records": "members",
900
+ "paging": {
901
+ "type": "offset",
902
+ "limit_param": "limit",
903
+ "offset_param": "offset",
904
+ "size": 250
905
+ },
906
+ "defaults": {
907
+ "format": "json"
908
+ },
909
+ "max_rows": 50000,
910
+ "total": "pagination.count"
911
+ },
912
+ "members_state": {
913
+ "path": "/member/congress/{congress}/{stateCode}",
914
+ "method": "GET",
915
+ "description": "Members from one state in a Congress.",
916
+ "params": {
917
+ "congress": {
918
+ "in": "path",
919
+ "required": true,
920
+ "desc": "Congress number, e.g. 118, or 'current'"
921
+ },
922
+ "stateCode": {
923
+ "in": "path",
924
+ "required": true,
925
+ "desc": "two-letter, e.g. MD"
926
+ },
927
+ "currentMember": {
928
+ "desc": "true | false"
929
+ }
930
+ },
931
+ "records": "members",
932
+ "paging": {
933
+ "type": "offset",
934
+ "limit_param": "limit",
935
+ "offset_param": "offset",
936
+ "size": 250
937
+ },
938
+ "defaults": {
939
+ "format": "json"
940
+ },
941
+ "max_rows": 50000,
942
+ "total": "pagination.count"
943
+ },
944
+ "members_district": {
945
+ "path": "/member/congress/{congress}/{stateCode}/{district}",
946
+ "method": "GET",
947
+ "description": "Members for one House district in a Congress.",
948
+ "params": {
949
+ "congress": {
950
+ "in": "path",
951
+ "required": true,
952
+ "desc": "Congress number, e.g. 118, or 'current'"
953
+ },
954
+ "stateCode": {
955
+ "in": "path",
956
+ "required": true,
957
+ "desc": "two-letter"
958
+ },
959
+ "district": {
960
+ "in": "path",
961
+ "required": true,
962
+ "desc": "district number (0 at large)"
963
+ }
964
+ },
965
+ "records": "members",
966
+ "paging": {
967
+ "type": "offset",
968
+ "limit_param": "limit",
969
+ "offset_param": "offset",
970
+ "size": 250
971
+ },
972
+ "defaults": {
973
+ "format": "json"
974
+ },
975
+ "max_rows": 50000,
976
+ "total": "pagination.count"
977
+ },
978
+ "member": {
979
+ "path": "/member/{bioguideId}",
980
+ "method": "GET",
981
+ "description": "One member: terms, party history, leadership, counts of sponsored and cosponsored bills.",
982
+ "params": {
983
+ "bioguideId": {
984
+ "in": "path",
985
+ "required": true,
986
+ "desc": "e.g. P000197"
987
+ }
988
+ },
989
+ "records": "member",
990
+ "paging": {
991
+ "type": "none"
992
+ },
993
+ "defaults": {
994
+ "format": "json"
995
+ },
996
+ "max_rows": 50000
997
+ },
998
+ "member_sponsored": {
999
+ "path": "/member/{bioguideId}/sponsored-legislation",
1000
+ "method": "GET",
1001
+ "description": "Bills and amendments a member sponsored.",
1002
+ "params": {
1003
+ "bioguideId": {
1004
+ "in": "path",
1005
+ "required": true,
1006
+ "desc": "bioguide id"
1007
+ }
1008
+ },
1009
+ "records": "sponsoredLegislation",
1010
+ "paging": {
1011
+ "type": "offset",
1012
+ "limit_param": "limit",
1013
+ "offset_param": "offset",
1014
+ "size": 250
1015
+ },
1016
+ "defaults": {
1017
+ "format": "json"
1018
+ },
1019
+ "max_rows": 50000,
1020
+ "total": "pagination.count"
1021
+ },
1022
+ "member_cosponsored": {
1023
+ "path": "/member/{bioguideId}/cosponsored-legislation",
1024
+ "method": "GET",
1025
+ "description": "Bills and amendments a member cosponsored.",
1026
+ "params": {
1027
+ "bioguideId": {
1028
+ "in": "path",
1029
+ "required": true,
1030
+ "desc": "bioguide id"
1031
+ }
1032
+ },
1033
+ "records": "cosponsoredLegislation",
1034
+ "paging": {
1035
+ "type": "offset",
1036
+ "limit_param": "limit",
1037
+ "offset_param": "offset",
1038
+ "size": 250
1039
+ },
1040
+ "defaults": {
1041
+ "format": "json"
1042
+ },
1043
+ "max_rows": 50000,
1044
+ "total": "pagination.count"
1045
+ },
1046
+ "committees": {
1047
+ "path": "/committee/{congress}/{chamber}",
1048
+ "method": "GET",
1049
+ "description": "Committees and subcommittees in a Congress.",
1050
+ "params": {
1051
+ "congress": {
1052
+ "in": "path",
1053
+ "required": true,
1054
+ "desc": "Congress number, e.g. 118, or 'current'"
1055
+ },
1056
+ "chamber": {
1057
+ "in": "path",
1058
+ "required": true,
1059
+ "desc": "house | senate | joint",
1060
+ "enum": [
1061
+ "house",
1062
+ "senate",
1063
+ "joint"
1064
+ ]
1065
+ }
1066
+ },
1067
+ "records": "committees",
1068
+ "paging": {
1069
+ "type": "offset",
1070
+ "limit_param": "limit",
1071
+ "offset_param": "offset",
1072
+ "size": 250
1073
+ },
1074
+ "defaults": {
1075
+ "format": "json"
1076
+ },
1077
+ "max_rows": 50000,
1078
+ "total": "pagination.count"
1079
+ },
1080
+ "committee": {
1081
+ "path": "/committee/{chamber}/{committeeCode}",
1082
+ "method": "GET",
1083
+ "description": "One committee: history, subcommittees, counts of bills and reports.",
1084
+ "params": {
1085
+ "chamber": {
1086
+ "in": "path",
1087
+ "required": true,
1088
+ "desc": "house | senate | joint"
1089
+ },
1090
+ "committeeCode": {
1091
+ "in": "path",
1092
+ "required": true,
1093
+ "desc": "system code, e.g. hsba00, ssfi00"
1094
+ }
1095
+ },
1096
+ "records": "committee",
1097
+ "paging": {
1098
+ "type": "none"
1099
+ },
1100
+ "defaults": {
1101
+ "format": "json"
1102
+ },
1103
+ "max_rows": 50000
1104
+ },
1105
+ "committee_bills": {
1106
+ "path": "/committee/{chamber}/{committeeCode}/bills",
1107
+ "method": "GET",
1108
+ "description": "Bills referred to or reported by a committee (all Congresses; committee_bills_congress for one).",
1109
+ "params": {
1110
+ "chamber": {
1111
+ "in": "path",
1112
+ "required": true,
1113
+ "desc": "house | senate | joint"
1114
+ },
1115
+ "committeeCode": {
1116
+ "in": "path",
1117
+ "required": true,
1118
+ "desc": "system code"
1119
+ },
1120
+ "fromDateTime": {
1121
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1122
+ },
1123
+ "toDateTime": {
1124
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1125
+ }
1126
+ },
1127
+ "records": "committee-bills.bills",
1128
+ "paging": {
1129
+ "type": "offset",
1130
+ "limit_param": "limit",
1131
+ "offset_param": "offset",
1132
+ "size": 250
1133
+ },
1134
+ "defaults": {
1135
+ "format": "json"
1136
+ },
1137
+ "max_rows": 50000,
1138
+ "total": "pagination.count"
1139
+ },
1140
+ "committee_bills_congress": {
1141
+ "path": "/committee/{congress}/{chamber}/{committeeCode}/bills",
1142
+ "method": "GET",
1143
+ "description": "Bills referred to or reported by a committee in one Congress (same rows as committee_bills).",
1144
+ "params": {
1145
+ "congress": {
1146
+ "in": "path",
1147
+ "required": true,
1148
+ "desc": "Congress number, e.g. 118, or 'current'"
1149
+ },
1150
+ "chamber": {
1151
+ "in": "path",
1152
+ "required": true,
1153
+ "desc": "house | senate | joint"
1154
+ },
1155
+ "committeeCode": {
1156
+ "in": "path",
1157
+ "required": true,
1158
+ "desc": "system code"
1159
+ },
1160
+ "fromDateTime": {
1161
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1162
+ },
1163
+ "toDateTime": {
1164
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1165
+ }
1166
+ },
1167
+ "records": "committee-bills.bills",
1168
+ "paging": {
1169
+ "type": "offset",
1170
+ "limit_param": "limit",
1171
+ "offset_param": "offset",
1172
+ "size": 250
1173
+ },
1174
+ "defaults": {
1175
+ "format": "json"
1176
+ },
1177
+ "max_rows": 50000,
1178
+ "total": "pagination.count"
1179
+ },
1180
+ "committee_reports": {
1181
+ "path": "/committee-report/{congress}/{reportType}",
1182
+ "method": "GET",
1183
+ "description": "Committee reports in a Congress (citation, number, chamber).",
1184
+ "params": {
1185
+ "congress": {
1186
+ "in": "path",
1187
+ "required": true,
1188
+ "desc": "Congress number, e.g. 118, or 'current'"
1189
+ },
1190
+ "reportType": {
1191
+ "in": "path",
1192
+ "required": true,
1193
+ "desc": "hrpt | srpt | erpt",
1194
+ "enum": [
1195
+ "hrpt",
1196
+ "srpt",
1197
+ "erpt"
1198
+ ]
1199
+ },
1200
+ "fromDateTime": {
1201
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1202
+ },
1203
+ "toDateTime": {
1204
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1205
+ }
1206
+ },
1207
+ "records": "reports",
1208
+ "paging": {
1209
+ "type": "offset",
1210
+ "limit_param": "limit",
1211
+ "offset_param": "offset",
1212
+ "size": 250
1213
+ },
1214
+ "defaults": {
1215
+ "format": "json"
1216
+ },
1217
+ "max_rows": 50000,
1218
+ "total": "pagination.count"
1219
+ },
1220
+ "hearing": {
1221
+ "path": "/hearing/{congress}/{chamber}/{jacketNumber}",
1222
+ "method": "GET",
1223
+ "description": "One printed hearing: title, dates held, committees, citation and formats (jacket number from the hearings list).",
1224
+ "params": {
1225
+ "congress": {
1226
+ "in": "path",
1227
+ "required": true,
1228
+ "desc": "Congress number, e.g. 118"
1229
+ },
1230
+ "chamber": {
1231
+ "in": "path",
1232
+ "required": true,
1233
+ "desc": "house | senate | nochamber"
1234
+ },
1235
+ "jacketNumber": {
1236
+ "in": "path",
1237
+ "required": true,
1238
+ "desc": "jacket number from the hearings list, e.g. 52250"
1239
+ }
1240
+ },
1241
+ "records": "hearing",
1242
+ "paging": {
1243
+ "type": "none"
1244
+ },
1245
+ "defaults": {
1246
+ "format": "json"
1247
+ },
1248
+ "max_rows": 50000
1249
+ },
1250
+ "hearings": {
1251
+ "path": "/hearing/{congress}/{chamber}",
1252
+ "method": "GET",
1253
+ "description": "Printed hearings in a Congress (jacket number; dates, committees and title need the hearing endpoint).",
1254
+ "params": {
1255
+ "congress": {
1256
+ "in": "path",
1257
+ "required": true,
1258
+ "desc": "Congress number, e.g. 118, or 'current'"
1259
+ },
1260
+ "chamber": {
1261
+ "in": "path",
1262
+ "required": true,
1263
+ "desc": "house | senate | nochamber"
1264
+ }
1265
+ },
1266
+ "records": "hearings",
1267
+ "paging": {
1268
+ "type": "offset",
1269
+ "limit_param": "limit",
1270
+ "offset_param": "offset",
1271
+ "size": 250
1272
+ },
1273
+ "defaults": {
1274
+ "format": "json"
1275
+ },
1276
+ "max_rows": 50000,
1277
+ "total": "pagination.count"
1278
+ },
1279
+ "committee_meetings": {
1280
+ "path": "/committee-meeting/{congress}/{chamber}",
1281
+ "method": "GET",
1282
+ "description": "Committee meetings (hearings, markups, business meetings) of a chamber in a Congress: eventId only; date, type and committee are in committee_meeting.",
1283
+ "params": {
1284
+ "congress": {
1285
+ "in": "path",
1286
+ "required": true,
1287
+ "desc": "Congress number, e.g. 118, or 'current'"
1288
+ },
1289
+ "chamber": {
1290
+ "in": "path",
1291
+ "required": true,
1292
+ "desc": "house | senate | nochamber",
1293
+ "enum": [
1294
+ "house",
1295
+ "senate",
1296
+ "nochamber"
1297
+ ]
1298
+ },
1299
+ "fromDateTime": {
1300
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1301
+ },
1302
+ "toDateTime": {
1303
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1304
+ }
1305
+ },
1306
+ "records": "committeeMeetings",
1307
+ "paging": {
1308
+ "type": "offset",
1309
+ "limit_param": "limit",
1310
+ "offset_param": "offset",
1311
+ "size": 250
1312
+ },
1313
+ "defaults": {
1314
+ "format": "json"
1315
+ },
1316
+ "max_rows": 50000,
1317
+ "total": "pagination.count"
1318
+ },
1319
+ "committee_meeting": {
1320
+ "path": "/committee-meeting/{congress}/{chamber}/{eventId}",
1321
+ "method": "GET",
1322
+ "description": "One committee meeting: date, type (Hearing, Markup, Meeting), title, committees, status, witnesses.",
1323
+ "params": {
1324
+ "congress": {
1325
+ "in": "path",
1326
+ "required": true,
1327
+ "desc": "Congress number, e.g. 118, or 'current'"
1328
+ },
1329
+ "chamber": {
1330
+ "in": "path",
1331
+ "required": true,
1332
+ "desc": "house | senate | nochamber",
1333
+ "enum": [
1334
+ "house",
1335
+ "senate",
1336
+ "nochamber"
1337
+ ]
1338
+ },
1339
+ "eventId": {
1340
+ "in": "path",
1341
+ "required": true,
1342
+ "desc": "event id from committee_meetings"
1343
+ }
1344
+ },
1345
+ "records": "committeeMeeting",
1346
+ "paging": {
1347
+ "type": "none"
1348
+ },
1349
+ "defaults": {
1350
+ "format": "json"
1351
+ },
1352
+ "max_rows": 50000
1353
+ },
1354
+ "nominations": {
1355
+ "path": "/nomination/{congress}",
1356
+ "method": "GET",
1357
+ "description": "Presidential nominations received in a Congress (citation, organization, received date, latest action).",
1358
+ "params": {
1359
+ "congress": {
1360
+ "in": "path",
1361
+ "required": true,
1362
+ "desc": "Congress number, e.g. 118, or 'current'"
1363
+ },
1364
+ "fromDateTime": {
1365
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1366
+ },
1367
+ "toDateTime": {
1368
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1369
+ },
1370
+ "title_contains": {
1371
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
1372
+ }
1373
+ },
1374
+ "records": "nominations",
1375
+ "paging": {
1376
+ "type": "offset",
1377
+ "limit_param": "limit",
1378
+ "offset_param": "offset",
1379
+ "size": 250
1380
+ },
1381
+ "defaults": {
1382
+ "format": "json"
1383
+ },
1384
+ "max_rows": 50000,
1385
+ "total": "pagination.count"
1386
+ },
1387
+ "nomination": {
1388
+ "path": "/nomination/{congress}/{nominationNumber}",
1389
+ "method": "GET",
1390
+ "description": "One nomination: nominees, position, committees, latest action.",
1391
+ "params": {
1392
+ "congress": {
1393
+ "in": "path",
1394
+ "required": true,
1395
+ "desc": "Congress number, e.g. 118, or 'current'"
1396
+ },
1397
+ "nominationNumber": {
1398
+ "in": "path",
1399
+ "required": true,
1400
+ "desc": "PN number without PN, e.g. 2"
1401
+ }
1402
+ },
1403
+ "records": "nomination",
1404
+ "paging": {
1405
+ "type": "none"
1406
+ },
1407
+ "defaults": {
1408
+ "format": "json"
1409
+ },
1410
+ "max_rows": 50000
1411
+ },
1412
+ "nomination_actions": {
1413
+ "path": "/nomination/{congress}/{nominationNumber}/actions",
1414
+ "method": "GET",
1415
+ "description": "Actions on a nomination (referral, hearing, cloture, confirmation vote).",
1416
+ "params": {
1417
+ "congress": {
1418
+ "in": "path",
1419
+ "required": true,
1420
+ "desc": "Congress number, e.g. 118, or 'current'"
1421
+ },
1422
+ "nominationNumber": {
1423
+ "in": "path",
1424
+ "required": true,
1425
+ "desc": "PN number"
1426
+ }
1427
+ },
1428
+ "records": "actions",
1429
+ "paging": {
1430
+ "type": "offset",
1431
+ "limit_param": "limit",
1432
+ "offset_param": "offset",
1433
+ "size": 250
1434
+ },
1435
+ "defaults": {
1436
+ "format": "json"
1437
+ },
1438
+ "max_rows": 50000,
1439
+ "total": "pagination.count"
1440
+ },
1441
+ "treaties": {
1442
+ "path": "/treaty/{congress}",
1443
+ "method": "GET",
1444
+ "description": "Treaty documents received or considered in a Congress.",
1445
+ "params": {
1446
+ "congress": {
1447
+ "in": "path",
1448
+ "required": true,
1449
+ "desc": "Congress number, e.g. 118, or 'current'"
1450
+ }
1451
+ },
1452
+ "records": "treaties",
1453
+ "paging": {
1454
+ "type": "offset",
1455
+ "limit_param": "limit",
1456
+ "offset_param": "offset",
1457
+ "size": 250
1458
+ },
1459
+ "defaults": {
1460
+ "format": "json"
1461
+ },
1462
+ "max_rows": 50000,
1463
+ "total": "pagination.count"
1464
+ },
1465
+ "crs_reports": {
1466
+ "path": "/crsreport",
1467
+ "method": "GET",
1468
+ "description": "CRS reports (id, title, current version's publish date, status; the list's version field is not the product version, crs_report has currentVersion), newest first by update; no keyword search: use title_contains (a multi-word phrase matches only with its words together and in that order: list each order as its own phrase), or fromDateTime/toDateTime, which filter on the update date.",
1469
+ "params": {
1470
+ "fromDateTime": {
1471
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1472
+ },
1473
+ "toDateTime": {
1474
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1475
+ },
1476
+ "title_contains": {
1477
+ "desc": "keep rows whose title contains this phrase (words in order, each at a word start, any case) or any phrase of a list (filtered by the pack after download)"
1478
+ }
1479
+ },
1480
+ "records": "CRSReports",
1481
+ "paging": {
1482
+ "type": "offset",
1483
+ "limit_param": "limit",
1484
+ "offset_param": "offset",
1485
+ "size": 250
1486
+ },
1487
+ "defaults": {
1488
+ "format": "json"
1489
+ },
1490
+ "max_rows": 50000,
1491
+ "total": "pagination.count"
1492
+ },
1493
+ "crs_report": {
1494
+ "path": "/crsreport/{reportNumber}",
1495
+ "method": "GET",
1496
+ "description": "One CRS report: authors, summary, topics, PDF and HTML links, related laws.",
1497
+ "params": {
1498
+ "reportNumber": {
1499
+ "in": "path",
1500
+ "required": true,
1501
+ "desc": "e.g. R47555"
1502
+ }
1503
+ },
1504
+ "records": "CRSReport",
1505
+ "paging": {
1506
+ "type": "none"
1507
+ },
1508
+ "defaults": {
1509
+ "format": "json"
1510
+ },
1511
+ "max_rows": 50000
1512
+ },
1513
+ "amendments": {
1514
+ "path": "/amendment/{congress}",
1515
+ "method": "GET",
1516
+ "description": "Amendments in a Congress.",
1517
+ "params": {
1518
+ "congress": {
1519
+ "in": "path",
1520
+ "required": true,
1521
+ "desc": "Congress number, e.g. 118, or 'current'"
1522
+ },
1523
+ "fromDateTime": {
1524
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1525
+ },
1526
+ "toDateTime": {
1527
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1528
+ }
1529
+ },
1530
+ "records": "amendments",
1531
+ "paging": {
1532
+ "type": "offset",
1533
+ "limit_param": "limit",
1534
+ "offset_param": "offset",
1535
+ "size": 250
1536
+ },
1537
+ "defaults": {
1538
+ "format": "json"
1539
+ },
1540
+ "max_rows": 50000,
1541
+ "total": "pagination.count"
1542
+ },
1543
+ "amendments_type": {
1544
+ "path": "/amendment/{congress}/{amendmentType}",
1545
+ "method": "GET",
1546
+ "description": "Amendments of one type (samdt, hamdt, suamdt) in a Congress; numbers run in submission order.",
1547
+ "params": {
1548
+ "congress": {
1549
+ "in": "path",
1550
+ "required": true,
1551
+ "desc": "Congress number, e.g. 118, or 'current'"
1552
+ },
1553
+ "amendmentType": {
1554
+ "in": "path",
1555
+ "required": true,
1556
+ "desc": "samdt (Senate) | hamdt (House) | suamdt (Senate unprinted)",
1557
+ "enum": [
1558
+ "samdt",
1559
+ "hamdt",
1560
+ "suamdt"
1561
+ ]
1562
+ },
1563
+ "fromDateTime": {
1564
+ "desc": "updated on or after YYYY-MM-DDT00:00:00Z"
1565
+ },
1566
+ "toDateTime": {
1567
+ "desc": "updated on or before YYYY-MM-DDT00:00:00Z"
1568
+ }
1569
+ },
1570
+ "records": "amendments",
1571
+ "paging": {
1572
+ "type": "offset",
1573
+ "limit_param": "limit",
1574
+ "offset_param": "offset",
1575
+ "size": 250
1576
+ },
1577
+ "defaults": {
1578
+ "format": "json"
1579
+ },
1580
+ "max_rows": 50000,
1581
+ "total": "pagination.count"
1582
+ },
1583
+ "amendment": {
1584
+ "path": "/amendment/{congress}/{amendmentType}/{amendmentNumber}",
1585
+ "method": "GET",
1586
+ "description": "One amendment: submitted and proposed dates, sponsor, purpose, amended bill, latest action.",
1587
+ "params": {
1588
+ "congress": {
1589
+ "in": "path",
1590
+ "required": true,
1591
+ "desc": "Congress number, e.g. 118, or 'current'"
1592
+ },
1593
+ "amendmentType": {
1594
+ "in": "path",
1595
+ "required": true,
1596
+ "desc": "samdt (Senate) | hamdt (House) | suamdt (Senate unprinted)",
1597
+ "enum": [
1598
+ "samdt",
1599
+ "hamdt",
1600
+ "suamdt"
1601
+ ]
1602
+ },
1603
+ "amendmentNumber": {
1604
+ "in": "path",
1605
+ "required": true,
1606
+ "desc": "amendment number, e.g. 4147"
1607
+ }
1608
+ },
1609
+ "records": "amendment",
1610
+ "paging": {
1611
+ "type": "none"
1612
+ },
1613
+ "defaults": {
1614
+ "format": "json"
1615
+ },
1616
+ "max_rows": 50000
1617
+ },
1618
+ "congress_info": {
1619
+ "path": "/congress/{congress}",
1620
+ "method": "GET",
1621
+ "description": "A Congress's dates and sessions.",
1622
+ "params": {
1623
+ "congress": {
1624
+ "in": "path",
1625
+ "required": true,
1626
+ "desc": "Congress number, e.g. 118, or 'current'"
1627
+ }
1628
+ },
1629
+ "records": "congress.sessions",
1630
+ "paging": {
1631
+ "type": "none"
1632
+ },
1633
+ "defaults": {
1634
+ "format": "json"
1635
+ },
1636
+ "max_rows": 50000
1637
+ }
1638
+ },
1639
+ "catalog": {
1640
+ "bill_types": {
1641
+ "id": "hr s hjres sjres hconres sconres hres sres",
1642
+ "name": "Bill types",
1643
+ "description": "hr House bill, s Senate bill, hjres/sjres joint resolutions (can become law), hconres/sconres concurrent, hres/sres simple resolutions",
1644
+ "endpoint": "bills"
1645
+ },
1646
+ "votes_house": {
1647
+ "id": "roll_call",
1648
+ "name": "House roll-call votes",
1649
+ "description": "member-level House votes 1990 on (clerk.house.gov XML); house_votes lists votes for the 118th Congress on",
1650
+ "endpoint": "roll_call"
1651
+ },
1652
+ "votes_senate": {
1653
+ "id": "roll_call",
1654
+ "name": "Senate roll-call votes",
1655
+ "description": "member-level Senate votes 1989 on (senate.gov XML); senate_votes lists a session's votes",
1656
+ "endpoint": "roll_call"
1657
+ },
1658
+ "votes_on_a_bill": {
1659
+ "id": "bill_votes",
1660
+ "name": "Votes on a bill",
1661
+ "description": "every recorded vote on a bill with party totals (bill_votes)",
1662
+ "endpoint": "bill_votes"
1663
+ },
1664
+ "cosponsors": {
1665
+ "id": "bill_cosponsors",
1666
+ "name": "Cosponsors",
1667
+ "description": "cosponsors with party and date (bill_cosponsors)",
1668
+ "endpoint": "bill_cosponsors"
1669
+ },
1670
+ "crs": {
1671
+ "id": "crs_reports",
1672
+ "name": "CRS reports",
1673
+ "description": "Congressional Research Service reports list and detail",
1674
+ "endpoint": "crs_reports"
1675
+ },
1676
+ "cost_estimates": {
1677
+ "id": "bill_cbo_estimates",
1678
+ "name": "Cost estimate links",
1679
+ "description": "titles and links of cost estimates listed for a bill; numbers are not in the API",
1680
+ "endpoint": "bill_cbo_estimates"
1681
+ },
1682
+ "public_laws": {
1683
+ "id": "laws",
1684
+ "name": "Public laws",
1685
+ "description": "laws enacted in a Congress (laws with lawType pub)",
1686
+ "endpoint": "laws"
1687
+ },
1688
+ "nominations": {
1689
+ "id": "nominations",
1690
+ "name": "Nominations",
1691
+ "description": "presidential nominations and confirmation actions",
1692
+ "endpoint": "nominations"
1693
+ },
1694
+ "committee_codes": {
1695
+ "id": "hsba00 hsap00 hswm00 hsif00 ssfi00 ssap00 ssbk00 sshr00 ssju00",
1696
+ "name": "Committee system codes",
1697
+ "description": "e.g. hsba00 House Financial Services, hsap00 House Appropriations, hswm00 Ways and Means, hsif00 Energy and Commerce, ssfi00 Senate Finance, ssap00 Senate Appropriations, ssbk00 Senate Banking, sshr00 HELP, ssju00 Senate Judiciary (committees lists all)",
1698
+ "endpoint": "committee"
1699
+ }
1700
+ }
1701
+ }