data-analyst-mcp 0.3.0 → 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 (153) hide show
  1. package/README.md +262 -262
  2. package/dist/report/method_audit.js +7 -1
  3. package/dist/report/method_audit.js.map +1 -1
  4. package/dist/report/scan_secrets.d.ts +4 -1
  5. package/dist/report/scan_secrets.js +36 -5
  6. package/dist/report/scan_secrets.js.map +1 -1
  7. package/dist/server.d.ts +1 -1
  8. package/dist/server.js +3 -2
  9. package/dist/server.js.map +1 -1
  10. package/guide/WORKFLOW.md +134 -134
  11. package/guide/assets/disclaimer.txt +1 -1
  12. package/guide/assets/download_data.ps1 +162 -162
  13. package/guide/assets/report_template.html +597 -597
  14. package/guide/references/routing.md +171 -171
  15. package/guide/references/style_guide.md +398 -398
  16. package/package.json +56 -56
  17. package/packs/acf/endpoints.json +114 -114
  18. package/packs/acf/policy.json +104 -104
  19. package/packs/actuaries/endpoints.json +82 -82
  20. package/packs/actuaries/policy.json +109 -109
  21. package/packs/bea/assets/download_bea.ps1 +182 -182
  22. package/packs/bea/docs/bea_api.md +461 -461
  23. package/packs/bea/docs/datasets.md +157 -157
  24. package/packs/bea/docs/report_patterns.md +112 -112
  25. package/packs/bea/policy.json +170 -170
  26. package/packs/bea/source.md +152 -152
  27. package/packs/bls/assets/download_bls.ps1 +152 -152
  28. package/packs/bls/docs/analysis_patterns.md +108 -108
  29. package/packs/bls/docs/bls_api.md +73 -73
  30. package/packs/bls/docs/series_ids.md +149 -149
  31. package/packs/bls/policy.json +238 -238
  32. package/packs/bts/endpoints.json +346 -346
  33. package/packs/bts/policy.json +94 -94
  34. package/packs/cdc/endpoints.json +197 -197
  35. package/packs/cdc/policy.json +83 -83
  36. package/packs/census/endpoints.json +99 -99
  37. package/packs/cfpb/endpoints.json +326 -326
  38. package/packs/cfpb/policy.json +119 -119
  39. package/packs/clinical-trials/endpoints.json +166 -166
  40. package/packs/clinical-trials/policy.json +84 -84
  41. package/packs/cms/endpoints.json +69 -69
  42. package/packs/cms/policy.json +96 -96
  43. package/packs/college-scorecard/endpoints.json +252 -252
  44. package/packs/college-scorecard/policy.json +106 -106
  45. package/packs/congress/endpoints.json +1701 -1701
  46. package/packs/congress/policy.json +117 -117
  47. package/packs/dhs-ohss/endpoints.json +66 -66
  48. package/packs/dhs-ohss/policy.json +107 -107
  49. package/packs/doj-news/endpoints.json +59 -59
  50. package/packs/doj-news/policy.json +96 -96
  51. package/packs/dol/endpoints.json +817 -817
  52. package/packs/dol/policy.json +135 -135
  53. package/packs/eia/endpoints.json +717 -717
  54. package/packs/eia/policy.json +112 -112
  55. package/packs/epa/endpoints.json +291 -291
  56. package/packs/epa/policy.json +99 -99
  57. package/packs/epa-aqs/endpoints.json +173 -173
  58. package/packs/epa-aqs/policy.json +96 -96
  59. package/packs/fbi/endpoints.json +1841 -1841
  60. package/packs/fbi/policy.json +118 -118
  61. package/packs/fda/endpoints.json +237 -237
  62. package/packs/fda/policy.json +121 -121
  63. package/packs/fdic/endpoints.json +416 -416
  64. package/packs/fdic/policy.json +83 -83
  65. package/packs/fec/endpoints.json +707 -707
  66. package/packs/fec/policy.json +93 -93
  67. package/packs/fed-board/endpoints.json +89 -89
  68. package/packs/fed-board/policy.json +136 -136
  69. package/packs/federal-register/endpoints.json +143 -143
  70. package/packs/federal-register/policy.json +86 -86
  71. package/packs/fema/endpoints.json +645 -645
  72. package/packs/fema/policy.json +103 -103
  73. package/packs/fhfa/endpoints.json +105 -105
  74. package/packs/fhfa/policy.json +109 -109
  75. package/packs/fred/assets/download_fred.ps1 +122 -122
  76. package/packs/fred/docs/analysis_patterns.md +124 -124
  77. package/packs/fred/docs/fred_api.md +94 -94
  78. package/packs/fred/docs/series.md +188 -188
  79. package/packs/fred/policy.json +253 -253
  80. package/packs/fsa/endpoints.json +150 -150
  81. package/packs/fsa/policy.json +99 -99
  82. package/packs/govinfo/endpoints.json +519 -519
  83. package/packs/gsa-calc/endpoints.json +93 -93
  84. package/packs/gsa-calc/policy.json +97 -97
  85. package/packs/hud/endpoints.json +146 -146
  86. package/packs/hud/policy.json +84 -84
  87. package/packs/ipums/docs/report_patterns.md +117 -117
  88. package/packs/irs-soi/endpoints.json +114 -114
  89. package/packs/irs-soi/policy.json +107 -107
  90. package/packs/medicaid/endpoints.json +412 -412
  91. package/packs/medicaid/policy.json +108 -108
  92. package/packs/naep/endpoints.json +217 -217
  93. package/packs/naep/policy.json +100 -100
  94. package/packs/nhtsa/endpoints.json +132 -132
  95. package/packs/nhtsa/policy.json +93 -93
  96. package/packs/nih/endpoints.json +452 -452
  97. package/packs/nih/policy.json +86 -86
  98. package/packs/noaa/endpoints.json +431 -431
  99. package/packs/noaa/policy.json +95 -95
  100. package/packs/nrel/endpoints.json +327 -327
  101. package/packs/nrel/policy.json +96 -96
  102. package/packs/nws/endpoints.json +271 -271
  103. package/packs/nws/policy.json +82 -82
  104. package/packs/nyfed/endpoints.json +80 -80
  105. package/packs/nyfed/policy.json +92 -92
  106. package/packs/omb/endpoints.json +460 -460
  107. package/packs/omb/policy.json +106 -106
  108. package/packs/open-payments/endpoints.json +297 -297
  109. package/packs/open-payments/policy.json +101 -101
  110. package/packs/opm/assets/download_opm.ps1 +125 -125
  111. package/packs/opm/docs/fields.md +184 -184
  112. package/packs/opm/docs/opm_api.md +71 -71
  113. package/packs/opm/docs/report_patterns.md +83 -83
  114. package/packs/opm/lib/data_dictionary.csv +73 -73
  115. package/packs/pbgc/endpoints.json +483 -483
  116. package/packs/pbgc/policy.json +94 -94
  117. package/packs/philfed/endpoints.json +85 -85
  118. package/packs/philfed/policy.json +94 -94
  119. package/packs/regulations/endpoints.json +287 -287
  120. package/packs/regulations/policy.json +86 -86
  121. package/packs/sec/endpoints.json +236 -236
  122. package/packs/sec/policy.json +86 -86
  123. package/packs/senate-lobbying/endpoints.json +553 -553
  124. package/packs/senate-lobbying/policy.json +99 -99
  125. package/packs/snapqc/endpoints.json +1426 -1426
  126. package/packs/snapqc/policy.json +92 -92
  127. package/packs/treasury/catalog.json +2267 -2267
  128. package/packs/treasury/docs/api_guide.md +245 -245
  129. package/packs/treasury/docs/datasets.md +56 -56
  130. package/packs/treasury/docs/report_patterns.md +126 -126
  131. package/packs/treasury/policy.json +159 -159
  132. package/packs/treasury/source.md +170 -165
  133. package/packs/treasury-yields/endpoints.json +226 -226
  134. package/packs/treasury-yields/policy.json +86 -86
  135. package/packs/usaspending/endpoints.json +1315 -1315
  136. package/packs/usaspending/policy.json +109 -109
  137. package/packs/usda-fna/policy.json +133 -133
  138. package/packs/usda-fooddata/endpoints.json +180 -180
  139. package/packs/usda-fooddata/policy.json +94 -94
  140. package/packs/usda-nass/endpoints.json +323 -323
  141. package/packs/usda-nass/policy.json +95 -95
  142. package/packs/usda-outlook/endpoints.json +86 -86
  143. package/packs/usda-outlook/policy.json +109 -109
  144. package/packs/usgs/endpoints.json +313 -313
  145. package/packs/usgs/policy.json +95 -95
  146. package/packs/usitc/endpoints.json +74 -74
  147. package/packs/usitc/policy.json +111 -111
  148. package/packs/uspto/endpoints.json +141 -141
  149. package/packs/uspto/policy.json +95 -95
  150. package/packs/va/endpoints.json +414 -414
  151. package/packs/va/policy.json +101 -101
  152. package/packs/world-bank/endpoints.json +122 -122
  153. package/packs/world-bank/policy.json +101 -101
@@ -1,460 +1,460 @@
1
- {
2
- "base_url": "https://www.govinfo.gov/content/pkg",
3
- "timeout": 90,
4
- "endpoints": {
5
- "historical_table": {
6
- "path": "/BUDGET-{fy}-TAB/xls/BUDGET-{fy}-TAB-{granule}.xlsx",
7
- "description": "One table of the Historical Tables of the President's Budget (Table s.t, e.g. 1.1 receipts, outlays and deficits since 1789; 3.2 outlays by function and subfunction; 7.1 federal debt; 10.1 GDP and deflators), read as published: title and units in the notes, multi-row headers joined (\"Total Outlays\", \"On-Budget Receipts\"), footnotes in the notes, label rows kept, column sheet_row. The pack reads granule TAB-<s+1>-<t> and checks its title; an edition without that file (FY2026: one workbook) is read from the package zip.",
8
- "params": {
9
- "fy": {
10
- "in": "spec",
11
- "desc": "the budget's fiscal year (edition), e.g. 2027 for the budget released in 2026; default: the newest edition GovInfo has (tries next year, this year, last year)"
12
- },
13
- "table": {
14
- "in": "spec",
15
- "required": true,
16
- "catalog": true,
17
- "desc": "table number s.t as published, e.g. \"1.1\", \"3.2\", \"8.5\" (or a catalog alias such as table_1_1)"
18
- },
19
- "granule": {
20
- "in": "path",
21
- "desc": "set by the adapter from table (s.t -> <s+1>-<t>)"
22
- },
23
- "header_row": {
24
- "in": "spec",
25
- "desc": "optional: 1-based row of the (first) column-name row; default: detected"
26
- },
27
- "header_rows": {
28
- "in": "spec",
29
- "desc": "optional: how many header rows to join; default: detected (rows under the first header row whose first cell is empty)"
30
- }
31
- },
32
- "records": "$xlsx",
33
- "paging": {
34
- "type": "none"
35
- }
36
- },
37
- "budget_database": {
38
- "path": "/BUDGET-{fy}-DB/xls/BUDGET-{fy}-DB-{granule}.xlsx",
39
- "description": "The Public Budget Database: one row per budget account (or receipt account) with agency, bureau, account, Treasury and CGAC codes, subfunction, BEA category (Mandatory, Discretionary, Net interest), on-/off-budget, and one column per fiscal year (1962 on for outlays and receipts, 1976 on for budget authority, TQ = 1976 transition quarter) in thousands of dollars, through the budget's last projection year. About 5,000-6,000 rows (receipts about 260).",
40
- "params": {
41
- "fy": {
42
- "in": "spec",
43
- "desc": "the budget's fiscal year (edition), e.g. 2027 for the budget released in 2026; default: the newest edition GovInfo has (tries next year, this year, last year)"
44
- },
45
- "kind": {
46
- "in": "spec",
47
- "required": true,
48
- "catalog": true,
49
- "enum": [
50
- "budget_authority",
51
- "outlays",
52
- "receipts"
53
- ],
54
- "desc": "budget_authority (granule 1), outlays (2) or receipts (3)"
55
- },
56
- "granule": {
57
- "in": "path",
58
- "desc": "set by the adapter from kind"
59
- },
60
- "header_row": {
61
- "in": "spec",
62
- "desc": "optional: 1-based row of the (first) column-name row; default: detected"
63
- },
64
- "header_rows": {
65
- "in": "spec",
66
- "desc": "optional: how many header rows to join; default: detected (rows under the first header row whose first cell is empty)"
67
- }
68
- },
69
- "records": "$xlsx",
70
- "paging": {
71
- "type": "none"
72
- }
73
- },
74
- "credit_supplement": {
75
- "path": "/BUDGET-{fy}-FCS/xls/BUDGET-{fy}-FCS.xlsx",
76
- "description": "One table of the Federal Credit Supplement: Table 1 direct loans and Table 2 loan guarantees (subsidy rates in percent, obligations or commitments and average loan size in thousands of dollars, for the current year and the budget year, by agency, bureau, program and risk category); Tables 3-6 subsidy assumptions; Tables 7-8 subsidy reestimates by cohort; Tables 9-10 disbursement rates. Label rows (agency, bureau, account) are kept in published order.",
77
- "params": {
78
- "fy": {
79
- "in": "spec",
80
- "desc": "the budget's fiscal year (edition), e.g. 2027 for the budget released in 2026; default: the newest edition GovInfo has (tries next year, this year, last year)"
81
- },
82
- "table": {
83
- "in": "spec",
84
- "required": true,
85
- "catalog": true,
86
- "desc": "table number 1-10 (1 = direct loan subsidy rates, 2 = loan guarantee subsidy rates)"
87
- },
88
- "header_row": {
89
- "in": "spec",
90
- "desc": "optional: 1-based row of the (first) column-name row; default: detected"
91
- },
92
- "header_rows": {
93
- "in": "spec",
94
- "desc": "optional: how many header rows to join; default: detected (rows under the first header row whose first cell is empty)"
95
- }
96
- },
97
- "records": "$xlsx",
98
- "paging": {
99
- "type": "none"
100
- }
101
- }
102
- },
103
- "catalog": {
104
- "table_1_1": {
105
- "id": "1.1",
106
- "endpoint": "historical_table",
107
- "name": "Historical Table 1.1: Summary of receipts, outlays, and surpluses or deficits ( - )"
108
- },
109
- "table_1_2": {
110
- "id": "1.2",
111
- "endpoint": "historical_table",
112
- "name": "Historical Table 1.2: Summary of receipts, outlays, and surpluses or deficits ( - ) as percentages of gdp"
113
- },
114
- "table_1_3": {
115
- "id": "1.3",
116
- "endpoint": "historical_table",
117
- "name": "Historical Table 1.3: Summary of receipts, outlays, and surpluses or deficits ( - ) in current dollars, constant (fy 2017) dollars, and as percentages of gdp"
118
- },
119
- "table_1_4": {
120
- "id": "1.4",
121
- "endpoint": "historical_table",
122
- "name": "Historical Table 1.4: Receipts, outlays, and surpluses or deficits ( - ) by fund group"
123
- },
124
- "table_2_1": {
125
- "id": "2.1",
126
- "endpoint": "historical_table",
127
- "name": "Historical Table 2.1: Receipts by source"
128
- },
129
- "table_2_2": {
130
- "id": "2.2",
131
- "endpoint": "historical_table",
132
- "name": "Historical Table 2.2: Percentage composition of receipts by source"
133
- },
134
- "table_2_3": {
135
- "id": "2.3",
136
- "endpoint": "historical_table",
137
- "name": "Historical Table 2.3: Receipts by source as percentages of gdp"
138
- },
139
- "table_2_4": {
140
- "id": "2.4",
141
- "endpoint": "historical_table",
142
- "name": "Historical Table 2.4: Composition of social insurance and retirement receipts and of excise taxes"
143
- },
144
- "table_2_5": {
145
- "id": "2.5",
146
- "endpoint": "historical_table",
147
- "name": "Historical Table 2.5: Composition of \"other receipts\""
148
- },
149
- "table_3_1": {
150
- "id": "3.1",
151
- "endpoint": "historical_table",
152
- "name": "Historical Table 3.1: Outlays by superfunction and function"
153
- },
154
- "table_3_2": {
155
- "id": "3.2",
156
- "endpoint": "historical_table",
157
- "name": "Historical Table 3.2: Outlays by function and subfunction"
158
- },
159
- "table_4_1": {
160
- "id": "4.1",
161
- "endpoint": "historical_table",
162
- "name": "Historical Table 4.1: Outlays by agency"
163
- },
164
- "table_4_2": {
165
- "id": "4.2",
166
- "endpoint": "historical_table",
167
- "name": "Historical Table 4.2: Percentage distribution of outlays by agency"
168
- },
169
- "table_5_1": {
170
- "id": "5.1",
171
- "endpoint": "historical_table",
172
- "name": "Historical Table 5.1: Budget authority by function and subfunction"
173
- },
174
- "table_5_2": {
175
- "id": "5.2",
176
- "endpoint": "historical_table",
177
- "name": "Historical Table 5.2: Budget authority by agency"
178
- },
179
- "table_5_3": {
180
- "id": "5.3",
181
- "endpoint": "historical_table",
182
- "name": "Historical Table 5.3: Percentage distribution of budget authority by agency"
183
- },
184
- "table_5_4": {
185
- "id": "5.4",
186
- "endpoint": "historical_table",
187
- "name": "Historical Table 5.4: Discretionary budget authority by agency"
188
- },
189
- "table_5_5": {
190
- "id": "5.5",
191
- "endpoint": "historical_table",
192
- "name": "Historical Table 5.5: Percentage distribution of discretionary budget authority by agency"
193
- },
194
- "table_5_6": {
195
- "id": "5.6",
196
- "endpoint": "historical_table",
197
- "name": "Historical Table 5.6: Budget authority for discretionary programs"
198
- },
199
- "table_6_1": {
200
- "id": "6.1",
201
- "endpoint": "historical_table",
202
- "name": "Historical Table 6.1: Composition of outlays"
203
- },
204
- "table_7_1": {
205
- "id": "7.1",
206
- "endpoint": "historical_table",
207
- "name": "Historical Table 7.1: Federal debt at the end of year"
208
- },
209
- "table_7_2": {
210
- "id": "7.2",
211
- "endpoint": "historical_table",
212
- "name": "Historical Table 7.2: Debt subject to statutory limit"
213
- },
214
- "table_7_3": {
215
- "id": "7.3",
216
- "endpoint": "historical_table",
217
- "name": "Historical Table 7.3: Statutory limits on federal debt"
218
- },
219
- "table_8_1": {
220
- "id": "8.1",
221
- "endpoint": "historical_table",
222
- "name": "Historical Table 8.1: Outlays by budget enforcement act category"
223
- },
224
- "table_8_2": {
225
- "id": "8.2",
226
- "endpoint": "historical_table",
227
- "name": "Historical Table 8.2: Outlays by budget enforcement act category in constant (fy 2017) dollars"
228
- },
229
- "table_8_3": {
230
- "id": "8.3",
231
- "endpoint": "historical_table",
232
- "name": "Historical Table 8.3: Percentage distribution of outlays by budget enforcement act category"
233
- },
234
- "table_8_4": {
235
- "id": "8.4",
236
- "endpoint": "historical_table",
237
- "name": "Historical Table 8.4: Outlays by budget enforcement act category as percentages of gdp"
238
- },
239
- "table_8_5": {
240
- "id": "8.5",
241
- "endpoint": "historical_table",
242
- "name": "Historical Table 8.5: Outlays for mandatory and related programs"
243
- },
244
- "table_8_6": {
245
- "id": "8.6",
246
- "endpoint": "historical_table",
247
- "name": "Historical Table 8.6: Outlays for mandatory and related programs in constant (fy 2017) dollars"
248
- },
249
- "table_8_7": {
250
- "id": "8.7",
251
- "endpoint": "historical_table",
252
- "name": "Historical Table 8.7: Outlays for discretionary programs"
253
- },
254
- "table_8_8": {
255
- "id": "8.8",
256
- "endpoint": "historical_table",
257
- "name": "Historical Table 8.8: Outlays for discretionary programs in constant (fy 2017) dollars"
258
- },
259
- "table_9_1": {
260
- "id": "9.1",
261
- "endpoint": "historical_table",
262
- "name": "Historical Table 9.1: Total investment outlays for major public physical capital, research and development, and education and training"
263
- },
264
- "table_9_2": {
265
- "id": "9.2",
266
- "endpoint": "historical_table",
267
- "name": "Historical Table 9.2: Major public physical capital investment outlays in current and constant (fy 2017) dollars"
268
- },
269
- "table_9_3": {
270
- "id": "9.3",
271
- "endpoint": "historical_table",
272
- "name": "Historical Table 9.3: Major public physical capital investment outlays in percentage terms"
273
- },
274
- "table_9_4": {
275
- "id": "9.4",
276
- "endpoint": "historical_table",
277
- "name": "Historical Table 9.4: National defense outlays for major public direct physical capital investment"
278
- },
279
- "table_9_5": {
280
- "id": "9.5",
281
- "endpoint": "historical_table",
282
- "name": "Historical Table 9.5: Nondefense outlays for major public direct physical capital investment"
283
- },
284
- "table_9_6": {
285
- "id": "9.6",
286
- "endpoint": "historical_table",
287
- "name": "Historical Table 9.6: Composition of outlays for grants for major public physical capital investment"
288
- },
289
- "table_9_7": {
290
- "id": "9.7",
291
- "endpoint": "historical_table",
292
- "name": "Historical Table 9.7: Summary of outlays for the conduct of research and development"
293
- },
294
- "table_9_8": {
295
- "id": "9.8",
296
- "endpoint": "historical_table",
297
- "name": "Historical Table 9.8: Composition of outlays for the conduct of research and development"
298
- },
299
- "table_9_9": {
300
- "id": "9.9",
301
- "endpoint": "historical_table",
302
- "name": "Historical Table 9.9: Composition of outlays for the conduct of education and training"
303
- },
304
- "table_10_1": {
305
- "id": "10.1",
306
- "endpoint": "historical_table",
307
- "name": "Historical Table 10.1: Gross domestic product and deflators used in the historical tables"
308
- },
309
- "table_11_1": {
310
- "id": "11.1",
311
- "endpoint": "historical_table",
312
- "name": "Historical Table 11.1: Summary comparison of outlays for payments for individuals"
313
- },
314
- "table_11_2": {
315
- "id": "11.2",
316
- "endpoint": "historical_table",
317
- "name": "Historical Table 11.2: Functional composition of outlays for payments for individuals"
318
- },
319
- "table_11_3": {
320
- "id": "11.3",
321
- "endpoint": "historical_table",
322
- "name": "Historical Table 11.3: Outlays for payments for individuals by category and major program"
323
- },
324
- "table_12_1": {
325
- "id": "12.1",
326
- "endpoint": "historical_table",
327
- "name": "Historical Table 12.1: Summary comparison of total outlays for grants to state and local governments"
328
- },
329
- "table_12_2": {
330
- "id": "12.2",
331
- "endpoint": "historical_table",
332
- "name": "Historical Table 12.2: Total outlays for grants to state and local governments by function and fund group"
333
- },
334
- "table_12_3": {
335
- "id": "12.3",
336
- "endpoint": "historical_table",
337
- "name": "Historical Table 12.3: Total outlays for grants to state and local governments by function, agency, and program"
338
- },
339
- "table_13_1": {
340
- "id": "13.1",
341
- "endpoint": "historical_table",
342
- "name": "Historical Table 13.1: Cash income, outgo, and balances of the social security and medicare trust funds"
343
- },
344
- "table_14_1": {
345
- "id": "14.1",
346
- "endpoint": "historical_table",
347
- "name": "Historical Table 14.1: Total government receipts in absolute amounts and as percentages of gdp"
348
- },
349
- "table_14_2": {
350
- "id": "14.2",
351
- "endpoint": "historical_table",
352
- "name": "Historical Table 14.2: Total government expenditures"
353
- },
354
- "table_14_3": {
355
- "id": "14.3",
356
- "endpoint": "historical_table",
357
- "name": "Historical Table 14.3: Total government expenditures as percentages of gdp"
358
- },
359
- "table_14_4": {
360
- "id": "14.4",
361
- "endpoint": "historical_table",
362
- "name": "Historical Table 14.4: Total government expenditures by major category of expenditure"
363
- },
364
- "table_14_5": {
365
- "id": "14.5",
366
- "endpoint": "historical_table",
367
- "name": "Historical Table 14.5: Total government expenditures by major category of expenditure as percentages of gdp"
368
- },
369
- "table_14_6": {
370
- "id": "14.6",
371
- "endpoint": "historical_table",
372
- "name": "Historical Table 14.6: Total government surpluses or deficits ( - ) in absolute amounts and as percentages of gdp"
373
- },
374
- "table_15_1": {
375
- "id": "15.1",
376
- "endpoint": "historical_table",
377
- "name": "Historical Table 15.1: Outlays for health programs"
378
- },
379
- "table_16_1": {
380
- "id": "16.1",
381
- "endpoint": "historical_table",
382
- "name": "Historical Table 16.1: Total executive branch civilian full-time equivalent (fte) employees"
383
- },
384
- "table_16_2": {
385
- "id": "16.2",
386
- "endpoint": "historical_table",
387
- "name": "Historical Table 16.2: Total executive branch civilian full-time equivalent (fte) employees"
388
- },
389
- "pbd_budget_authority": {
390
- "id": "budget_authority",
391
- "endpoint": "budget_database",
392
- "name": "Public Budget Database: budget authority by account",
393
- "description": "budget authority (appropriations, mandatory authority) by agency, bureau, account, subfunction, BEA category, 1976 on, thousands of dollars"
394
- },
395
- "pbd_outlays": {
396
- "id": "outlays",
397
- "endpoint": "budget_database",
398
- "name": "Public Budget Database: outlays by account",
399
- "description": "outlays (spending) by agency, bureau, account, subfunction, BEA category (mandatory, discretionary, net interest), grant/nongrant, on-/off-budget, 1962 on, thousands of dollars"
400
- },
401
- "pbd_receipts": {
402
- "id": "receipts",
403
- "endpoint": "budget_database",
404
- "name": "Public Budget Database: governmental receipts by account",
405
- "description": "receipts (taxes, customs, fees) by source category and receipt account, 1962 on, thousands of dollars"
406
- },
407
- "fcs_table1": {
408
- "id": "1",
409
- "endpoint": "credit_supplement",
410
- "name": "Federal Credit Supplement Table 1: Direct loans: subsidy rates, obligations, and average loan size",
411
- "description": "credit subsidy rate (percent of disbursements) for each direct loan program and risk category"
412
- },
413
- "fcs_table2": {
414
- "id": "2",
415
- "endpoint": "credit_supplement",
416
- "name": "Federal Credit Supplement Table 2: Loan guarantees: subsidy rates, commitments, and average loan size",
417
- "description": "credit subsidy rate (percent of disbursements) for each loan guarantee program"
418
- },
419
- "fcs_table3": {
420
- "id": "3",
421
- "endpoint": "credit_supplement",
422
- "name": "Federal Credit Supplement Table 3: Direct loans: assumptions underlying the current-year subsidy estimates"
423
- },
424
- "fcs_table4": {
425
- "id": "4",
426
- "endpoint": "credit_supplement",
427
- "name": "Federal Credit Supplement Table 4: Loan guarantees: assumptions underlying the current-year subsidy estimates"
428
- },
429
- "fcs_table5": {
430
- "id": "5",
431
- "endpoint": "credit_supplement",
432
- "name": "Federal Credit Supplement Table 5: Direct loans: assumptions underlying the budget-year subsidy estimates"
433
- },
434
- "fcs_table6": {
435
- "id": "6",
436
- "endpoint": "credit_supplement",
437
- "name": "Federal Credit Supplement Table 6: Loan guarantees: assumptions underlying the budget-year subsidy estimates"
438
- },
439
- "fcs_table7": {
440
- "id": "7",
441
- "endpoint": "credit_supplement",
442
- "name": "Federal Credit Supplement Table 7: Direct loans: subsidy reestimates by cohort"
443
- },
444
- "fcs_table8": {
445
- "id": "8",
446
- "endpoint": "credit_supplement",
447
- "name": "Federal Credit Supplement Table 8: Guaranteed loans: subsidy reestimates by cohort"
448
- },
449
- "fcs_table9": {
450
- "id": "9",
451
- "endpoint": "credit_supplement",
452
- "name": "Federal Credit Supplement Table 9: Direct loan program disbursement rate assumptions"
453
- },
454
- "fcs_table10": {
455
- "id": "10",
456
- "endpoint": "credit_supplement",
457
- "name": "Federal Credit Supplement Table 10: Loan guarantee program disbursement rate assumptions"
458
- }
459
- }
460
- }
1
+ {
2
+ "base_url": "https://www.govinfo.gov/content/pkg",
3
+ "timeout": 90,
4
+ "endpoints": {
5
+ "historical_table": {
6
+ "path": "/BUDGET-{fy}-TAB/xls/BUDGET-{fy}-TAB-{granule}.xlsx",
7
+ "description": "One table of the Historical Tables of the President's Budget (Table s.t, e.g. 1.1 receipts, outlays and deficits since 1789; 3.2 outlays by function and subfunction; 7.1 federal debt; 10.1 GDP and deflators), read as published: title and units in the notes, multi-row headers joined (\"Total Outlays\", \"On-Budget Receipts\"), footnotes in the notes, label rows kept, column sheet_row. The pack reads granule TAB-<s+1>-<t> and checks its title; an edition without that file (FY2026: one workbook) is read from the package zip.",
8
+ "params": {
9
+ "fy": {
10
+ "in": "spec",
11
+ "desc": "the budget's fiscal year (edition), e.g. 2027 for the budget released in 2026; default: the newest edition GovInfo has (tries next year, this year, last year)"
12
+ },
13
+ "table": {
14
+ "in": "spec",
15
+ "required": true,
16
+ "catalog": true,
17
+ "desc": "table number s.t as published, e.g. \"1.1\", \"3.2\", \"8.5\" (or a catalog alias such as table_1_1)"
18
+ },
19
+ "granule": {
20
+ "in": "path",
21
+ "desc": "set by the adapter from table (s.t -> <s+1>-<t>)"
22
+ },
23
+ "header_row": {
24
+ "in": "spec",
25
+ "desc": "optional: 1-based row of the (first) column-name row; default: detected"
26
+ },
27
+ "header_rows": {
28
+ "in": "spec",
29
+ "desc": "optional: how many header rows to join; default: detected (rows under the first header row whose first cell is empty)"
30
+ }
31
+ },
32
+ "records": "$xlsx",
33
+ "paging": {
34
+ "type": "none"
35
+ }
36
+ },
37
+ "budget_database": {
38
+ "path": "/BUDGET-{fy}-DB/xls/BUDGET-{fy}-DB-{granule}.xlsx",
39
+ "description": "The Public Budget Database: one row per budget account (or receipt account) with agency, bureau, account, Treasury and CGAC codes, subfunction, BEA category (Mandatory, Discretionary, Net interest), on-/off-budget, and one column per fiscal year (1962 on for outlays and receipts, 1976 on for budget authority, TQ = 1976 transition quarter) in thousands of dollars, through the budget's last projection year. About 5,000-6,000 rows (receipts about 260).",
40
+ "params": {
41
+ "fy": {
42
+ "in": "spec",
43
+ "desc": "the budget's fiscal year (edition), e.g. 2027 for the budget released in 2026; default: the newest edition GovInfo has (tries next year, this year, last year)"
44
+ },
45
+ "kind": {
46
+ "in": "spec",
47
+ "required": true,
48
+ "catalog": true,
49
+ "enum": [
50
+ "budget_authority",
51
+ "outlays",
52
+ "receipts"
53
+ ],
54
+ "desc": "budget_authority (granule 1), outlays (2) or receipts (3)"
55
+ },
56
+ "granule": {
57
+ "in": "path",
58
+ "desc": "set by the adapter from kind"
59
+ },
60
+ "header_row": {
61
+ "in": "spec",
62
+ "desc": "optional: 1-based row of the (first) column-name row; default: detected"
63
+ },
64
+ "header_rows": {
65
+ "in": "spec",
66
+ "desc": "optional: how many header rows to join; default: detected (rows under the first header row whose first cell is empty)"
67
+ }
68
+ },
69
+ "records": "$xlsx",
70
+ "paging": {
71
+ "type": "none"
72
+ }
73
+ },
74
+ "credit_supplement": {
75
+ "path": "/BUDGET-{fy}-FCS/xls/BUDGET-{fy}-FCS.xlsx",
76
+ "description": "One table of the Federal Credit Supplement: Table 1 direct loans and Table 2 loan guarantees (subsidy rates in percent, obligations or commitments and average loan size in thousands of dollars, for the current year and the budget year, by agency, bureau, program and risk category); Tables 3-6 subsidy assumptions; Tables 7-8 subsidy reestimates by cohort; Tables 9-10 disbursement rates. Label rows (agency, bureau, account) are kept in published order.",
77
+ "params": {
78
+ "fy": {
79
+ "in": "spec",
80
+ "desc": "the budget's fiscal year (edition), e.g. 2027 for the budget released in 2026; default: the newest edition GovInfo has (tries next year, this year, last year)"
81
+ },
82
+ "table": {
83
+ "in": "spec",
84
+ "required": true,
85
+ "catalog": true,
86
+ "desc": "table number 1-10 (1 = direct loan subsidy rates, 2 = loan guarantee subsidy rates)"
87
+ },
88
+ "header_row": {
89
+ "in": "spec",
90
+ "desc": "optional: 1-based row of the (first) column-name row; default: detected"
91
+ },
92
+ "header_rows": {
93
+ "in": "spec",
94
+ "desc": "optional: how many header rows to join; default: detected (rows under the first header row whose first cell is empty)"
95
+ }
96
+ },
97
+ "records": "$xlsx",
98
+ "paging": {
99
+ "type": "none"
100
+ }
101
+ }
102
+ },
103
+ "catalog": {
104
+ "table_1_1": {
105
+ "id": "1.1",
106
+ "endpoint": "historical_table",
107
+ "name": "Historical Table 1.1: Summary of receipts, outlays, and surpluses or deficits ( - )"
108
+ },
109
+ "table_1_2": {
110
+ "id": "1.2",
111
+ "endpoint": "historical_table",
112
+ "name": "Historical Table 1.2: Summary of receipts, outlays, and surpluses or deficits ( - ) as percentages of gdp"
113
+ },
114
+ "table_1_3": {
115
+ "id": "1.3",
116
+ "endpoint": "historical_table",
117
+ "name": "Historical Table 1.3: Summary of receipts, outlays, and surpluses or deficits ( - ) in current dollars, constant (fy 2017) dollars, and as percentages of gdp"
118
+ },
119
+ "table_1_4": {
120
+ "id": "1.4",
121
+ "endpoint": "historical_table",
122
+ "name": "Historical Table 1.4: Receipts, outlays, and surpluses or deficits ( - ) by fund group"
123
+ },
124
+ "table_2_1": {
125
+ "id": "2.1",
126
+ "endpoint": "historical_table",
127
+ "name": "Historical Table 2.1: Receipts by source"
128
+ },
129
+ "table_2_2": {
130
+ "id": "2.2",
131
+ "endpoint": "historical_table",
132
+ "name": "Historical Table 2.2: Percentage composition of receipts by source"
133
+ },
134
+ "table_2_3": {
135
+ "id": "2.3",
136
+ "endpoint": "historical_table",
137
+ "name": "Historical Table 2.3: Receipts by source as percentages of gdp"
138
+ },
139
+ "table_2_4": {
140
+ "id": "2.4",
141
+ "endpoint": "historical_table",
142
+ "name": "Historical Table 2.4: Composition of social insurance and retirement receipts and of excise taxes"
143
+ },
144
+ "table_2_5": {
145
+ "id": "2.5",
146
+ "endpoint": "historical_table",
147
+ "name": "Historical Table 2.5: Composition of \"other receipts\""
148
+ },
149
+ "table_3_1": {
150
+ "id": "3.1",
151
+ "endpoint": "historical_table",
152
+ "name": "Historical Table 3.1: Outlays by superfunction and function"
153
+ },
154
+ "table_3_2": {
155
+ "id": "3.2",
156
+ "endpoint": "historical_table",
157
+ "name": "Historical Table 3.2: Outlays by function and subfunction"
158
+ },
159
+ "table_4_1": {
160
+ "id": "4.1",
161
+ "endpoint": "historical_table",
162
+ "name": "Historical Table 4.1: Outlays by agency"
163
+ },
164
+ "table_4_2": {
165
+ "id": "4.2",
166
+ "endpoint": "historical_table",
167
+ "name": "Historical Table 4.2: Percentage distribution of outlays by agency"
168
+ },
169
+ "table_5_1": {
170
+ "id": "5.1",
171
+ "endpoint": "historical_table",
172
+ "name": "Historical Table 5.1: Budget authority by function and subfunction"
173
+ },
174
+ "table_5_2": {
175
+ "id": "5.2",
176
+ "endpoint": "historical_table",
177
+ "name": "Historical Table 5.2: Budget authority by agency"
178
+ },
179
+ "table_5_3": {
180
+ "id": "5.3",
181
+ "endpoint": "historical_table",
182
+ "name": "Historical Table 5.3: Percentage distribution of budget authority by agency"
183
+ },
184
+ "table_5_4": {
185
+ "id": "5.4",
186
+ "endpoint": "historical_table",
187
+ "name": "Historical Table 5.4: Discretionary budget authority by agency"
188
+ },
189
+ "table_5_5": {
190
+ "id": "5.5",
191
+ "endpoint": "historical_table",
192
+ "name": "Historical Table 5.5: Percentage distribution of discretionary budget authority by agency"
193
+ },
194
+ "table_5_6": {
195
+ "id": "5.6",
196
+ "endpoint": "historical_table",
197
+ "name": "Historical Table 5.6: Budget authority for discretionary programs"
198
+ },
199
+ "table_6_1": {
200
+ "id": "6.1",
201
+ "endpoint": "historical_table",
202
+ "name": "Historical Table 6.1: Composition of outlays"
203
+ },
204
+ "table_7_1": {
205
+ "id": "7.1",
206
+ "endpoint": "historical_table",
207
+ "name": "Historical Table 7.1: Federal debt at the end of year"
208
+ },
209
+ "table_7_2": {
210
+ "id": "7.2",
211
+ "endpoint": "historical_table",
212
+ "name": "Historical Table 7.2: Debt subject to statutory limit"
213
+ },
214
+ "table_7_3": {
215
+ "id": "7.3",
216
+ "endpoint": "historical_table",
217
+ "name": "Historical Table 7.3: Statutory limits on federal debt"
218
+ },
219
+ "table_8_1": {
220
+ "id": "8.1",
221
+ "endpoint": "historical_table",
222
+ "name": "Historical Table 8.1: Outlays by budget enforcement act category"
223
+ },
224
+ "table_8_2": {
225
+ "id": "8.2",
226
+ "endpoint": "historical_table",
227
+ "name": "Historical Table 8.2: Outlays by budget enforcement act category in constant (fy 2017) dollars"
228
+ },
229
+ "table_8_3": {
230
+ "id": "8.3",
231
+ "endpoint": "historical_table",
232
+ "name": "Historical Table 8.3: Percentage distribution of outlays by budget enforcement act category"
233
+ },
234
+ "table_8_4": {
235
+ "id": "8.4",
236
+ "endpoint": "historical_table",
237
+ "name": "Historical Table 8.4: Outlays by budget enforcement act category as percentages of gdp"
238
+ },
239
+ "table_8_5": {
240
+ "id": "8.5",
241
+ "endpoint": "historical_table",
242
+ "name": "Historical Table 8.5: Outlays for mandatory and related programs"
243
+ },
244
+ "table_8_6": {
245
+ "id": "8.6",
246
+ "endpoint": "historical_table",
247
+ "name": "Historical Table 8.6: Outlays for mandatory and related programs in constant (fy 2017) dollars"
248
+ },
249
+ "table_8_7": {
250
+ "id": "8.7",
251
+ "endpoint": "historical_table",
252
+ "name": "Historical Table 8.7: Outlays for discretionary programs"
253
+ },
254
+ "table_8_8": {
255
+ "id": "8.8",
256
+ "endpoint": "historical_table",
257
+ "name": "Historical Table 8.8: Outlays for discretionary programs in constant (fy 2017) dollars"
258
+ },
259
+ "table_9_1": {
260
+ "id": "9.1",
261
+ "endpoint": "historical_table",
262
+ "name": "Historical Table 9.1: Total investment outlays for major public physical capital, research and development, and education and training"
263
+ },
264
+ "table_9_2": {
265
+ "id": "9.2",
266
+ "endpoint": "historical_table",
267
+ "name": "Historical Table 9.2: Major public physical capital investment outlays in current and constant (fy 2017) dollars"
268
+ },
269
+ "table_9_3": {
270
+ "id": "9.3",
271
+ "endpoint": "historical_table",
272
+ "name": "Historical Table 9.3: Major public physical capital investment outlays in percentage terms"
273
+ },
274
+ "table_9_4": {
275
+ "id": "9.4",
276
+ "endpoint": "historical_table",
277
+ "name": "Historical Table 9.4: National defense outlays for major public direct physical capital investment"
278
+ },
279
+ "table_9_5": {
280
+ "id": "9.5",
281
+ "endpoint": "historical_table",
282
+ "name": "Historical Table 9.5: Nondefense outlays for major public direct physical capital investment"
283
+ },
284
+ "table_9_6": {
285
+ "id": "9.6",
286
+ "endpoint": "historical_table",
287
+ "name": "Historical Table 9.6: Composition of outlays for grants for major public physical capital investment"
288
+ },
289
+ "table_9_7": {
290
+ "id": "9.7",
291
+ "endpoint": "historical_table",
292
+ "name": "Historical Table 9.7: Summary of outlays for the conduct of research and development"
293
+ },
294
+ "table_9_8": {
295
+ "id": "9.8",
296
+ "endpoint": "historical_table",
297
+ "name": "Historical Table 9.8: Composition of outlays for the conduct of research and development"
298
+ },
299
+ "table_9_9": {
300
+ "id": "9.9",
301
+ "endpoint": "historical_table",
302
+ "name": "Historical Table 9.9: Composition of outlays for the conduct of education and training"
303
+ },
304
+ "table_10_1": {
305
+ "id": "10.1",
306
+ "endpoint": "historical_table",
307
+ "name": "Historical Table 10.1: Gross domestic product and deflators used in the historical tables"
308
+ },
309
+ "table_11_1": {
310
+ "id": "11.1",
311
+ "endpoint": "historical_table",
312
+ "name": "Historical Table 11.1: Summary comparison of outlays for payments for individuals"
313
+ },
314
+ "table_11_2": {
315
+ "id": "11.2",
316
+ "endpoint": "historical_table",
317
+ "name": "Historical Table 11.2: Functional composition of outlays for payments for individuals"
318
+ },
319
+ "table_11_3": {
320
+ "id": "11.3",
321
+ "endpoint": "historical_table",
322
+ "name": "Historical Table 11.3: Outlays for payments for individuals by category and major program"
323
+ },
324
+ "table_12_1": {
325
+ "id": "12.1",
326
+ "endpoint": "historical_table",
327
+ "name": "Historical Table 12.1: Summary comparison of total outlays for grants to state and local governments"
328
+ },
329
+ "table_12_2": {
330
+ "id": "12.2",
331
+ "endpoint": "historical_table",
332
+ "name": "Historical Table 12.2: Total outlays for grants to state and local governments by function and fund group"
333
+ },
334
+ "table_12_3": {
335
+ "id": "12.3",
336
+ "endpoint": "historical_table",
337
+ "name": "Historical Table 12.3: Total outlays for grants to state and local governments by function, agency, and program"
338
+ },
339
+ "table_13_1": {
340
+ "id": "13.1",
341
+ "endpoint": "historical_table",
342
+ "name": "Historical Table 13.1: Cash income, outgo, and balances of the social security and medicare trust funds"
343
+ },
344
+ "table_14_1": {
345
+ "id": "14.1",
346
+ "endpoint": "historical_table",
347
+ "name": "Historical Table 14.1: Total government receipts in absolute amounts and as percentages of gdp"
348
+ },
349
+ "table_14_2": {
350
+ "id": "14.2",
351
+ "endpoint": "historical_table",
352
+ "name": "Historical Table 14.2: Total government expenditures"
353
+ },
354
+ "table_14_3": {
355
+ "id": "14.3",
356
+ "endpoint": "historical_table",
357
+ "name": "Historical Table 14.3: Total government expenditures as percentages of gdp"
358
+ },
359
+ "table_14_4": {
360
+ "id": "14.4",
361
+ "endpoint": "historical_table",
362
+ "name": "Historical Table 14.4: Total government expenditures by major category of expenditure"
363
+ },
364
+ "table_14_5": {
365
+ "id": "14.5",
366
+ "endpoint": "historical_table",
367
+ "name": "Historical Table 14.5: Total government expenditures by major category of expenditure as percentages of gdp"
368
+ },
369
+ "table_14_6": {
370
+ "id": "14.6",
371
+ "endpoint": "historical_table",
372
+ "name": "Historical Table 14.6: Total government surpluses or deficits ( - ) in absolute amounts and as percentages of gdp"
373
+ },
374
+ "table_15_1": {
375
+ "id": "15.1",
376
+ "endpoint": "historical_table",
377
+ "name": "Historical Table 15.1: Outlays for health programs"
378
+ },
379
+ "table_16_1": {
380
+ "id": "16.1",
381
+ "endpoint": "historical_table",
382
+ "name": "Historical Table 16.1: Total executive branch civilian full-time equivalent (fte) employees"
383
+ },
384
+ "table_16_2": {
385
+ "id": "16.2",
386
+ "endpoint": "historical_table",
387
+ "name": "Historical Table 16.2: Total executive branch civilian full-time equivalent (fte) employees"
388
+ },
389
+ "pbd_budget_authority": {
390
+ "id": "budget_authority",
391
+ "endpoint": "budget_database",
392
+ "name": "Public Budget Database: budget authority by account",
393
+ "description": "budget authority (appropriations, mandatory authority) by agency, bureau, account, subfunction, BEA category, 1976 on, thousands of dollars"
394
+ },
395
+ "pbd_outlays": {
396
+ "id": "outlays",
397
+ "endpoint": "budget_database",
398
+ "name": "Public Budget Database: outlays by account",
399
+ "description": "outlays (spending) by agency, bureau, account, subfunction, BEA category (mandatory, discretionary, net interest), grant/nongrant, on-/off-budget, 1962 on, thousands of dollars"
400
+ },
401
+ "pbd_receipts": {
402
+ "id": "receipts",
403
+ "endpoint": "budget_database",
404
+ "name": "Public Budget Database: governmental receipts by account",
405
+ "description": "receipts (taxes, customs, fees) by source category and receipt account, 1962 on, thousands of dollars"
406
+ },
407
+ "fcs_table1": {
408
+ "id": "1",
409
+ "endpoint": "credit_supplement",
410
+ "name": "Federal Credit Supplement Table 1: Direct loans: subsidy rates, obligations, and average loan size",
411
+ "description": "credit subsidy rate (percent of disbursements) for each direct loan program and risk category"
412
+ },
413
+ "fcs_table2": {
414
+ "id": "2",
415
+ "endpoint": "credit_supplement",
416
+ "name": "Federal Credit Supplement Table 2: Loan guarantees: subsidy rates, commitments, and average loan size",
417
+ "description": "credit subsidy rate (percent of disbursements) for each loan guarantee program"
418
+ },
419
+ "fcs_table3": {
420
+ "id": "3",
421
+ "endpoint": "credit_supplement",
422
+ "name": "Federal Credit Supplement Table 3: Direct loans: assumptions underlying the current-year subsidy estimates"
423
+ },
424
+ "fcs_table4": {
425
+ "id": "4",
426
+ "endpoint": "credit_supplement",
427
+ "name": "Federal Credit Supplement Table 4: Loan guarantees: assumptions underlying the current-year subsidy estimates"
428
+ },
429
+ "fcs_table5": {
430
+ "id": "5",
431
+ "endpoint": "credit_supplement",
432
+ "name": "Federal Credit Supplement Table 5: Direct loans: assumptions underlying the budget-year subsidy estimates"
433
+ },
434
+ "fcs_table6": {
435
+ "id": "6",
436
+ "endpoint": "credit_supplement",
437
+ "name": "Federal Credit Supplement Table 6: Loan guarantees: assumptions underlying the budget-year subsidy estimates"
438
+ },
439
+ "fcs_table7": {
440
+ "id": "7",
441
+ "endpoint": "credit_supplement",
442
+ "name": "Federal Credit Supplement Table 7: Direct loans: subsidy reestimates by cohort"
443
+ },
444
+ "fcs_table8": {
445
+ "id": "8",
446
+ "endpoint": "credit_supplement",
447
+ "name": "Federal Credit Supplement Table 8: Guaranteed loans: subsidy reestimates by cohort"
448
+ },
449
+ "fcs_table9": {
450
+ "id": "9",
451
+ "endpoint": "credit_supplement",
452
+ "name": "Federal Credit Supplement Table 9: Direct loan program disbursement rate assumptions"
453
+ },
454
+ "fcs_table10": {
455
+ "id": "10",
456
+ "endpoint": "credit_supplement",
457
+ "name": "Federal Credit Supplement Table 10: Loan guarantee program disbursement rate assumptions"
458
+ }
459
+ }
460
+ }