data-analyst-mcp 0.0.0-stage → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (640) hide show
  1. package/README.md +261 -2
  2. package/dist/adapters/_acf_tidy.d.ts +18 -0
  3. package/dist/adapters/_acf_tidy.js +432 -0
  4. package/dist/adapters/_acf_tidy.js.map +1 -0
  5. package/dist/adapters/_actuaries_read.d.ts +38 -0
  6. package/dist/adapters/_actuaries_read.js +728 -0
  7. package/dist/adapters/_actuaries_read.js.map +1 -0
  8. package/dist/adapters/_census_micro.d.ts +70 -0
  9. package/dist/adapters/_census_micro.js +622 -0
  10. package/dist/adapters/_census_micro.js.map +1 -0
  11. package/dist/adapters/_census_util.d.ts +40 -0
  12. package/dist/adapters/_census_util.js +275 -0
  13. package/dist/adapters/_census_util.js.map +1 -0
  14. package/dist/adapters/_dol_states.d.ts +6 -0
  15. package/dist/adapters/_dol_states.js +58 -0
  16. package/dist/adapters/_dol_states.js.map +1 -0
  17. package/dist/adapters/_govinfo_entities.d.ts +4 -0
  18. package/dist/adapters/_govinfo_entities.js +6 -0
  19. package/dist/adapters/_govinfo_entities.js.map +1 -0
  20. package/dist/adapters/_govinfo_json.d.ts +13 -0
  21. package/dist/adapters/_govinfo_json.js +107 -0
  22. package/dist/adapters/_govinfo_json.js.map +1 -0
  23. package/dist/adapters/_govinfo_py.d.ts +22 -0
  24. package/dist/adapters/_govinfo_py.js +272 -0
  25. package/dist/adapters/_govinfo_py.js.map +1 -0
  26. package/dist/adapters/_govinfo_xml.d.ts +22 -0
  27. package/dist/adapters/_govinfo_xml.js +233 -0
  28. package/dist/adapters/_govinfo_xml.js.map +1 -0
  29. package/dist/adapters/_hud_excel.d.ts +2 -0
  30. package/dist/adapters/_hud_excel.js +166 -0
  31. package/dist/adapters/_hud_excel.js.map +1 -0
  32. package/dist/adapters/_omb_grid.d.ts +17 -0
  33. package/dist/adapters/_omb_grid.js +132 -0
  34. package/dist/adapters/_omb_grid.js.map +1 -0
  35. package/dist/adapters/_omb_util.d.ts +40 -0
  36. package/dist/adapters/_omb_util.js +192 -0
  37. package/dist/adapters/_omb_util.js.map +1 -0
  38. package/dist/adapters/_usaspending_state.d.ts +6 -0
  39. package/dist/adapters/_usaspending_state.js +54 -0
  40. package/dist/adapters/_usaspending_state.js.map +1 -0
  41. package/dist/adapters/_usda-fna_book.d.ts +59 -0
  42. package/dist/adapters/_usda-fna_book.js +869 -0
  43. package/dist/adapters/_usda-fna_book.js.map +1 -0
  44. package/dist/adapters/_usda-fna_pdf.d.ts +20 -0
  45. package/dist/adapters/_usda-fna_pdf.js +361 -0
  46. package/dist/adapters/_usda-fna_pdf.js.map +1 -0
  47. package/dist/adapters/_usda-outlook_read.d.ts +70 -0
  48. package/dist/adapters/_usda-outlook_read.js +362 -0
  49. package/dist/adapters/_usda-outlook_read.js.map +1 -0
  50. package/dist/adapters/acf.d.ts +3 -0
  51. package/dist/adapters/acf.js +187 -0
  52. package/dist/adapters/acf.js.map +1 -0
  53. package/dist/adapters/actuaries.d.ts +3 -0
  54. package/dist/adapters/actuaries.js +293 -0
  55. package/dist/adapters/actuaries.js.map +1 -0
  56. package/dist/adapters/bts.d.ts +3 -0
  57. package/dist/adapters/bts.js +26 -0
  58. package/dist/adapters/bts.js.map +1 -0
  59. package/dist/adapters/census-geocoder.d.ts +10 -0
  60. package/dist/adapters/census-geocoder.js +47 -0
  61. package/dist/adapters/census-geocoder.js.map +1 -0
  62. package/dist/adapters/census.d.ts +17 -0
  63. package/dist/adapters/census.js +983 -0
  64. package/dist/adapters/census.js.map +1 -0
  65. package/dist/adapters/cfpb.d.ts +7 -0
  66. package/dist/adapters/cfpb.js +348 -0
  67. package/dist/adapters/cfpb.js.map +1 -0
  68. package/dist/adapters/clinical-trials.d.ts +3 -0
  69. package/dist/adapters/clinical-trials.js +135 -0
  70. package/dist/adapters/clinical-trials.js.map +1 -0
  71. package/dist/adapters/cms.d.ts +3 -0
  72. package/dist/adapters/cms.js +292 -0
  73. package/dist/adapters/cms.js.map +1 -0
  74. package/dist/adapters/college-scorecard.d.ts +3 -0
  75. package/dist/adapters/college-scorecard.js +122 -0
  76. package/dist/adapters/college-scorecard.js.map +1 -0
  77. package/dist/adapters/congress.d.ts +33 -0
  78. package/dist/adapters/congress.js +589 -0
  79. package/dist/adapters/congress.js.map +1 -0
  80. package/dist/adapters/dhs-ohss.d.ts +13 -0
  81. package/dist/adapters/dhs-ohss.js +598 -0
  82. package/dist/adapters/dhs-ohss.js.map +1 -0
  83. package/dist/adapters/doj-news.d.ts +7 -0
  84. package/dist/adapters/doj-news.js +286 -0
  85. package/dist/adapters/doj-news.js.map +1 -0
  86. package/dist/adapters/dol.d.ts +4 -0
  87. package/dist/adapters/dol.js +634 -0
  88. package/dist/adapters/dol.js.map +1 -0
  89. package/dist/adapters/eia.d.ts +15 -0
  90. package/dist/adapters/eia.js +456 -0
  91. package/dist/adapters/eia.js.map +1 -0
  92. package/dist/adapters/epa-aqs.d.ts +3 -0
  93. package/dist/adapters/epa-aqs.js +357 -0
  94. package/dist/adapters/epa-aqs.js.map +1 -0
  95. package/dist/adapters/epa.d.ts +3 -0
  96. package/dist/adapters/epa.js +298 -0
  97. package/dist/adapters/epa.js.map +1 -0
  98. package/dist/adapters/fbi.d.ts +3 -0
  99. package/dist/adapters/fbi.js +192 -0
  100. package/dist/adapters/fbi.js.map +1 -0
  101. package/dist/adapters/fda.d.ts +5 -0
  102. package/dist/adapters/fda.js +184 -0
  103. package/dist/adapters/fda.js.map +1 -0
  104. package/dist/adapters/fdic.d.ts +4 -0
  105. package/dist/adapters/fdic.js +95 -0
  106. package/dist/adapters/fdic.js.map +1 -0
  107. package/dist/adapters/fec.d.ts +3 -0
  108. package/dist/adapters/fec.js +142 -0
  109. package/dist/adapters/fec.js.map +1 -0
  110. package/dist/adapters/fed-board.d.ts +12 -0
  111. package/dist/adapters/fed-board.js +581 -0
  112. package/dist/adapters/fed-board.js.map +1 -0
  113. package/dist/adapters/federal-register.d.ts +11 -0
  114. package/dist/adapters/federal-register.js +43 -0
  115. package/dist/adapters/federal-register.js.map +1 -0
  116. package/dist/adapters/fhfa.d.ts +3 -0
  117. package/dist/adapters/fhfa.js +253 -0
  118. package/dist/adapters/fhfa.js.map +1 -0
  119. package/dist/adapters/fsa.d.ts +9 -0
  120. package/dist/adapters/fsa.js +335 -0
  121. package/dist/adapters/fsa.js.map +1 -0
  122. package/dist/adapters/govinfo.d.ts +30 -0
  123. package/dist/adapters/govinfo.js +636 -0
  124. package/dist/adapters/govinfo.js.map +1 -0
  125. package/dist/adapters/gsa-calc.d.ts +10 -0
  126. package/dist/adapters/gsa-calc.js +318 -0
  127. package/dist/adapters/gsa-calc.js.map +1 -0
  128. package/dist/adapters/hud.d.ts +3 -0
  129. package/dist/adapters/hud.js +200 -0
  130. package/dist/adapters/hud.js.map +1 -0
  131. package/dist/adapters/index.d.ts +3 -0
  132. package/dist/adapters/index.js +25 -0
  133. package/dist/adapters/index.js.map +1 -0
  134. package/dist/adapters/irs-soi.d.ts +6 -0
  135. package/dist/adapters/irs-soi.js +576 -0
  136. package/dist/adapters/irs-soi.js.map +1 -0
  137. package/dist/adapters/naep.d.ts +15 -0
  138. package/dist/adapters/naep.js +341 -0
  139. package/dist/adapters/naep.js.map +1 -0
  140. package/dist/adapters/nhtsa.d.ts +10 -0
  141. package/dist/adapters/nhtsa.js +239 -0
  142. package/dist/adapters/nhtsa.js.map +1 -0
  143. package/dist/adapters/nih.d.ts +5 -0
  144. package/dist/adapters/nih.js +196 -0
  145. package/dist/adapters/nih.js.map +1 -0
  146. package/dist/adapters/noaa.d.ts +3 -0
  147. package/dist/adapters/noaa.js +148 -0
  148. package/dist/adapters/noaa.js.map +1 -0
  149. package/dist/adapters/nrel.d.ts +3 -0
  150. package/dist/adapters/nrel.js +186 -0
  151. package/dist/adapters/nrel.js.map +1 -0
  152. package/dist/adapters/nws.d.ts +3 -0
  153. package/dist/adapters/nws.js +119 -0
  154. package/dist/adapters/nws.js.map +1 -0
  155. package/dist/adapters/omb.d.ts +15 -0
  156. package/dist/adapters/omb.js +517 -0
  157. package/dist/adapters/omb.js.map +1 -0
  158. package/dist/adapters/open-payments.d.ts +5 -0
  159. package/dist/adapters/open-payments.js +149 -0
  160. package/dist/adapters/open-payments.js.map +1 -0
  161. package/dist/adapters/pbgc.d.ts +13 -0
  162. package/dist/adapters/pbgc.js +283 -0
  163. package/dist/adapters/pbgc.js.map +1 -0
  164. package/dist/adapters/philfed.d.ts +12 -0
  165. package/dist/adapters/philfed.js +59 -0
  166. package/dist/adapters/philfed.js.map +1 -0
  167. package/dist/adapters/regulations.d.ts +6 -0
  168. package/dist/adapters/regulations.js +58 -0
  169. package/dist/adapters/regulations.js.map +1 -0
  170. package/dist/adapters/sec.d.ts +13 -0
  171. package/dist/adapters/sec.js +504 -0
  172. package/dist/adapters/sec.js.map +1 -0
  173. package/dist/adapters/senate-lobbying.d.ts +3 -0
  174. package/dist/adapters/senate-lobbying.js +181 -0
  175. package/dist/adapters/senate-lobbying.js.map +1 -0
  176. package/dist/adapters/snapqc.d.ts +32 -0
  177. package/dist/adapters/snapqc.js +701 -0
  178. package/dist/adapters/snapqc.js.map +1 -0
  179. package/dist/adapters/treasury-yields.d.ts +3 -0
  180. package/dist/adapters/treasury-yields.js +170 -0
  181. package/dist/adapters/treasury-yields.js.map +1 -0
  182. package/dist/adapters/usaspending.d.ts +3 -0
  183. package/dist/adapters/usaspending.js +340 -0
  184. package/dist/adapters/usaspending.js.map +1 -0
  185. package/dist/adapters/usda-fna.d.ts +7 -0
  186. package/dist/adapters/usda-fna.js +707 -0
  187. package/dist/adapters/usda-fna.js.map +1 -0
  188. package/dist/adapters/usda-fooddata.d.ts +3 -0
  189. package/dist/adapters/usda-fooddata.js +101 -0
  190. package/dist/adapters/usda-fooddata.js.map +1 -0
  191. package/dist/adapters/usda-nass.d.ts +3 -0
  192. package/dist/adapters/usda-nass.js +108 -0
  193. package/dist/adapters/usda-nass.js.map +1 -0
  194. package/dist/adapters/usda-outlook.d.ts +12 -0
  195. package/dist/adapters/usda-outlook.js +696 -0
  196. package/dist/adapters/usda-outlook.js.map +1 -0
  197. package/dist/adapters/usgs.d.ts +9 -0
  198. package/dist/adapters/usgs.js +265 -0
  199. package/dist/adapters/usgs.js.map +1 -0
  200. package/dist/adapters/usitc.d.ts +18 -0
  201. package/dist/adapters/usitc.js +170 -0
  202. package/dist/adapters/usitc.js.map +1 -0
  203. package/dist/adapters/uspto.d.ts +3 -0
  204. package/dist/adapters/uspto.js +47 -0
  205. package/dist/adapters/uspto.js.map +1 -0
  206. package/dist/adapters/world-bank.d.ts +3 -0
  207. package/dist/adapters/world-bank.js +163 -0
  208. package/dist/adapters/world-bank.js.map +1 -0
  209. package/dist/analysis/cite.d.ts +31 -0
  210. package/dist/analysis/cite.js +229 -0
  211. package/dist/analysis/cite.js.map +1 -0
  212. package/dist/analysis/combine.d.ts +27 -0
  213. package/dist/analysis/combine.js +198 -0
  214. package/dist/analysis/combine.js.map +1 -0
  215. package/dist/analysis/compute.d.ts +62 -0
  216. package/dist/analysis/compute.js +583 -0
  217. package/dist/analysis/compute.js.map +1 -0
  218. package/dist/analysis/expr.d.ts +69 -0
  219. package/dist/analysis/expr.js +780 -0
  220. package/dist/analysis/expr.js.map +1 -0
  221. package/dist/analysis/factfmt.d.ts +16 -0
  222. package/dist/analysis/factfmt.js +187 -0
  223. package/dist/analysis/factfmt.js.map +1 -0
  224. package/dist/analysis/facts.d.ts +63 -0
  225. package/dist/analysis/facts.js +355 -0
  226. package/dist/analysis/facts.js.map +1 -0
  227. package/dist/analysis/handoff.d.ts +58 -0
  228. package/dist/analysis/handoff.js +208 -0
  229. package/dist/analysis/handoff.js.map +1 -0
  230. package/dist/analysis/pyfmt.d.ts +16 -0
  231. package/dist/analysis/pyfmt.js +156 -0
  232. package/dist/analysis/pyfmt.js.map +1 -0
  233. package/dist/analysis/rerun.d.ts +13 -0
  234. package/dist/analysis/rerun.js +125 -0
  235. package/dist/analysis/rerun.js.map +1 -0
  236. package/dist/analysis/table.d.ts +18 -0
  237. package/dist/analysis/table.js +109 -0
  238. package/dist/analysis/table.js.map +1 -0
  239. package/dist/analysis/tools.d.ts +67 -0
  240. package/dist/analysis/tools.js +217 -0
  241. package/dist/analysis/tools.js.map +1 -0
  242. package/dist/analysis/write_table.d.ts +13 -0
  243. package/dist/analysis/write_table.js +59 -0
  244. package/dist/analysis/write_table.js.map +1 -0
  245. package/dist/bin/cli.d.ts +10 -0
  246. package/dist/bin/cli.js +177 -0
  247. package/dist/bin/cli.js.map +1 -0
  248. package/dist/core/cache.d.ts +14 -0
  249. package/dist/core/cache.js +90 -0
  250. package/dist/core/cache.js.map +1 -0
  251. package/dist/core/context.d.ts +12 -0
  252. package/dist/core/context.js +15 -0
  253. package/dist/core/context.js.map +1 -0
  254. package/dist/core/env.d.ts +14 -0
  255. package/dist/core/env.js +52 -0
  256. package/dist/core/env.js.map +1 -0
  257. package/dist/core/generic-rest.d.ts +61 -0
  258. package/dist/core/generic-rest.js +639 -0
  259. package/dist/core/generic-rest.js.map +1 -0
  260. package/dist/core/http.d.ts +120 -0
  261. package/dist/core/http.js +514 -0
  262. package/dist/core/http.js.map +1 -0
  263. package/dist/core/keys.d.ts +43 -0
  264. package/dist/core/keys.js +174 -0
  265. package/dist/core/keys.js.map +1 -0
  266. package/dist/core/manual.d.ts +41 -0
  267. package/dist/core/manual.js +218 -0
  268. package/dist/core/manual.js.map +1 -0
  269. package/dist/core/package.d.ts +58 -0
  270. package/dist/core/package.js +228 -0
  271. package/dist/core/package.js.map +1 -0
  272. package/dist/core/packs.d.ts +139 -0
  273. package/dist/core/packs.js +173 -0
  274. package/dist/core/packs.js.map +1 -0
  275. package/dist/core/policy.d.ts +69 -0
  276. package/dist/core/policy.js +189 -0
  277. package/dist/core/policy.js.map +1 -0
  278. package/dist/core/py.d.ts +40 -0
  279. package/dist/core/py.js +171 -0
  280. package/dist/core/py.js.map +1 -0
  281. package/dist/core/routing.d.ts +10 -0
  282. package/dist/core/routing.js +39 -0
  283. package/dist/core/routing.js.map +1 -0
  284. package/dist/core/tabular.d.ts +21 -0
  285. package/dist/core/tabular.js +229 -0
  286. package/dist/core/tabular.js.map +1 -0
  287. package/dist/deep/_bea_api.d.ts +102 -0
  288. package/dist/deep/_bea_api.js +457 -0
  289. package/dist/deep/_bea_api.js.map +1 -0
  290. package/dist/deep/_bea_fetch.d.ts +151 -0
  291. package/dist/deep/_bea_fetch.js +1274 -0
  292. package/dist/deep/_bea_fetch.js.map +1 -0
  293. package/dist/deep/_bea_util.d.ts +14 -0
  294. package/dist/deep/_bea_util.js +156 -0
  295. package/dist/deep/_bea_util.js.map +1 -0
  296. package/dist/deep/_bls_api.d.ts +84 -0
  297. package/dist/deep/_bls_api.js +231 -0
  298. package/dist/deep/_bls_api.js.map +1 -0
  299. package/dist/deep/_bls_ids.d.ts +43 -0
  300. package/dist/deep/_bls_ids.js +188 -0
  301. package/dist/deep/_bls_ids.js.map +1 -0
  302. package/dist/deep/_bls_lib.d.ts +61 -0
  303. package/dist/deep/_bls_lib.js +442 -0
  304. package/dist/deep/_bls_lib.js.map +1 -0
  305. package/dist/deep/_fred_api.d.ts +148 -0
  306. package/dist/deep/_fred_api.js +545 -0
  307. package/dist/deep/_fred_api.js.map +1 -0
  308. package/dist/deep/_fred_pack.d.ts +162 -0
  309. package/dist/deep/_fred_pack.js +1027 -0
  310. package/dist/deep/_fred_pack.js.map +1 -0
  311. package/dist/deep/_fred_py.d.ts +40 -0
  312. package/dist/deep/_fred_py.js +199 -0
  313. package/dist/deep/_fred_py.js.map +1 -0
  314. package/dist/deep/_ipums_bundle.d.ts +29 -0
  315. package/dist/deep/_ipums_bundle.js +194 -0
  316. package/dist/deep/_ipums_bundle.js.map +1 -0
  317. package/dist/deep/_ipums_ddi.d.ts +23 -0
  318. package/dist/deep/_ipums_ddi.js +162 -0
  319. package/dist/deep/_ipums_ddi.js.map +1 -0
  320. package/dist/deep/_opm_io.d.ts +26 -0
  321. package/dist/deep/_opm_io.js +383 -0
  322. package/dist/deep/_opm_io.js.map +1 -0
  323. package/dist/deep/_opm_parquet.d.ts +31 -0
  324. package/dist/deep/_opm_parquet.js +744 -0
  325. package/dist/deep/_opm_parquet.js.map +1 -0
  326. package/dist/deep/_opm_py.d.ts +6 -0
  327. package/dist/deep/_opm_py.js +74 -0
  328. package/dist/deep/_opm_py.js.map +1 -0
  329. package/dist/deep/_treasury_api.d.ts +48 -0
  330. package/dist/deep/_treasury_api.js +221 -0
  331. package/dist/deep/_treasury_api.js.map +1 -0
  332. package/dist/deep/_treasury_context.d.ts +34 -0
  333. package/dist/deep/_treasury_context.js +142 -0
  334. package/dist/deep/_treasury_context.js.map +1 -0
  335. package/dist/deep/_treasury_lib.d.ts +109 -0
  336. package/dist/deep/_treasury_lib.js +686 -0
  337. package/dist/deep/_treasury_lib.js.map +1 -0
  338. package/dist/deep/bea.d.ts +3 -0
  339. package/dist/deep/bea.js +248 -0
  340. package/dist/deep/bea.js.map +1 -0
  341. package/dist/deep/bls.d.ts +3 -0
  342. package/dist/deep/bls.js +220 -0
  343. package/dist/deep/bls.js.map +1 -0
  344. package/dist/deep/fred.d.ts +3 -0
  345. package/dist/deep/fred.js +325 -0
  346. package/dist/deep/fred.js.map +1 -0
  347. package/dist/deep/ipums.d.ts +59 -0
  348. package/dist/deep/ipums.js +744 -0
  349. package/dist/deep/ipums.js.map +1 -0
  350. package/dist/deep/opm.d.ts +56 -0
  351. package/dist/deep/opm.js +1033 -0
  352. package/dist/deep/opm.js.map +1 -0
  353. package/dist/deep/treasury.d.ts +3 -0
  354. package/dist/deep/treasury.js +218 -0
  355. package/dist/deep/treasury.js.map +1 -0
  356. package/dist/envelope.d.ts +47 -0
  357. package/dist/envelope.js +88 -0
  358. package/dist/envelope.js.map +1 -0
  359. package/dist/index.d.ts +277 -0
  360. package/dist/index.js +106 -0
  361. package/dist/index.js.map +1 -0
  362. package/dist/remote/app.d.ts +21 -0
  363. package/dist/remote/app.js +218 -0
  364. package/dist/remote/app.js.map +1 -0
  365. package/dist/remote/oauth.d.ts +14 -0
  366. package/dist/remote/oauth.js +90 -0
  367. package/dist/remote/oauth.js.map +1 -0
  368. package/dist/remote/pages.d.ts +8 -0
  369. package/dist/remote/pages.js +56 -0
  370. package/dist/remote/pages.js.map +1 -0
  371. package/dist/remote/sign.d.ts +4 -0
  372. package/dist/remote/sign.js +40 -0
  373. package/dist/remote/sign.js.map +1 -0
  374. package/dist/remote/store.d.ts +31 -0
  375. package/dist/remote/store.js +129 -0
  376. package/dist/remote/store.js.map +1 -0
  377. package/dist/report/audit_answer.d.ts +94 -0
  378. package/dist/report/audit_answer.js +1349 -0
  379. package/dist/report/audit_answer.js.map +1 -0
  380. package/dist/report/audit_report.d.ts +23 -0
  381. package/dist/report/audit_report.js +637 -0
  382. package/dist/report/audit_report.js.map +1 -0
  383. package/dist/report/build_report.d.ts +27 -0
  384. package/dist/report/build_report.js +1168 -0
  385. package/dist/report/build_report.js.map +1 -0
  386. package/dist/report/method_audit.d.ts +47 -0
  387. package/dist/report/method_audit.js +716 -0
  388. package/dist/report/method_audit.js.map +1 -0
  389. package/dist/report/policyset.d.ts +50 -0
  390. package/dist/report/policyset.js +421 -0
  391. package/dist/report/policyset.js.map +1 -0
  392. package/dist/report/py.d.ts +58 -0
  393. package/dist/report/py.js +311 -0
  394. package/dist/report/py.js.map +1 -0
  395. package/dist/report/scan_secrets.d.ts +24 -0
  396. package/dist/report/scan_secrets.js +265 -0
  397. package/dist/report/scan_secrets.js.map +1 -0
  398. package/dist/report/style_check.d.ts +29 -0
  399. package/dist/report/style_check.js +173 -0
  400. package/dist/report/style_check.js.map +1 -0
  401. package/dist/report/tools.d.ts +87 -0
  402. package/dist/report/tools.js +167 -0
  403. package/dist/report/tools.js.map +1 -0
  404. package/dist/server.d.ts +5 -0
  405. package/dist/server.js +247 -0
  406. package/dist/server.js.map +1 -0
  407. package/dist/session.d.ts +47 -0
  408. package/dist/session.js +107 -0
  409. package/dist/session.js.map +1 -0
  410. package/dist/toolkit.d.ts +21 -0
  411. package/dist/toolkit.js +2 -0
  412. package/dist/toolkit.js.map +1 -0
  413. package/dist/tools.d.ts +299 -0
  414. package/dist/tools.js +491 -0
  415. package/dist/tools.js.map +1 -0
  416. package/guide/WORKFLOW.md +134 -0
  417. package/guide/assets/disclaimer.txt +1 -0
  418. package/guide/assets/download_data.ps1 +162 -0
  419. package/guide/assets/download_data.sh +143 -0
  420. package/guide/assets/report_template.html +597 -0
  421. package/guide/references/report_patterns.md +199 -0
  422. package/guide/references/routing.md +171 -0
  423. package/guide/references/style_guide.md +398 -0
  424. package/package.json +54 -4
  425. package/packs/acf/endpoints.json +114 -0
  426. package/packs/acf/policy.json +104 -0
  427. package/packs/acf/source.md +138 -0
  428. package/packs/actuaries/endpoints.json +82 -0
  429. package/packs/actuaries/policy.json +109 -0
  430. package/packs/actuaries/source.md +137 -0
  431. package/packs/bea/assets/download_bea.ps1 +182 -0
  432. package/packs/bea/assets/download_bea.sh +144 -0
  433. package/packs/bea/docs/bea_api.md +461 -0
  434. package/packs/bea/docs/datasets.md +157 -0
  435. package/packs/bea/docs/report_patterns.md +112 -0
  436. package/packs/bea/policy.json +170 -0
  437. package/packs/bea/source.md +152 -0
  438. package/packs/bls/assets/download_bls.ps1 +152 -0
  439. package/packs/bls/assets/download_bls.sh +167 -0
  440. package/packs/bls/docs/analysis_patterns.md +108 -0
  441. package/packs/bls/docs/bls_api.md +73 -0
  442. package/packs/bls/docs/series_ids.md +149 -0
  443. package/packs/bls/policy.json +238 -0
  444. package/packs/bls/series_ids.json +1375 -0
  445. package/packs/bls/source.md +156 -0
  446. package/packs/bts/endpoints.json +347 -0
  447. package/packs/bts/policy.json +94 -0
  448. package/packs/bts/source.md +97 -0
  449. package/packs/cdc/endpoints.json +197 -0
  450. package/packs/cdc/policy.json +83 -0
  451. package/packs/cdc/source.md +74 -0
  452. package/packs/census/endpoints.json +99 -0
  453. package/packs/census/policy.json +238 -0
  454. package/packs/census/source.md +304 -0
  455. package/packs/census-geocoder/endpoints.json +70 -0
  456. package/packs/census-geocoder/policy.json +80 -0
  457. package/packs/census-geocoder/source.md +53 -0
  458. package/packs/cfpb/endpoints.json +327 -0
  459. package/packs/cfpb/policy.json +119 -0
  460. package/packs/cfpb/source.md +96 -0
  461. package/packs/clinical-trials/endpoints.json +167 -0
  462. package/packs/clinical-trials/policy.json +84 -0
  463. package/packs/clinical-trials/source.md +82 -0
  464. package/packs/cms/endpoints.json +69 -0
  465. package/packs/cms/policy.json +96 -0
  466. package/packs/cms/source.md +112 -0
  467. package/packs/college-scorecard/endpoints.json +253 -0
  468. package/packs/college-scorecard/policy.json +106 -0
  469. package/packs/college-scorecard/source.md +92 -0
  470. package/packs/congress/endpoints.json +1701 -0
  471. package/packs/congress/policy.json +117 -0
  472. package/packs/congress/source.md +190 -0
  473. package/packs/dhs-ohss/endpoints.json +66 -0
  474. package/packs/dhs-ohss/policy.json +107 -0
  475. package/packs/dhs-ohss/source.md +120 -0
  476. package/packs/doj-news/endpoints.json +59 -0
  477. package/packs/doj-news/policy.json +96 -0
  478. package/packs/doj-news/source.md +99 -0
  479. package/packs/dol/endpoints.json +818 -0
  480. package/packs/dol/policy.json +135 -0
  481. package/packs/dol/source.md +181 -0
  482. package/packs/eia/endpoints.json +718 -0
  483. package/packs/eia/policy.json +112 -0
  484. package/packs/eia/source.md +112 -0
  485. package/packs/epa/endpoints.json +292 -0
  486. package/packs/epa/policy.json +99 -0
  487. package/packs/epa/source.md +99 -0
  488. package/packs/epa-aqs/endpoints.json +174 -0
  489. package/packs/epa-aqs/policy.json +96 -0
  490. package/packs/epa-aqs/source.md +97 -0
  491. package/packs/fbi/endpoints.json +1842 -0
  492. package/packs/fbi/policy.json +118 -0
  493. package/packs/fbi/source.md +108 -0
  494. package/packs/fda/endpoints.json +238 -0
  495. package/packs/fda/policy.json +121 -0
  496. package/packs/fda/source.md +117 -0
  497. package/packs/fdic/endpoints.json +417 -0
  498. package/packs/fdic/policy.json +83 -0
  499. package/packs/fdic/source.md +92 -0
  500. package/packs/fec/endpoints.json +708 -0
  501. package/packs/fec/policy.json +93 -0
  502. package/packs/fec/source.md +90 -0
  503. package/packs/fed-board/endpoints.json +89 -0
  504. package/packs/fed-board/policy.json +136 -0
  505. package/packs/fed-board/source.md +118 -0
  506. package/packs/federal-register/endpoints.json +143 -0
  507. package/packs/federal-register/policy.json +86 -0
  508. package/packs/federal-register/source.md +98 -0
  509. package/packs/fema/endpoints.json +646 -0
  510. package/packs/fema/policy.json +103 -0
  511. package/packs/fema/source.md +103 -0
  512. package/packs/fhfa/endpoints.json +105 -0
  513. package/packs/fhfa/policy.json +109 -0
  514. package/packs/fhfa/source.md +108 -0
  515. package/packs/fred/assets/download_fred.ps1 +122 -0
  516. package/packs/fred/assets/download_fred.sh +123 -0
  517. package/packs/fred/docs/analysis_patterns.md +124 -0
  518. package/packs/fred/docs/fred_api.md +94 -0
  519. package/packs/fred/docs/series.md +188 -0
  520. package/packs/fred/policy.json +253 -0
  521. package/packs/fred/source.md +142 -0
  522. package/packs/fsa/endpoints.json +150 -0
  523. package/packs/fsa/policy.json +99 -0
  524. package/packs/fsa/source.md +102 -0
  525. package/packs/govinfo/endpoints.json +520 -0
  526. package/packs/govinfo/policy.json +116 -0
  527. package/packs/govinfo/source.md +241 -0
  528. package/packs/gsa-calc/endpoints.json +93 -0
  529. package/packs/gsa-calc/policy.json +97 -0
  530. package/packs/gsa-calc/source.md +108 -0
  531. package/packs/hud/endpoints.json +147 -0
  532. package/packs/hud/policy.json +84 -0
  533. package/packs/hud/source.md +97 -0
  534. package/packs/ipums/assets/download_ipums.ps1 +215 -0
  535. package/packs/ipums/assets/download_ipums.sh +192 -0
  536. package/packs/ipums/docs/ipums_api.md +67 -0
  537. package/packs/ipums/docs/report_patterns.md +117 -0
  538. package/packs/ipums/docs/variables.md +284 -0
  539. package/packs/ipums/lib/fetch_text.json +112 -0
  540. package/packs/ipums/policy.json +215 -0
  541. package/packs/ipums/source.md +169 -0
  542. package/packs/irs-soi/endpoints.json +114 -0
  543. package/packs/irs-soi/policy.json +107 -0
  544. package/packs/irs-soi/source.md +124 -0
  545. package/packs/medicaid/endpoints.json +412 -0
  546. package/packs/medicaid/policy.json +108 -0
  547. package/packs/medicaid/source.md +136 -0
  548. package/packs/naep/endpoints.json +217 -0
  549. package/packs/naep/policy.json +100 -0
  550. package/packs/naep/source.md +120 -0
  551. package/packs/nhtsa/endpoints.json +132 -0
  552. package/packs/nhtsa/policy.json +93 -0
  553. package/packs/nhtsa/source.md +109 -0
  554. package/packs/nih/endpoints.json +453 -0
  555. package/packs/nih/policy.json +86 -0
  556. package/packs/nih/source.md +108 -0
  557. package/packs/noaa/endpoints.json +432 -0
  558. package/packs/noaa/policy.json +95 -0
  559. package/packs/noaa/source.md +88 -0
  560. package/packs/nrel/endpoints.json +328 -0
  561. package/packs/nrel/policy.json +96 -0
  562. package/packs/nrel/source.md +91 -0
  563. package/packs/nws/endpoints.json +272 -0
  564. package/packs/nws/policy.json +82 -0
  565. package/packs/nws/source.md +81 -0
  566. package/packs/nyfed/endpoints.json +80 -0
  567. package/packs/nyfed/policy.json +92 -0
  568. package/packs/nyfed/source.md +89 -0
  569. package/packs/omb/endpoints.json +460 -0
  570. package/packs/omb/policy.json +106 -0
  571. package/packs/omb/source.md +130 -0
  572. package/packs/open-payments/endpoints.json +298 -0
  573. package/packs/open-payments/policy.json +101 -0
  574. package/packs/open-payments/source.md +99 -0
  575. package/packs/opm/assets/download_opm.ps1 +125 -0
  576. package/packs/opm/assets/download_opm.sh +85 -0
  577. package/packs/opm/docs/fields.md +184 -0
  578. package/packs/opm/docs/opm_api.md +71 -0
  579. package/packs/opm/docs/report_patterns.md +83 -0
  580. package/packs/opm/lib/data_dictionary.csv +73 -0
  581. package/packs/opm/policy.json +142 -0
  582. package/packs/opm/source.md +137 -0
  583. package/packs/pbgc/endpoints.json +483 -0
  584. package/packs/pbgc/policy.json +94 -0
  585. package/packs/pbgc/source.md +95 -0
  586. package/packs/philfed/endpoints.json +85 -0
  587. package/packs/philfed/policy.json +94 -0
  588. package/packs/philfed/source.md +125 -0
  589. package/packs/port.json +287 -0
  590. package/packs/regulations/endpoints.json +288 -0
  591. package/packs/regulations/policy.json +86 -0
  592. package/packs/regulations/source.md +84 -0
  593. package/packs/sec/endpoints.json +237 -0
  594. package/packs/sec/policy.json +86 -0
  595. package/packs/sec/source.md +101 -0
  596. package/packs/senate-lobbying/endpoints.json +554 -0
  597. package/packs/senate-lobbying/policy.json +99 -0
  598. package/packs/senate-lobbying/source.md +100 -0
  599. package/packs/snapqc/endpoints.json +1426 -0
  600. package/packs/snapqc/policy.json +92 -0
  601. package/packs/snapqc/source.md +96 -0
  602. package/packs/treasury/catalog.json +2267 -0
  603. package/packs/treasury/docs/api_guide.md +245 -0
  604. package/packs/treasury/docs/datasets.md +56 -0
  605. package/packs/treasury/docs/report_patterns.md +126 -0
  606. package/packs/treasury/policy.json +159 -0
  607. package/packs/treasury/source.md +170 -0
  608. package/packs/treasury-yields/endpoints.json +226 -0
  609. package/packs/treasury-yields/policy.json +86 -0
  610. package/packs/treasury-yields/source.md +80 -0
  611. package/packs/usaspending/endpoints.json +1316 -0
  612. package/packs/usaspending/policy.json +109 -0
  613. package/packs/usaspending/source.md +103 -0
  614. package/packs/usda-fna/endpoints.json +427 -0
  615. package/packs/usda-fna/policy.json +133 -0
  616. package/packs/usda-fna/source.md +217 -0
  617. package/packs/usda-fooddata/endpoints.json +181 -0
  618. package/packs/usda-fooddata/policy.json +94 -0
  619. package/packs/usda-fooddata/source.md +105 -0
  620. package/packs/usda-nass/endpoints.json +324 -0
  621. package/packs/usda-nass/policy.json +95 -0
  622. package/packs/usda-nass/source.md +85 -0
  623. package/packs/usda-outlook/endpoints.json +86 -0
  624. package/packs/usda-outlook/policy.json +109 -0
  625. package/packs/usda-outlook/source.md +144 -0
  626. package/packs/usgs/endpoints.json +313 -0
  627. package/packs/usgs/policy.json +95 -0
  628. package/packs/usgs/source.md +96 -0
  629. package/packs/usitc/endpoints.json +74 -0
  630. package/packs/usitc/policy.json +111 -0
  631. package/packs/usitc/source.md +90 -0
  632. package/packs/uspto/endpoints.json +141 -0
  633. package/packs/uspto/policy.json +95 -0
  634. package/packs/uspto/source.md +101 -0
  635. package/packs/va/endpoints.json +414 -0
  636. package/packs/va/policy.json +101 -0
  637. package/packs/va/source.md +129 -0
  638. package/packs/world-bank/endpoints.json +122 -0
  639. package/packs/world-bank/policy.json +101 -0
  640. package/packs/world-bank/source.md +93 -0
@@ -0,0 +1,73 @@
1
+ field,definition,sample_value,employment,accessions,separations
2
+ accession_category,The text description of the personnel action that resulted in the onboarding of a new employee.,NEW HIRE - COMPETITIVE SERVICE APPOINTMENT,,Y,
3
+ accession_category_code,The code representing the personnel action that resulted in the onboarding of a new employee.,AC,,Y,
4
+ age_bracket,The range that a given employee's age falls into.,45-49,Y,Y,Y
5
+ agency,The text description of a high-level employing organization.,DEPARTMENT OF INTERIOR,Y,Y,Y
6
+ agency_code,The code representing a high-level employing organization.,IN,Y,Y,Y
7
+ agency_subelement,The text description of an administrative subdivision of the agency.,BUREAU OF LAND MANAGEMENT,Y,Y,Y
8
+ agency_subelement_code,The code representing an administrative subdivision of the agency.,IN05,Y,Y,Y
9
+ annualized_adjusted_basic_pay,"The sum of an employee's rate of basic pay and any basic pay supplement (standard OR special), after applying any applicable pay cap, on an annualized basis.",35729.44,Y,Y,Y
10
+ appointment_not_to_exceed_date,End date of the employee's temporary not-to-exceed appointment.,2019-03-16 00:00:00,,Y,Y
11
+ appointment_type,The text description of the type of appointment an employee is serving under in terms of permanence and competitiveness.,CAREER (COMPETITIVE SERVICE PERMANENT),Y,Y,Y
12
+ appointment_type_code,The code representing the type of appointment an employee is serving under in terms of permanence and competitiveness.,10,Y,Y,Y
13
+ bargaining_unit,The text description of the bargaining unit within the labor union representing the employee.,"NTEU/- INTERNAL REVENUE SERVICE; WASHINGTON, DC",Y,Y,Y
14
+ bargaining_unit_code,The code representing the bargaining unit within the labor union representing the employee.,1724,Y,Y,Y
15
+ bargaining_unit_status,The text description of the employee's eligibility to be represented by a labor union within the federal government.,ELIGIBLE_IN_BU,Y,Y,Y
16
+ cfo_act_agency_indicator,Identifies whether the agency is subject to the CFO Act.,CFO ACT AGENCY,Y,Y,Y
17
+ consolidated_statistical_area,The text description of a U.S. Office of Management and Budget defined entity containing two or more adjacent core based statistical areas.,"BOSTON-WORCESTER-PROVIDENCE, MA-RI-NH",Y,Y,Y
18
+ consolidated_statistical_area_code,The code representing a U.S. Office of Management and Budget defined entity containing two or more adjacent core based statistical areas.,148,Y,Y,Y
19
+ core_based_statistical_area,"The text description of a geographic entity associated with at least one core of 10,000 or more population, plus adjacent territory that has a high degree of social and economic integration with the core as measured by commuting ties.","CHICO, CA METROPOLITAN STATISTICAL AREA",Y,Y,Y
20
+ core_based_statistical_area_code,"The code representing a geographic entity associated with at least one core of 10,000 or more population, plus adjacent territory that has a high degree of social and economic integration with the core as measured by commuting ties.",17020,Y,Y,Y
21
+ count,"The integer value 1, used for counting or aggregating values over the data set.",1,Y,Y,Y
22
+ department,"Name of the department of the employee, aiding in the classification of roles within the organization.",DEPARTMENT OF AGRICULTURE,Y,Y,Y
23
+ department_code,"Code representing the department to which the employee belongs, important for organizational structure.",AG,Y,Y,Y
24
+ drp_indicator,Identifies whether a separation took place under the deferred resignation program.,N,,,Y
25
+ duty_station_city,The text description of the city of an employee's official worksite.,BLOOMINGTON,Y,Y,Y
26
+ duty_station_code,The code representing an employee's official worksite.,270675053,Y,Y,Y
27
+ duty_station_country,The text description of the country of an employee's official worksite.,UNITED STATES,Y,Y,Y
28
+ duty_station_country_code,The code representing the country of an employee's official worksite.,US,Y,Y,Y
29
+ duty_station_county,The text description of the county of an employee's official worksite.,HENNEPIN,Y,Y,Y
30
+ duty_station_county_code,The code representing the county of an employee's official worksite.,53,Y,Y,Y
31
+ duty_station_state,The text description of the state of an employee's official worksite.,MINNESOTA,Y,Y,Y
32
+ duty_station_state_abbreviation,The text abbreviation of the state of an employee's official worksite.,MN,Y,Y,Y
33
+ duty_station_state_country_territory_code,"The code representing the state, country, or territory, as appropriate, of an employee's official worksite.",27,Y,Y,Y
34
+ education_level,The text description of the highest level of an employee's educational attainment from an accredited institution.,MASTER'S DEGREE,Y,Y,Y
35
+ education_level_bracket,The text description of the simplified category for the highest level of education attained by the employee.,MASTERS OR PROFESSIONAL DEGREE,Y,Y,Y
36
+ education_level_code,The code representing the highest level of an employee's educational attainment from an accredited institution.,17,Y,Y,Y
37
+ flsa_category,"The text description of the status of a Federal civilian employee under the authority of Section 13 of the Fair Labor Standards Act (29 U.S.C. 213), as amended.",EXEMPT EMPLOYEE,Y,Y,Y
38
+ flsa_category_code,"The code representing the status of a Federal civilian employee under the authority of Section 13 of the Fair Labor Standards Act (29 U.S.C. 213), as amended.",E,Y,Y,Y
39
+ grade,An indicator of hierarchical relationships among positions covered by the same pay plan or system.,08,Y,Y,Y
40
+ length_of_service_years,"The number of years of Federal civilian employment, creditable military service, and other service made creditable by specific legislation.",15.5,Y,Y,Y
41
+ locality_pay_area,The text description of a specific geographic region used to determine pay adjustments for federal employees based on local non-federal salary rates.,"AUSTIN-ROUND ROCK, TX",Y,Y,Y
42
+ locality_pay_area_code,The code representing a specific geographic region used to determine pay adjustments for federal employees based on local non-federal salary rates.,AU,Y,Y,Y
43
+ nsftp_indicator,"Identifies whether an employee is a non-seasonal, full time, permanent employee.",Y,Y,Y,Y
44
+ occupational_category,"The text description of the highest-level grouping of occupational series into Professional, Administrative, Technical, Clerical, Other White Collar and Blue Collar categories.",PROFESSIONAL,Y,Y,Y
45
+ occupational_category_code,"The code representing the highest-level grouping of occupational series into Professional, Administrative, Technical, Clerical, Other White Collar and Blue Collar categories.",P,Y,Y,Y
46
+ occupational_group,The text description of a grouping of similar occupational series.,INFORMATION TECHNOLOGY GROUP,Y,Y,Y
47
+ occupational_group_code,The code representing a grouping of similar occupational series.,22,Y,Y,Y
48
+ occupational_series,The text description of the job category that an employee's position falls under based on the duties and required qualifications of the position.,INFORMATION TECHNOLOGY MANAGEMENT,Y,Y,Y
49
+ occupational_series_code,The code representing the job category that an employee's position falls under based on the duties and required qualifications of the position.,2210,Y,Y,Y
50
+ pathways_group,"Classification for employees within the pathways programs, which helps in the development of skills and experience.",RECENT GRAD,Y,Y,Y
51
+ pay_basis,"The text description of the principal condition in terms of time, production, or other criteria that, along with salary rate, determines the compensation paid to an employee.",PER ANNUM,Y,Y,Y
52
+ pay_basis_code,"The code representing the principal condition in terms of time, production, or other criteria that, along with salary rate, determines the compensation paid to an employee.",PA,Y,Y,Y
53
+ pay_plan,The text description of a particular table or array of pay rates prescribed by law or other authoritative source that establishes the basic pay rates for certain employees.,GENERAL SCHEDULE,Y,Y,Y
54
+ pay_plan_code,The code representing a particular table or array of pay rates prescribed by law or other authoritative source that establishes the basic pay rates for certain employees.,GS,Y,Y,Y
55
+ personnel_action_effective_date_yyyymm,The date on which an accession or separation action became effective.,202108,,Y,Y
56
+ personnel_office_identifier_code,"The identification of the Federal civilian personnel office authorized to appoint and separate an employee, and to the extent such functions have been delegated, prepare personnel actions, maintain official personnel records, and administer programs for staff compensation, training and development, benefits and awards, and employee and labor relations.",1559,Y,Y,Y
57
+ position_occupied,"The text description of an employee's position in the Competitive Service, Excepted Service, or the Senior Executive Service.",COMPETITIVE SERVICE,Y,Y,Y
58
+ position_occupied_code,"The code representing an employee's position in the Competitive Service, Excepted Service, or the Senior Executive Service.",1,Y,Y,Y
59
+ separation_category,The text description of the personnel action that resulted in the separation of an employee.,QUIT,,,Y
60
+ separation_category_code,The code representing the personnel action that resulted in the separation of an employee.,SC,,,Y
61
+ service_computation_date_leave,An employee's service computation date for leave accrual purposes.,2020-08-30 00:00:00,Y,Y,Y
62
+ snapshot_yyyymm,The date (year and month) when the snapshot of the data was taken.,202311,Y,,
63
+ stem_occupation,Text field identifying positions that fall under STEM or Health occupations.,STEM OCCUPATIONS,Y,Y,Y
64
+ stem_occupation_type,"A breakout of the STEM Occupation field into its components (i.e. Science, Technology, Engineering, and Mathematics) as well as Health.",SCIENCE OCCUPATIONS,Y,Y,Y
65
+ step_or_rate_type,"The text description of a specific salary within a grade, level, class, rate, or pay band.",RATE 03,Y,Y,Y
66
+ step_or_rate_type_code,"The code representing a specific salary within a grade, level, class, rate, or pay band.",03,Y,Y,Y
67
+ supervisory_status,"The text description of the nature of managerial, supervisory, or non-supervisory responsibility assigned to an employee's position.",SUPERVISOR OR MANAGER,Y,Y,Y
68
+ supervisory_status_code,"The code representing the nature of managerial, supervisory, or non-supervisory responsibility assigned to an employee's position.",2,Y,Y,Y
69
+ tenure,"For purposes of reduction in force, the text description of the retention group in which an employee is placed based on the employee's type of appointment.",TENURE GROUP 1 - CAREER OR SERVING AN APPOINTMENT CARRYING NO RESTRICTION OR CONDITION,Y,Y,Y
70
+ tenure_code,"For purposes of reduction in force, the code representing the retention group in which an employee is placed based on the employee's type of appointment.",1,Y,Y,Y
71
+ veteran_indicator,"Veteran indicator is determined here by using several veteran-related fields in the dataset, including veterans preference, creditable military service, reemployed annuitant codes, and veterans-specific appointment authorities.",Y,Y,Y,Y
72
+ work_schedule,The text description of the time basis on which an employee is scheduled to work.,FULL-TIME,Y,Y,Y
73
+ work_schedule_code,The code representing the time basis on which an employee is scheduled to work.,F,Y,Y,Y
@@ -0,0 +1,142 @@
1
+ {
2
+ "id": "opm",
3
+ "title": "OPM Federal Workforce Data (FWD / EHRI)",
4
+ "agency": "U.S. Office of Personnel Management",
5
+ "depth": "deep",
6
+ "domains": [
7
+ "federal workforce",
8
+ "government employment",
9
+ "public sector pay",
10
+ "personnel"
11
+ ],
12
+ "keywords": [
13
+ "opm",
14
+ "federal workforce",
15
+ "federal employees",
16
+ "federal workers",
17
+ "civil service",
18
+ "fedscope",
19
+ "ehri",
20
+ "fwd",
21
+ "headcount",
22
+ "agency headcount",
23
+ "hires",
24
+ "accessions",
25
+ "separations",
26
+ "attrition",
27
+ "quits",
28
+ "retirements",
29
+ "rif",
30
+ "reduction in force",
31
+ "layoffs",
32
+ "deferred resignation",
33
+ "hiring freeze",
34
+ "probationary",
35
+ "gs pay",
36
+ "general schedule",
37
+ "federal salaries", "federal pay", "cabinet departments",
38
+ "grade",
39
+ "occupation",
40
+ "it workforce",
41
+ "stem workforce",
42
+ "veterans in government",
43
+ "duty station",
44
+ "nsftp"
45
+ ],
46
+ "questions": [
47
+ "how many federal employees work at each department",
48
+ "federal separations by type in fiscal year 2025",
49
+ "hiring and separation rates by agency",
50
+ "median GS pay by occupation or state",
51
+ "change in federal headcount since January 2025",
52
+ "share of federal workers eligible to retire"
53
+ ],
54
+ "homepage": "https://data.opm.gov/",
55
+ "terms_url": "https://data.opm.gov/get-data/api-access",
56
+ "auth": {
57
+ "env": null,
58
+ "required": "none",
59
+ "placement": "none",
60
+ "param": null,
61
+ "prefix": "",
62
+ "home": null,
63
+ "signup_url": null,
64
+ "echoes_key": false,
65
+ "key_only": []
66
+ },
67
+ "limits": {
68
+ "rps": 4,
69
+ "burst": 8,
70
+ "daily_quota": null,
71
+ "errors_per_min": null,
72
+ "bytes_per_min": null,
73
+ "max_rows": null
74
+ },
75
+ "routes": {
76
+ "api": {
77
+ "base": "https://data.opm.gov/api/v1/files",
78
+ "probe": "https://data.opm.gov/api/v1/files/accessions?current=true&year=2025&month=1",
79
+ "hosts": [
80
+ "data.opm.gov"
81
+ ]
82
+ },
83
+ "manual": {
84
+ "how": "Download the raw Parquet files (manual_bundle lists them for the months in the spec's pin), or on https://data.opm.gov/get-data/data-downloads click Download > .TXT (or .JSON) for each month needed; upload them, then call ingest. No account or key is needed."
85
+ }
86
+ },
87
+ "cache": {
88
+ "mode": "persistent",
89
+ "ttl_hours": 720,
90
+ "why": "Raw files are large (employment 26-75 MB a month), public and versioned by file name (employment_202509_4), so a cached copy of a version never changes; kept in <cache root>/opm-fwd ($OPM_CACHE_DIR overrides) for up to 30 days and reused across analyses. --no-cache deletes them after use."
91
+ },
92
+ "redistribution": {
93
+ "mode": "allowed",
94
+ "why": "OPM releases the FWD files as public data under its Public Data Release Policy (U.S. government work, 17 U.S.C. 105); the filtered files may ship with a report. OPM itself withholds pay, duty station and related fields for DoD and security-sensitive agencies and occupations (published as REDACTED) to protect privacy and security: products must disclose that coverage, and nothing should try to infer withheld values."
95
+ },
96
+ "notices": [],
97
+ "retention": null,
98
+ "citation": "U.S. Office of Personnel Management, Federal Workforce Data (FWD), Enterprise Human Resources Integration (EHRI) {dataset} files, accessed {retrieved_long} through the FWD API (https://data.opm.gov/get-data/api-access).",
99
+ "audit_hooks": [
100
+ {
101
+ "id": "opm_coverage",
102
+ "kind": "require_file",
103
+ "when_columns": ["basic_pay", "duty_station", "location", "state"],
104
+ "glob": "exhibits/coverage*.csv",
105
+ "why": "Pay and location are REDACTED for about 45 to 48 percent of employment records: count redacted records by the groups reported (the spec's aggregate gives pay_redacted per group) and save the table as exhibits/coverage.csv."
106
+ },
107
+ {
108
+ "id": "opm_redaction_text",
109
+ "kind": "require_text",
110
+ "when_columns": ["basic_pay", "duty_station", "location", "state"],
111
+ "any": [
112
+ "redact",
113
+ "withheld",
114
+ "withhold"
115
+ ],
116
+ "why": "Data and Methods must say which records have pay or location withheld and how the estimates handle them."
117
+ },
118
+ {
119
+ "id": "opm_coverage_scope",
120
+ "kind": "require_text",
121
+ "any": [
122
+ "covered by opm",
123
+ "usps",
124
+ "postal service",
125
+ "intelligence"
126
+ ],
127
+ "why": "EHRI excludes USPS and the intelligence agencies: the product must say the counts cover employees in OPM's data."
128
+ }
129
+ ],
130
+ "clarify": [
131
+ "Pay or location: OPM withholds both for all DoD employees and for security-sensitive agencies and occupations (about 45 to 48 percent of records). Report pay where published (with coverage), exclude DoD explicitly, or limit to agencies with near-full coverage?",
132
+ "Counting actions: by the month they took effect (complete only after late reports arrive) or by the month OPM processed them?",
133
+ "Universe: all employees on board or the permanent full-time workforce (NSFTP)? For flows, do transfers between agencies count as separations, and transfers in (AA/AB) as accessions or new hires? OPM's dashboards count all accessions; fields.md calls only AC/AD/AE new hires.",
134
+ "Period: fiscal years (October-September) with September snapshots, or calendar years with December snapshots; how far back (monthly from 2011, quarterly to 2005)?"
135
+ ],
136
+ "formats": [
137
+ "parquet",
138
+ "txt",
139
+ "json",
140
+ "csv"
141
+ ]
142
+ }
@@ -0,0 +1,137 @@
1
+ # OPM Federal Workforce Data (FWD / EHRI)
2
+ Depth: deep. Key: none. Record-level files of the federal civilian workforce from OPM's EHRI system:
3
+ monthly employment (status) snapshots, accessions (hires) and separations, with redaction-aware pay.
4
+
5
+ ## When to use
6
+ - How many federal employees (by department, agency, occupation, grade, state, age, service); hires,
7
+ separations, quits, retirements, RIFs, deferred resignations; hiring and separation rates; GS pay and
8
+ salaries; composition (STEM, IT, veterans, supervisors, probationary tenure); changes since a date.
9
+ - Feasibility first: the public files have **no** sex, race, ethnicity, disability, names, performance
10
+ ratings, awards, telework, total compensation, retirement eligibility dates, person identifiers
11
+ (no tracking across months), USPS or intelligence-agency staff, uniformed military. Say so at once and
12
+ offer the closest answerable version (e.g. age bracket and length of service as a retirement proxy).
13
+ - Not here: public vs. private pay from survey data (ipums CPS/ACS), federal spending (usaspending,
14
+ treasury), government employment totals including USPS and state/local (bls CES).
15
+ - Records of the whole covered workforce, not a sample: no weights, no sampling error, no "statistically
16
+ significant"; uncertainty is coverage, redaction, late reporting and revisions.
17
+
18
+ ## Endpoints and datasets
19
+ | Dataset | Content | Rows per file | Size | Periods |
20
+ |---|---|---|---|---|
21
+ | `employment` | everyone on board on the last day of the month (`snapshot_yyyymm`) | ~2.0-2.3 million | 26-75 MB | quarterly 2005 to March 2011, monthly from June 2011; latest about two months back |
22
+ | `accessions` | actions that brought people in, **processed** in the month | 10k-60k | <1 MB | monthly from 2005-01 |
23
+ | `separations` | actions that took people out, processed in the month | 10k-120k | 0.1-4 MB | monthly from 2005-01 |
24
+
25
+ API (`https://data.opm.gov/api/v1/files`, no key): `GET /{dataset}` lists files
26
+ `{filename, publishDate, version, current, month, year}`; `GET /{dataset}/{year}/{MM}/{version}/download`
27
+ returns one Parquet file (the API serves Parquet only). OPM reissues files (versions 1-5 seen; one has
28
+ `current: true`); a first release (`_1`) of the latest month is usually revised later. Current versions have
29
+ 64 (employment), 68 (accessions) and 69 (separations) columns, all strings. Endpoint details, file
30
+ sizes and other OPM tools (Table Builder, dashboards, Data Quality page): `docs/opm_api.md`. Field codes,
31
+ the 72-field dictionary and column sets per question: `docs/fields.md` (read sections 1-2 once per
32
+ analysis) and `data_dictionary.csv` (copied into every `data/opm/` folder). Precedents, benchmarks and
33
+ conventions: `docs/report_patterns.md`.
34
+
35
+ Tools: `request_schema` (`names: ["employment"]` etc. gives the spec format, columns and the periods available;
36
+ a search finds columns in the data dictionary), `fetch` (downloads or reuses the files, filters and packages
37
+ them; the spec's `pin`, e.g. `{"employment_202509": 4}`, re-fetches the exact versions recorded in an earlier
38
+ `data/opm/manifest.json`), and `ingest` for files the user downloads.
39
+
40
+ ## Spec examples
41
+ ```json
42
+ {"description": "Separations by type, VA and DHS, FY2025",
43
+ "datasets": {"separations": {"from": "2024-10", "to": "2025-09"},
44
+ "employment": {"from": "2024-09", "to": "2025-09"}},
45
+ "columns": ["department_code", "department", "agency_code", "agency", "separation_category_code",
46
+ "separation_category", "drp_indicator", "nsftp_indicator"],
47
+ "filters": {"department_code": ["VA", "HS"]}}
48
+ ```
49
+ ```json
50
+ {"description": "Headcount and basic pay, latest snapshot and year-end comparisons",
51
+ "datasets": {"employment": {"periods": ["2024-09", "2025-09", "latest"]}},
52
+ "columns": ["department_code", "department", "agency_code", "agency", "nsftp_indicator", "work_schedule_code",
53
+ "pay_basis_code", "pay_plan_code", "grade", "annualized_adjusted_basic_pay"]}
54
+ ```
55
+ ```json
56
+ {"description": "September headcount by department, 2015-2025",
57
+ "datasets": {"employment": {"from": "2015-09", "to": "2025-09", "months": [9]}},
58
+ "columns": ["department_code", "department"], "aggregate": {"by": ["department_code", "department"]}}
59
+ ```
60
+ Each dataset takes `from`/`to` (`"latest"` allowed) with optional `months`, or `periods` (single months).
61
+ Filter values are strings exactly as in the data (`"08"`, `"0343"`). Request only the columns needed
62
+ (always the `*_code` columns for groups); ten September snapshots with all 64 columns are ~20 million rows.
63
+ `aggregate` collapses each file to counts, pay sums and redaction counts (no medians then); it keeps only the
64
+ `aggregate.by` columns (a column listed elsewhere is refused), and pay_sum / pay_n cover full-time, per-annum
65
+ records with reported pay (the pay universe below). Flows need
66
+ every month of the period plus the employment snapshots of those months for the denominator; counting by
67
+ effective month also needs the next two or three files (late reports).
68
+
69
+ ## Data format and traps
70
+ `fetch` writes `data/opm/`: `opm_<dataset>.parquet`, `opm_<dataset>.csv` up to 1,000,000 rows (above that only
71
+ the Parquet file, which `compute` cannot read: narrow the request or use `aggregate`), `manifest.json` (every
72
+ source file, version, publish date, SHA-256, rows, missing columns), `request.json`, `data_dictionary.csv`,
73
+ `README.md`, `spec_used.json`. Read the result's `notes`: a filter column absent from an older file
74
+ means those rows were NOT filtered; missing requested columns are filled with nulls.
75
+ - **Redacted pay and location (the big one)**: `annualized_adjusted_basic_pay`, all `duty_station_*`,
76
+ CBSA/CSA, locality pay area, bargaining unit and personnel office are `REDACTED` for every DoD employee,
77
+ for security agencies (FBI, DEA, ATF, Secret Service, CBP, ICE, BOP, ...) and sensitive occupations:
78
+ about 45 to 48 percent of employment records. Never call an average over unredacted records "the
79
+ federal average". Count redacted records by the groups reported (`aggregate` gives `pay_redacted` per
80
+ group), save that coverage table as `exhibits/coverage.csv` (the report audit requires it), quote coverage beside every pay or location figure, and
81
+ discuss redaction in the methods. Headcounts by department, occupation, grade, age and education are complete.
82
+ - **Counting actions**: files hold actions processed in the month; 5-10 percent are effective earlier.
83
+ Effective month (`personnel_action_effective_date_yyyymm`, recent months incomplete) or processing month
84
+ (`file_yyyymm`): state which, show the other as a sensitivity.
85
+ - **End-of-month separations** (September 30 retirements, the 2025 Deferred Resignation Program) leave
86
+ the headcount only in the next month's snapshot: show the change to the next snapshot too.
87
+ - **Table facts**: group by codes, but register each table cell with `facts` using `where` on the row's label as
88
+ printed (the department name), so the answer gate can tie the cell to its row.
89
+ - **Codes, not names**: names change (OPM's dashboards say Department of War; the files label code DOD "DEPARTMENT OF DEFENSE" through 2026-08); group by `*_code`,
90
+ display the latest label of each code. Codes are strings with leading zeros: never cast to integers.
91
+ - **Versions**: use current versions; earlier reports may differ because files were reissued; pin to
92
+ reproduce (`pin`). Employment is quarterly before 2011: flag fiscal years with fewer snapshots.
93
+ - **Sentinels** `NO DATA REPORTED`, `INVALID`, `UNSPECIFIED`, `*` stay in the data as text: treat them as
94
+ missing and report the missing counts for the fields used. A missing `department_code` with a valid
95
+ `agency_code` (HUD, Dec 2024-Mar 2025: 410-435 employees a month) belongs to the agency's department: fill
96
+ it from the agency and say so; keep `agency_code` in `aggregate.by` so it can be. Agencies that miss a submission show a dip and
97
+ rebound: check the FWD Data Quality page before reporting a one-month change of more than ~5 percent.
98
+ - **Pay universe**: full-time (`work_schedule_code` F), per annum (`pay_basis_code` PA), pay > 0;
99
+ basic pay plus locality, not total compensation; screen pay for implausible values; prefer medians.
100
+ - **Denominators**: rates divide by the average headcount over the same period, universe and filters;
101
+ small groups (fewer than 30 records) are footnoted or suppressed.
102
+ - Coverage exclusions mean totals are below figures that include USPS (~600,000) or the intelligence
103
+ community: say "employees covered by OPM's data".
104
+ - Shares: OPM's dashboards divide by all employees, "Data not available" included. Match the dashboard by
105
+ keeping missing categories in the denominator; report the share without them as a sensitivity when the missing count moves (one agency's missing education can jump between snapshots).
106
+
107
+ Analysis: build tables with `compute` on the CSVs in `data/opm/` (this server has no OPM-specific helpers yet).
108
+
109
+ ## Access
110
+ - No key, no account: `fetch` just works when data.opm.gov answers. OPM releases a month's files about five
111
+ weeks after it ends. Raw files are cached in `$OPM_CACHE_DIR` or `<cache root>/opm-fwd` (the shared
112
+ cache root, `~/.cache/data-analyst`; a temp folder in sandboxes) for 30 days, keyed by file name and
113
+ version. `fetch` reuses `data/opm/` when it already holds the same request (`force: true` downloads again,
114
+ for example after OPM publishes revised versions).
115
+ - Before a manual task, check whether a simple total is on OPM's own pages (Workforce Insights
116
+ dashboards, Table Builder at https://data.opm.gov/explore-data/data/table-builder; JavaScript apps: use
117
+ browser tools). Quote the page, month and definition, and say it was read, not computed.
118
+ - Manual route (sandbox, hosted chat without the host allowed, `agency_unavailable`): `manual_bundle` writes
119
+ `manual_download/` (`INSTRUCTIONS.md`, `download_data.sh` / `.ps1`, no key) only for the months pinned in the
120
+ spec's `pin`, whose file URLs are known without listing OPM's files; without `pin` it returns
121
+ `not_supported`. Other options: on https://data.opm.gov/get-data/data-downloads the user clicks
122
+ Download > .TXT (or .JSON) per month and keeps the names or renames them like `separations_202608_1.txt`;
123
+ a `data/opm/` folder built by `fetch` elsewhere can be uploaded as a ZIP; Table Builder exports serve
124
+ simple counts (quote them as read, not computed). Then `ingest` with the uploaded files or their folder
125
+ (API Parquet, website TXT/JSON, also .gz or .zip; on a hosted server, `files: ["uploads"]`). A month
126
+ inferred from content must be confirmed with the user; files outside the spec's periods are skipped;
127
+ website files carry no version (`_web`). Say in the methods that the files were downloaded by hand.
128
+
129
+ ## Citation and terms
130
+ "U.S. Office of Personnel Management, Federal Workforce Data (FWD), Enterprise Human Resources
131
+ Integration (EHRI) <datasets> files, accessed <date> through the FWD API
132
+ (https://data.opm.gov/get-data/api-access)." Give file versions from `manifest.json` in the methods.
133
+ Source line: "Analyst calculations using data from the Office of Personnel Management's Federal
134
+ Workforce Data (EHRI ... files, <months>)." Redistribution: **allowed** (public data under OPM's Public
135
+ Data Release Policy); the filtered files may ship in a replication package (files over 50 MB stay out
136
+ and are re-downloadable). OPM withholds pay and location for privacy and security (`REDACTED`): disclose
137
+ coverage, and never try to infer withheld values.