@civiq/entity-resolution 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +135 -0
- package/data/bioguide-fec-mapping.json +4186 -0
- package/data/sec-sic-data.json +10427 -0
- package/dist/__tests__/company-entity-resolver.test.d.ts +6 -0
- package/dist/__tests__/company-entity-resolver.test.d.ts.map +1 -0
- package/dist/__tests__/company-entity-resolver.test.js +267 -0
- package/dist/__tests__/company-entity-resolver.test.js.map +1 -0
- package/dist/__tests__/entity-resolution.test.d.ts +2 -0
- package/dist/__tests__/entity-resolution.test.d.ts.map +1 -0
- package/dist/__tests__/entity-resolution.test.js +296 -0
- package/dist/__tests__/entity-resolution.test.js.map +1 -0
- package/dist/__tests__/fec-entity-resolution.test.d.ts +2 -0
- package/dist/__tests__/fec-entity-resolution.test.d.ts.map +1 -0
- package/dist/__tests__/fec-entity-resolution.test.js +49 -0
- package/dist/__tests__/fec-entity-resolution.test.js.map +1 -0
- package/dist/bioguide-fec-mapping.d.ts +27 -0
- package/dist/bioguide-fec-mapping.d.ts.map +1 -0
- package/dist/bioguide-fec-mapping.js +57 -0
- package/dist/bioguide-fec-mapping.js.map +1 -0
- package/dist/cache.d.ts +18 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +18 -0
- package/dist/cache.js.map +1 -0
- package/dist/committee-agency-map.d.ts +58 -0
- package/dist/committee-agency-map.d.ts.map +1 -0
- package/dist/committee-agency-map.js +658 -0
- package/dist/committee-agency-map.js.map +1 -0
- package/dist/committee-alias-table.d.ts +11 -0
- package/dist/committee-alias-table.d.ts.map +1 -0
- package/dist/committee-alias-table.js +191 -0
- package/dist/committee-alias-table.js.map +1 -0
- package/dist/company-alias-table.d.ts +36 -0
- package/dist/company-alias-table.d.ts.map +1 -0
- package/dist/company-alias-table.js +1307 -0
- package/dist/company-alias-table.js.map +1 -0
- package/dist/company-entity-resolver.d.ts +94 -0
- package/dist/company-entity-resolver.d.ts.map +1 -0
- package/dist/company-entity-resolver.js +282 -0
- package/dist/company-entity-resolver.js.map +1 -0
- package/dist/configure.d.ts +15 -0
- package/dist/configure.d.ts.map +1 -0
- package/dist/configure.js +19 -0
- package/dist/configure.js.map +1 -0
- package/dist/fec-entity-resolution.d.ts +88 -0
- package/dist/fec-entity-resolution.d.ts.map +1 -0
- package/dist/fec-entity-resolution.js +407 -0
- package/dist/fec-entity-resolution.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/industry-taxonomy.d.ts +90 -0
- package/dist/industry-taxonomy.d.ts.map +1 -0
- package/dist/industry-taxonomy.js +1026 -0
- package/dist/industry-taxonomy.js.map +1 -0
- package/dist/lda-issue-policy-map.d.ts +13 -0
- package/dist/lda-issue-policy-map.d.ts.map +1 -0
- package/dist/lda-issue-policy-map.js +193 -0
- package/dist/lda-issue-policy-map.js.map +1 -0
- package/dist/lobbying-committee-resolver.d.ts +23 -0
- package/dist/lobbying-committee-resolver.d.ts.map +1 -0
- package/dist/lobbying-committee-resolver.js +158 -0
- package/dist/lobbying-committee-resolver.js.map +1 -0
- package/dist/logger.d.ts +20 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +20 -0
- package/dist/logger.js.map +1 -0
- package/dist/sic-sector-map.d.ts +32 -0
- package/dist/sic-sector-map.d.ts.map +1 -0
- package/dist/sic-sector-map.js +109 -0
- package/dist/sic-sector-map.js.map +1 -0
- package/dist/ticker-industry-resolver.d.ts +22 -0
- package/dist/ticker-industry-resolver.d.ts.map +1 -0
- package/dist/ticker-industry-resolver.js +254 -0
- package/dist/ticker-industry-resolver.js.map +1 -0
- package/dist/types.d.ts +30 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,658 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2019-2025 Mark Sandford
|
|
3
|
+
* Licensed under the MIT License. See LICENSE and NOTICE files.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* House committee mappings
|
|
7
|
+
*/
|
|
8
|
+
export const HOUSE_COMMITTEE_MAPPINGS = [
|
|
9
|
+
{
|
|
10
|
+
committeeCode: 'HSAS',
|
|
11
|
+
committeeName: 'Armed Services',
|
|
12
|
+
chamber: 'House',
|
|
13
|
+
agencies: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Department of Defense',
|
|
16
|
+
slug: 'department-of-defense',
|
|
17
|
+
abbreviation: 'DOD',
|
|
18
|
+
keywords: ['defense', 'military', 'armed forces', 'pentagon'],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'Department of Veterans Affairs',
|
|
22
|
+
slug: 'department-of-veterans-affairs',
|
|
23
|
+
abbreviation: 'VA',
|
|
24
|
+
keywords: ['veterans', 'va '],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
topics: ['defense', 'military', 'national security', 'veterans'],
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
committeeCode: 'HSJU',
|
|
31
|
+
committeeName: 'Judiciary',
|
|
32
|
+
chamber: 'House',
|
|
33
|
+
agencies: [
|
|
34
|
+
{
|
|
35
|
+
name: 'Department of Justice',
|
|
36
|
+
slug: 'department-of-justice',
|
|
37
|
+
abbreviation: 'DOJ',
|
|
38
|
+
keywords: ['justice', 'attorney general', 'fbi', 'doj'],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Federal Trade Commission',
|
|
42
|
+
slug: 'federal-trade-commission',
|
|
43
|
+
abbreviation: 'FTC',
|
|
44
|
+
keywords: ['ftc', 'antitrust', 'consumer protection'],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
topics: ['judiciary', 'justice', 'immigration', 'antitrust', 'civil rights'],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
committeeCode: 'HSIF',
|
|
51
|
+
committeeName: 'Energy and Commerce',
|
|
52
|
+
chamber: 'House',
|
|
53
|
+
agencies: [
|
|
54
|
+
{
|
|
55
|
+
name: 'Department of Energy',
|
|
56
|
+
slug: 'department-of-energy',
|
|
57
|
+
abbreviation: 'DOE',
|
|
58
|
+
keywords: ['energy', 'doe'],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Environmental Protection Agency',
|
|
62
|
+
slug: 'environmental-protection-agency',
|
|
63
|
+
abbreviation: 'EPA',
|
|
64
|
+
keywords: ['epa', 'environmental', 'pollution', 'clean air', 'clean water'],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Department of Health and Human Services',
|
|
68
|
+
slug: 'department-of-health-and-human-services',
|
|
69
|
+
abbreviation: 'HHS',
|
|
70
|
+
keywords: ['health', 'hhs', 'medicare', 'medicaid', 'cdc', 'fda'],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Federal Communications Commission',
|
|
74
|
+
slug: 'federal-communications-commission',
|
|
75
|
+
abbreviation: 'FCC',
|
|
76
|
+
keywords: ['fcc', 'communications', 'broadband', 'telecom'],
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
topics: ['energy', 'health', 'environment', 'telecommunications', 'commerce'],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
committeeCode: 'HSAP',
|
|
83
|
+
committeeName: 'Appropriations',
|
|
84
|
+
chamber: 'House',
|
|
85
|
+
agencies: [
|
|
86
|
+
{
|
|
87
|
+
name: 'Office of Management and Budget',
|
|
88
|
+
slug: 'office-of-management-and-budget',
|
|
89
|
+
abbreviation: 'OMB',
|
|
90
|
+
keywords: ['omb', 'budget', 'appropriations'],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
topics: ['appropriations', 'budget', 'spending', 'fiscal'],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
committeeCode: 'HSBA',
|
|
97
|
+
committeeName: 'Financial Services',
|
|
98
|
+
chamber: 'House',
|
|
99
|
+
agencies: [
|
|
100
|
+
{
|
|
101
|
+
name: 'Department of the Treasury',
|
|
102
|
+
slug: 'department-of-the-treasury',
|
|
103
|
+
abbreviation: 'Treasury',
|
|
104
|
+
keywords: ['treasury', 'irs', 'financial'],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'Securities and Exchange Commission',
|
|
108
|
+
slug: 'securities-and-exchange-commission',
|
|
109
|
+
abbreviation: 'SEC',
|
|
110
|
+
keywords: ['sec', 'securities', 'stocks', 'exchange'],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Federal Reserve',
|
|
114
|
+
slug: 'federal-reserve-system',
|
|
115
|
+
abbreviation: 'Fed',
|
|
116
|
+
keywords: ['federal reserve', 'fed', 'monetary'],
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
topics: ['banking', 'finance', 'housing', 'insurance', 'securities'],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
committeeCode: 'HSAG',
|
|
123
|
+
committeeName: 'Agriculture',
|
|
124
|
+
chamber: 'House',
|
|
125
|
+
agencies: [
|
|
126
|
+
{
|
|
127
|
+
name: 'Department of Agriculture',
|
|
128
|
+
slug: 'department-of-agriculture',
|
|
129
|
+
abbreviation: 'USDA',
|
|
130
|
+
keywords: ['agriculture', 'usda', 'farm', 'food'],
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
topics: ['agriculture', 'farming', 'food', 'rural', 'nutrition'],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
committeeCode: 'HSPW',
|
|
137
|
+
committeeName: 'Transportation and Infrastructure',
|
|
138
|
+
chamber: 'House',
|
|
139
|
+
agencies: [
|
|
140
|
+
{
|
|
141
|
+
name: 'Department of Transportation',
|
|
142
|
+
slug: 'department-of-transportation',
|
|
143
|
+
abbreviation: 'DOT',
|
|
144
|
+
keywords: ['transportation', 'dot', 'highway', 'aviation', 'rail'],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'Army Corps of Engineers',
|
|
148
|
+
slug: 'army-corps-of-engineers',
|
|
149
|
+
abbreviation: 'USACE',
|
|
150
|
+
keywords: ['corps of engineers', 'waterways', 'flood'],
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
topics: ['transportation', 'infrastructure', 'highways', 'aviation', 'water'],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
committeeCode: 'HSWM',
|
|
157
|
+
committeeName: 'Ways and Means',
|
|
158
|
+
chamber: 'House',
|
|
159
|
+
agencies: [
|
|
160
|
+
{
|
|
161
|
+
name: 'Department of the Treasury',
|
|
162
|
+
slug: 'department-of-the-treasury',
|
|
163
|
+
abbreviation: 'Treasury',
|
|
164
|
+
keywords: ['treasury', 'irs', 'tax'],
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'Social Security Administration',
|
|
168
|
+
slug: 'social-security-administration',
|
|
169
|
+
abbreviation: 'SSA',
|
|
170
|
+
keywords: ['social security', 'ssa', 'retirement'],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
topics: ['taxes', 'trade', 'social security', 'medicare', 'tariffs'],
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
committeeCode: 'HSED',
|
|
177
|
+
committeeName: 'Education and Workforce',
|
|
178
|
+
chamber: 'House',
|
|
179
|
+
agencies: [
|
|
180
|
+
{
|
|
181
|
+
name: 'Department of Education',
|
|
182
|
+
slug: 'department-of-education',
|
|
183
|
+
abbreviation: 'ED',
|
|
184
|
+
keywords: ['education', 'schools', 'students'],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: 'Department of Labor',
|
|
188
|
+
slug: 'department-of-labor',
|
|
189
|
+
abbreviation: 'DOL',
|
|
190
|
+
keywords: ['labor', 'workers', 'employment', 'osha'],
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
topics: ['education', 'labor', 'workforce', 'schools', 'employment'],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
committeeCode: 'HSFA',
|
|
197
|
+
committeeName: 'Foreign Affairs',
|
|
198
|
+
chamber: 'House',
|
|
199
|
+
agencies: [
|
|
200
|
+
{
|
|
201
|
+
name: 'Department of State',
|
|
202
|
+
slug: 'department-of-state',
|
|
203
|
+
abbreviation: 'State',
|
|
204
|
+
keywords: ['state department', 'foreign', 'diplomatic', 'embassy'],
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'USAID',
|
|
208
|
+
slug: 'agency-for-international-development',
|
|
209
|
+
abbreviation: 'USAID',
|
|
210
|
+
keywords: ['usaid', 'foreign aid', 'development'],
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
topics: ['foreign policy', 'diplomacy', 'international', 'treaties'],
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
committeeCode: 'HSHM',
|
|
217
|
+
committeeName: 'Homeland Security',
|
|
218
|
+
chamber: 'House',
|
|
219
|
+
agencies: [
|
|
220
|
+
{
|
|
221
|
+
name: 'Department of Homeland Security',
|
|
222
|
+
slug: 'department-of-homeland-security',
|
|
223
|
+
abbreviation: 'DHS',
|
|
224
|
+
keywords: ['homeland', 'dhs', 'border', 'tsa', 'fema', 'ice', 'customs'],
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
topics: ['homeland security', 'border', 'terrorism', 'cybersecurity', 'emergency'],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
committeeCode: 'HSII',
|
|
231
|
+
committeeName: 'Natural Resources',
|
|
232
|
+
chamber: 'House',
|
|
233
|
+
agencies: [
|
|
234
|
+
{
|
|
235
|
+
name: 'Department of the Interior',
|
|
236
|
+
slug: 'department-of-the-interior',
|
|
237
|
+
abbreviation: 'DOI',
|
|
238
|
+
keywords: ['interior', 'parks', 'lands', 'wildlife', 'blm'],
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
topics: ['public lands', 'native americans', 'water', 'wildlife', 'energy'],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
committeeCode: 'HSGO',
|
|
245
|
+
committeeName: 'Oversight and Government Reform',
|
|
246
|
+
chamber: 'House',
|
|
247
|
+
agencies: [
|
|
248
|
+
{
|
|
249
|
+
name: 'General Services Administration',
|
|
250
|
+
slug: 'general-services-administration',
|
|
251
|
+
abbreviation: 'GSA',
|
|
252
|
+
keywords: ['gsa', 'government', 'federal buildings'],
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: 'Office of Personnel Management',
|
|
256
|
+
slug: 'office-of-personnel-management',
|
|
257
|
+
abbreviation: 'OPM',
|
|
258
|
+
keywords: ['opm', 'federal employees', 'personnel'],
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
topics: ['government operations', 'oversight', 'federal workforce', 'dc'],
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
committeeCode: 'HSSM',
|
|
265
|
+
committeeName: 'Small Business',
|
|
266
|
+
chamber: 'House',
|
|
267
|
+
agencies: [
|
|
268
|
+
{
|
|
269
|
+
name: 'Small Business Administration',
|
|
270
|
+
slug: 'small-business-administration',
|
|
271
|
+
abbreviation: 'SBA',
|
|
272
|
+
keywords: ['sba', 'small business', 'entrepreneurs'],
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
topics: ['small business', 'entrepreneurs', 'contracting'],
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
committeeCode: 'HSVR',
|
|
279
|
+
committeeName: 'Veterans Affairs',
|
|
280
|
+
chamber: 'House',
|
|
281
|
+
agencies: [
|
|
282
|
+
{
|
|
283
|
+
name: 'Department of Veterans Affairs',
|
|
284
|
+
slug: 'department-of-veterans-affairs',
|
|
285
|
+
abbreviation: 'VA',
|
|
286
|
+
keywords: ['veterans', 'va ', 'military'],
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
topics: ['veterans', 'va healthcare', 'benefits', 'military families'],
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
committeeCode: 'HSSY',
|
|
293
|
+
committeeName: 'Science, Space, and Technology',
|
|
294
|
+
chamber: 'House',
|
|
295
|
+
agencies: [
|
|
296
|
+
{
|
|
297
|
+
name: 'NASA',
|
|
298
|
+
slug: 'national-aeronautics-and-space-administration',
|
|
299
|
+
abbreviation: 'NASA',
|
|
300
|
+
keywords: ['nasa', 'space', 'aerospace'],
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: 'National Science Foundation',
|
|
304
|
+
slug: 'national-science-foundation',
|
|
305
|
+
abbreviation: 'NSF',
|
|
306
|
+
keywords: ['nsf', 'science', 'research'],
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: 'NOAA',
|
|
310
|
+
slug: 'national-oceanic-and-atmospheric-administration',
|
|
311
|
+
abbreviation: 'NOAA',
|
|
312
|
+
keywords: ['noaa', 'weather', 'ocean', 'climate'],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
topics: ['science', 'space', 'technology', 'research', 'innovation'],
|
|
316
|
+
},
|
|
317
|
+
];
|
|
318
|
+
/**
|
|
319
|
+
* Senate committee mappings
|
|
320
|
+
*/
|
|
321
|
+
export const SENATE_COMMITTEE_MAPPINGS = [
|
|
322
|
+
{
|
|
323
|
+
committeeCode: 'SSAS',
|
|
324
|
+
committeeName: 'Armed Services',
|
|
325
|
+
chamber: 'Senate',
|
|
326
|
+
agencies: [
|
|
327
|
+
{
|
|
328
|
+
name: 'Department of Defense',
|
|
329
|
+
slug: 'department-of-defense',
|
|
330
|
+
abbreviation: 'DOD',
|
|
331
|
+
keywords: ['defense', 'military', 'armed forces', 'pentagon'],
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
topics: ['defense', 'military', 'national security'],
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
committeeCode: 'SSJU',
|
|
338
|
+
committeeName: 'Judiciary',
|
|
339
|
+
chamber: 'Senate',
|
|
340
|
+
agencies: [
|
|
341
|
+
{
|
|
342
|
+
name: 'Department of Justice',
|
|
343
|
+
slug: 'department-of-justice',
|
|
344
|
+
abbreviation: 'DOJ',
|
|
345
|
+
keywords: ['justice', 'attorney general', 'fbi', 'doj'],
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
topics: ['judiciary', 'courts', 'nominations', 'immigration', 'crime'],
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
committeeCode: 'SSFI',
|
|
352
|
+
committeeName: 'Finance',
|
|
353
|
+
chamber: 'Senate',
|
|
354
|
+
agencies: [
|
|
355
|
+
{
|
|
356
|
+
name: 'Department of the Treasury',
|
|
357
|
+
slug: 'department-of-the-treasury',
|
|
358
|
+
abbreviation: 'Treasury',
|
|
359
|
+
keywords: ['treasury', 'irs', 'tax'],
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: 'Centers for Medicare & Medicaid Services',
|
|
363
|
+
slug: 'department-of-health-and-human-services',
|
|
364
|
+
abbreviation: 'CMS',
|
|
365
|
+
keywords: ['medicare', 'medicaid', 'cms'],
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
topics: ['taxes', 'trade', 'medicare', 'medicaid', 'social security'],
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
committeeCode: 'SSAP',
|
|
372
|
+
committeeName: 'Appropriations',
|
|
373
|
+
chamber: 'Senate',
|
|
374
|
+
agencies: [
|
|
375
|
+
{
|
|
376
|
+
name: 'Office of Management and Budget',
|
|
377
|
+
slug: 'office-of-management-and-budget',
|
|
378
|
+
abbreviation: 'OMB',
|
|
379
|
+
keywords: ['omb', 'budget', 'appropriations'],
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
topics: ['appropriations', 'budget', 'spending'],
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
committeeCode: 'SSCM',
|
|
386
|
+
committeeName: 'Commerce, Science, and Transportation',
|
|
387
|
+
chamber: 'Senate',
|
|
388
|
+
agencies: [
|
|
389
|
+
{
|
|
390
|
+
name: 'Department of Commerce',
|
|
391
|
+
slug: 'department-of-commerce',
|
|
392
|
+
abbreviation: 'Commerce',
|
|
393
|
+
keywords: ['commerce', 'trade', 'census'],
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: 'Federal Communications Commission',
|
|
397
|
+
slug: 'federal-communications-commission',
|
|
398
|
+
abbreviation: 'FCC',
|
|
399
|
+
keywords: ['fcc', 'communications', 'broadband'],
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
name: 'NASA',
|
|
403
|
+
slug: 'national-aeronautics-and-space-administration',
|
|
404
|
+
abbreviation: 'NASA',
|
|
405
|
+
keywords: ['nasa', 'space'],
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
topics: ['commerce', 'transportation', 'science', 'telecommunications'],
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
committeeCode: 'SSFR',
|
|
412
|
+
committeeName: 'Foreign Relations',
|
|
413
|
+
chamber: 'Senate',
|
|
414
|
+
agencies: [
|
|
415
|
+
{
|
|
416
|
+
name: 'Department of State',
|
|
417
|
+
slug: 'department-of-state',
|
|
418
|
+
abbreviation: 'State',
|
|
419
|
+
keywords: ['state department', 'foreign', 'diplomatic'],
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
topics: ['foreign policy', 'treaties', 'diplomacy', 'international'],
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
committeeCode: 'SSHR',
|
|
426
|
+
committeeName: 'Health, Education, Labor, and Pensions',
|
|
427
|
+
chamber: 'Senate',
|
|
428
|
+
agencies: [
|
|
429
|
+
{
|
|
430
|
+
name: 'Department of Health and Human Services',
|
|
431
|
+
slug: 'department-of-health-and-human-services',
|
|
432
|
+
abbreviation: 'HHS',
|
|
433
|
+
keywords: ['health', 'hhs', 'cdc', 'fda', 'nih'],
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
name: 'Department of Education',
|
|
437
|
+
slug: 'department-of-education',
|
|
438
|
+
abbreviation: 'ED',
|
|
439
|
+
keywords: ['education', 'schools'],
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
name: 'Department of Labor',
|
|
443
|
+
slug: 'department-of-labor',
|
|
444
|
+
abbreviation: 'DOL',
|
|
445
|
+
keywords: ['labor', 'workers', 'osha'],
|
|
446
|
+
},
|
|
447
|
+
],
|
|
448
|
+
topics: ['health', 'education', 'labor', 'pensions', 'public health'],
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
committeeCode: 'SSEG',
|
|
452
|
+
committeeName: 'Energy and Natural Resources',
|
|
453
|
+
chamber: 'Senate',
|
|
454
|
+
agencies: [
|
|
455
|
+
{
|
|
456
|
+
name: 'Department of Energy',
|
|
457
|
+
slug: 'department-of-energy',
|
|
458
|
+
abbreviation: 'DOE',
|
|
459
|
+
keywords: ['energy', 'doe', 'nuclear'],
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
name: 'Department of the Interior',
|
|
463
|
+
slug: 'department-of-the-interior',
|
|
464
|
+
abbreviation: 'DOI',
|
|
465
|
+
keywords: ['interior', 'lands', 'parks'],
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
topics: ['energy', 'natural resources', 'public lands', 'water'],
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
committeeCode: 'SSEV',
|
|
472
|
+
committeeName: 'Environment and Public Works',
|
|
473
|
+
chamber: 'Senate',
|
|
474
|
+
agencies: [
|
|
475
|
+
{
|
|
476
|
+
name: 'Environmental Protection Agency',
|
|
477
|
+
slug: 'environmental-protection-agency',
|
|
478
|
+
abbreviation: 'EPA',
|
|
479
|
+
keywords: ['epa', 'environmental', 'pollution'],
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
name: 'Army Corps of Engineers',
|
|
483
|
+
slug: 'army-corps-of-engineers',
|
|
484
|
+
abbreviation: 'USACE',
|
|
485
|
+
keywords: ['corps of engineers', 'infrastructure'],
|
|
486
|
+
},
|
|
487
|
+
],
|
|
488
|
+
topics: ['environment', 'infrastructure', 'climate', 'clean air', 'clean water'],
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
committeeCode: 'SSGA',
|
|
492
|
+
committeeName: 'Homeland Security and Governmental Affairs',
|
|
493
|
+
chamber: 'Senate',
|
|
494
|
+
agencies: [
|
|
495
|
+
{
|
|
496
|
+
name: 'Department of Homeland Security',
|
|
497
|
+
slug: 'department-of-homeland-security',
|
|
498
|
+
abbreviation: 'DHS',
|
|
499
|
+
keywords: ['homeland', 'dhs', 'border', 'fema'],
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
name: 'Office of Personnel Management',
|
|
503
|
+
slug: 'office-of-personnel-management',
|
|
504
|
+
abbreviation: 'OPM',
|
|
505
|
+
keywords: ['opm', 'federal employees'],
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
topics: ['homeland security', 'government operations', 'oversight'],
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
committeeCode: 'SSBK',
|
|
512
|
+
committeeName: 'Banking, Housing, and Urban Affairs',
|
|
513
|
+
chamber: 'Senate',
|
|
514
|
+
agencies: [
|
|
515
|
+
{
|
|
516
|
+
name: 'Department of the Treasury',
|
|
517
|
+
slug: 'department-of-the-treasury',
|
|
518
|
+
abbreviation: 'Treasury',
|
|
519
|
+
keywords: ['treasury', 'financial'],
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: 'Department of Housing and Urban Development',
|
|
523
|
+
slug: 'department-of-housing-and-urban-development',
|
|
524
|
+
abbreviation: 'HUD',
|
|
525
|
+
keywords: ['hud', 'housing', 'urban'],
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
name: 'Securities and Exchange Commission',
|
|
529
|
+
slug: 'securities-and-exchange-commission',
|
|
530
|
+
abbreviation: 'SEC',
|
|
531
|
+
keywords: ['sec', 'securities'],
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
topics: ['banking', 'housing', 'finance', 'urban development'],
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
committeeCode: 'SSVA',
|
|
538
|
+
committeeName: 'Veterans Affairs',
|
|
539
|
+
chamber: 'Senate',
|
|
540
|
+
agencies: [
|
|
541
|
+
{
|
|
542
|
+
name: 'Department of Veterans Affairs',
|
|
543
|
+
slug: 'department-of-veterans-affairs',
|
|
544
|
+
abbreviation: 'VA',
|
|
545
|
+
keywords: ['veterans', 'va '],
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
topics: ['veterans', 'va healthcare', 'benefits'],
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
committeeCode: 'SSAF',
|
|
552
|
+
committeeName: 'Agriculture, Nutrition, and Forestry',
|
|
553
|
+
chamber: 'Senate',
|
|
554
|
+
agencies: [
|
|
555
|
+
{
|
|
556
|
+
name: 'Department of Agriculture',
|
|
557
|
+
slug: 'department-of-agriculture',
|
|
558
|
+
abbreviation: 'USDA',
|
|
559
|
+
keywords: ['agriculture', 'usda', 'farm', 'food'],
|
|
560
|
+
},
|
|
561
|
+
],
|
|
562
|
+
topics: ['agriculture', 'nutrition', 'forestry', 'farming'],
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
committeeCode: 'SSSB',
|
|
566
|
+
committeeName: 'Small Business and Entrepreneurship',
|
|
567
|
+
chamber: 'Senate',
|
|
568
|
+
agencies: [
|
|
569
|
+
{
|
|
570
|
+
name: 'Small Business Administration',
|
|
571
|
+
slug: 'small-business-administration',
|
|
572
|
+
abbreviation: 'SBA',
|
|
573
|
+
keywords: ['sba', 'small business'],
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
topics: ['small business', 'entrepreneurs', 'contracting'],
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
committeeCode: 'SSIA',
|
|
580
|
+
committeeName: 'Indian Affairs',
|
|
581
|
+
chamber: 'Senate',
|
|
582
|
+
agencies: [
|
|
583
|
+
{
|
|
584
|
+
name: 'Bureau of Indian Affairs',
|
|
585
|
+
slug: 'department-of-the-interior',
|
|
586
|
+
abbreviation: 'BIA',
|
|
587
|
+
keywords: ['indian affairs', 'tribal', 'native american'],
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
topics: ['native americans', 'tribal', 'indian affairs'],
|
|
591
|
+
},
|
|
592
|
+
];
|
|
593
|
+
/**
|
|
594
|
+
* All committee mappings combined
|
|
595
|
+
*/
|
|
596
|
+
export const ALL_COMMITTEE_MAPPINGS = [
|
|
597
|
+
...HOUSE_COMMITTEE_MAPPINGS,
|
|
598
|
+
...SENATE_COMMITTEE_MAPPINGS,
|
|
599
|
+
];
|
|
600
|
+
/**
|
|
601
|
+
* Get agencies for a committee by name (fuzzy match)
|
|
602
|
+
*/
|
|
603
|
+
export function getAgenciesForCommittee(committeeName) {
|
|
604
|
+
const normalizedName = committeeName.toLowerCase();
|
|
605
|
+
for (const mapping of ALL_COMMITTEE_MAPPINGS) {
|
|
606
|
+
if (normalizedName.includes(mapping.committeeName.toLowerCase()) ||
|
|
607
|
+
mapping.committeeName.toLowerCase().includes(normalizedName)) {
|
|
608
|
+
return mapping.agencies;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
return [];
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Get topics for a committee by name (fuzzy match)
|
|
615
|
+
*/
|
|
616
|
+
export function getTopicsForCommittee(committeeName) {
|
|
617
|
+
const normalizedName = committeeName.toLowerCase();
|
|
618
|
+
for (const mapping of ALL_COMMITTEE_MAPPINGS) {
|
|
619
|
+
if (normalizedName.includes(mapping.committeeName.toLowerCase()) ||
|
|
620
|
+
mapping.committeeName.toLowerCase().includes(normalizedName)) {
|
|
621
|
+
return mapping.topics;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
return [];
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* Get all agencies for multiple committees
|
|
628
|
+
*/
|
|
629
|
+
export function getAgenciesForCommittees(committeeNames) {
|
|
630
|
+
const agencyMap = new Map();
|
|
631
|
+
for (const name of committeeNames) {
|
|
632
|
+
const agencies = getAgenciesForCommittee(name);
|
|
633
|
+
for (const agency of agencies) {
|
|
634
|
+
agencyMap.set(agency.slug, agency);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
return Array.from(agencyMap.values());
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Get committees that oversee a given agency (reverse lookup).
|
|
641
|
+
*/
|
|
642
|
+
export function getCommitteesForAgency(agencySlug) {
|
|
643
|
+
return ALL_COMMITTEE_MAPPINGS.filter(mapping => mapping.agencies.some(agency => agency.slug === agencySlug));
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* Get all topics for multiple committees
|
|
647
|
+
*/
|
|
648
|
+
export function getTopicsForCommittees(committeeNames) {
|
|
649
|
+
const topicSet = new Set();
|
|
650
|
+
for (const name of committeeNames) {
|
|
651
|
+
const topics = getTopicsForCommittee(name);
|
|
652
|
+
for (const topic of topics) {
|
|
653
|
+
topicSet.add(topic);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
return Array.from(topicSet);
|
|
657
|
+
}
|
|
658
|
+
//# sourceMappingURL=committee-agency-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"committee-agency-map.js","sourceRoot":"","sources":["../src/committee-agency-map.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0BH;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAuB;IAC1D;QACE,aAAa,EAAE,MAAM;QACrB,aAAa,EAAE,gBAAgB;QAC/B,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,uBAAuB;gBAC7B,IAAI,EAAE,uBAAuB;gBAC7B,YAAY,EAAE,KAAK;gBACnB,QAAQ,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,cA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