mirror of
https://github.com/unitedstates/congress-legislators.git
synced 2025-12-19 09:50:37 -05:00
Ran senate_contacts.py, small contact form processing update (#961)
This commit is contained in:
@@ -86,6 +86,10 @@
|
||||
party: Democrat
|
||||
url: https://www.cantwell.senate.gov
|
||||
rss_url: http://www.cantwell.senate.gov/public/index.cfm/rss/feed
|
||||
contact_form: https://www.cantwell.senate.gov/public/index.cfm/email-maria
|
||||
address: 511 Hart Senate Office Building Washington DC 20510
|
||||
office: 511 Hart Senate Office Building
|
||||
phone: 202-224-3441
|
||||
- id:
|
||||
bioguide: K000367
|
||||
thomas: '01826'
|
||||
@@ -171,6 +175,10 @@
|
||||
state_rank: senior
|
||||
party: Democrat
|
||||
url: https://www.klobuchar.senate.gov
|
||||
contact_form: https://www.klobuchar.senate.gov/public/index.cfm/contact
|
||||
address: 425 Dirksen Senate Office Building Washington DC 20510
|
||||
office: 425 Dirksen Senate Office Building
|
||||
phone: 202-224-3244
|
||||
- id:
|
||||
bioguide: S000033
|
||||
thomas: '01010'
|
||||
@@ -314,6 +322,10 @@
|
||||
caucus: Democrat
|
||||
url: https://www.sanders.senate.gov
|
||||
rss_url: http://www.sanders.senate.gov/rss/
|
||||
contact_form: https://www.sanders.senate.gov/contact/
|
||||
address: 332 Dirksen Senate Office Building Washington DC 20510
|
||||
office: 332 Dirksen Senate Office Building
|
||||
phone: 202-224-5141
|
||||
- id:
|
||||
bioguide: W000802
|
||||
thomas: '01823'
|
||||
@@ -387,6 +399,10 @@
|
||||
party: Democrat
|
||||
url: https://www.whitehouse.senate.gov
|
||||
rss_url: http://www.whitehouse.senate.gov/rss/feeds/?type=all&cachebuster=1
|
||||
contact_form: https://www.whitehouse.senate.gov/contact/email-sheldon
|
||||
address: 530 Hart Senate Office Building Washington DC 20510
|
||||
office: 530 Hart Senate Office Building
|
||||
phone: 202-224-2921
|
||||
- id:
|
||||
bioguide: B001261
|
||||
thomas: '01881'
|
||||
@@ -475,6 +491,10 @@
|
||||
party: Republican
|
||||
url: https://www.barrasso.senate.gov
|
||||
rss_url: http://www.barrasso.senate.gov/public/index.cfm?FuseAction=Rss.Feed
|
||||
contact_form: https://www.barrasso.senate.gov/public/index.cfm/contact-form
|
||||
address: 307 Dirksen Senate Office Building Washington DC 20510
|
||||
office: 307 Dirksen Senate Office Building
|
||||
phone: 202-224-6441
|
||||
- id:
|
||||
bioguide: W000437
|
||||
thomas: '01226'
|
||||
@@ -594,6 +614,10 @@
|
||||
state_rank: senior
|
||||
party: Republican
|
||||
url: https://www.wicker.senate.gov
|
||||
contact_form: https://www.wicker.senate.gov/public/index.cfm/contact
|
||||
address: 425 Russell Senate Office Building Washington DC 20510
|
||||
office: 425 Russell Senate Office Building
|
||||
phone: 202-224-6253
|
||||
- id:
|
||||
bioguide: C001035
|
||||
thomas: '01541'
|
||||
@@ -1629,6 +1653,10 @@
|
||||
party: Democrat
|
||||
url: https://www.gillibrand.senate.gov
|
||||
rss_url: http://www.gillibrand.senate.gov/rss/
|
||||
contact_form: https://www.gillibrand.senate.gov/contact/email-me
|
||||
address: 478 Russell Senate Office Building Washington DC 20510
|
||||
office: 478 Russell Senate Office Building
|
||||
phone: 202-224-4451
|
||||
- id:
|
||||
bioguide: C001088
|
||||
thomas: '01984'
|
||||
@@ -1983,6 +2011,10 @@
|
||||
party: Democrat
|
||||
url: https://www.baldwin.senate.gov
|
||||
rss_url: http://www.baldwin.senate.gov/rss/feeds/?type=all
|
||||
contact_form: https://www.baldwin.senate.gov/feedback
|
||||
address: 141 Hart Senate Office Building Washington DC 20510
|
||||
office: 141 Hart Senate Office Building
|
||||
phone: 202-224-5653
|
||||
- id:
|
||||
bioguide: B001267
|
||||
thomas: '01965'
|
||||
@@ -2494,6 +2526,10 @@
|
||||
state_rank: senior
|
||||
party: Republican
|
||||
url: https://www.blackburn.senate.gov
|
||||
contact_form: https://www.blackburn.senate.gov/email-me
|
||||
address: 357 Dirksen Senate Office Building Washington DC 20510
|
||||
office: 357 Dirksen Senate Office Building
|
||||
phone: 202-224-3344
|
||||
- id:
|
||||
bioguide: B001277
|
||||
thomas: '02076'
|
||||
@@ -7601,6 +7637,10 @@
|
||||
state_rank: senior
|
||||
party: Democrat
|
||||
url: https://www.heinrich.senate.gov
|
||||
contact_form: https://www.heinrich.senate.gov/contact
|
||||
address: 709 Hart Senate Office Building Washington DC 20510
|
||||
office: 709 Hart Senate Office Building
|
||||
phone: 202-224-5521
|
||||
- id:
|
||||
bioguide: H001047
|
||||
thomas: '01913'
|
||||
@@ -7816,6 +7856,10 @@
|
||||
party: Democrat
|
||||
url: https://www.hirono.senate.gov
|
||||
rss_url: http://www.hirono.senate.gov/rss/feeds/?type=all
|
||||
contact_form: https://www.hirono.senate.gov/contact
|
||||
address: 109 Hart Senate Office Building Washington DC 20510
|
||||
office: 109 Hart Senate Office Building
|
||||
phone: 202-224-6361
|
||||
- id:
|
||||
bioguide: H001061
|
||||
thomas: '02079'
|
||||
@@ -11703,6 +11747,10 @@
|
||||
party: Democrat
|
||||
url: https://www.murphy.senate.gov
|
||||
rss_url: http://www.theday.com/article/20121216/nws12/312169935/1069/rss
|
||||
contact_form: https://www.murphy.senate.gov/contact
|
||||
address: 136 Hart Senate Office Building Washington DC 20510
|
||||
office: 136 Hart Senate Office Building
|
||||
phone: 202-224-4041
|
||||
- id:
|
||||
bioguide: M001111
|
||||
thomas: '01409'
|
||||
@@ -14071,6 +14119,9 @@
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.schiff.senate.gov
|
||||
address: B40B Dirksen Senate Office Building Washington DC 20510
|
||||
office: B40b Dirksen Senate Office Building
|
||||
phone: 202-224-3841
|
||||
- id:
|
||||
bioguide: S000148
|
||||
thomas: '01036'
|
||||
@@ -20600,6 +20651,10 @@
|
||||
party: Democrat
|
||||
url: https://www.warren.senate.gov
|
||||
rss_url: http://www.warren.senate.gov/rss/?p=hot_topic
|
||||
contact_form: https://www.warren.senate.gov/?p=email_senator
|
||||
address: 309 Hart Senate Office Building Washington DC 20510
|
||||
office: 309 Hart Senate Office Building
|
||||
phone: 202-224-4543
|
||||
- id:
|
||||
bioguide: K000383
|
||||
thomas: '02185'
|
||||
@@ -20666,6 +20721,10 @@
|
||||
caucus: Democrat
|
||||
url: https://www.king.senate.gov
|
||||
rss_url: http://www.king.senate.gov/rss/feeds/?type=all
|
||||
contact_form: https://www.king.senate.gov/contact
|
||||
address: 133 Hart Senate Office Building Washington DC 20510
|
||||
office: 133 Hart Senate Office Building
|
||||
phone: 202-224-5344
|
||||
- id:
|
||||
govtrack: 412548
|
||||
bioguide: W000812
|
||||
@@ -21029,6 +21088,10 @@
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.cramer.senate.gov
|
||||
contact_form: https://www.cramer.senate.gov/contact/contact-kevin
|
||||
address: 313 Hart Senate Office Building Washington DC 20510
|
||||
office: 313 Hart Senate Office Building
|
||||
phone: 202-224-2043
|
||||
- id:
|
||||
bioguide: F000463
|
||||
thomas: '02179'
|
||||
@@ -21091,6 +21154,10 @@
|
||||
party: Republican
|
||||
url: https://www.fischer.senate.gov
|
||||
rss_url: http://www.fischer.senate.gov/public/index.cfm/rss/feed
|
||||
contact_form: https://www.fischer.senate.gov/public/index.cfm/contact
|
||||
address: 448 Russell Senate Office Building Washington DC 20510
|
||||
office: 448 Russell Senate Office Building
|
||||
phone: 202-224-6551
|
||||
- id:
|
||||
govtrack: 412560
|
||||
bioguide: M001188
|
||||
@@ -21773,6 +21840,10 @@
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.cruz.senate.gov
|
||||
contact_form: https://www.cruz.senate.gov/?p=form&id=16
|
||||
address: 167 Russell Senate Office Building Washington DC 20510
|
||||
office: 167 Russell Senate Office Building
|
||||
phone: 202-224-5922
|
||||
- id:
|
||||
govtrack: 412574
|
||||
bioguide: W000814
|
||||
@@ -22250,6 +22321,10 @@
|
||||
party: Democrat
|
||||
url: https://www.kaine.senate.gov
|
||||
rss_url: http://www.kaine.senate.gov/rss/feeds/?type=all
|
||||
contact_form: https://www.kaine.senate.gov/contact
|
||||
address: 231 Russell Senate Office Building Washington DC 20510
|
||||
office: 231 Russell Senate Office Building
|
||||
phone: 202-224-4024
|
||||
- id:
|
||||
govtrack: 412585
|
||||
bioguide: P000607
|
||||
@@ -23208,6 +23283,7 @@
|
||||
votesmart: 123732
|
||||
ballotpedia: Ruben Gallego
|
||||
pictorial: 12908
|
||||
lis: S432
|
||||
name:
|
||||
first: Ruben
|
||||
last: Gallego
|
||||
@@ -23273,6 +23349,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.gallego.senate.gov
|
||||
address: 188 Russell Senate Office Building Washington DC 20510
|
||||
office: 188 Russell Senate Office Building
|
||||
phone: 202-224-4521
|
||||
- id:
|
||||
bioguide: D000623
|
||||
fec:
|
||||
@@ -26446,6 +26526,7 @@
|
||||
icpsr: 21706
|
||||
ballotpedia: Lisa Blunt Rochester
|
||||
pictorial: 12981
|
||||
lis: S430
|
||||
name:
|
||||
first: Lisa
|
||||
last: Blunt Rochester
|
||||
@@ -26501,6 +26582,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.bluntrochester.senate.gov
|
||||
address: B40A Dirksen Senate Office Building Washington DC 20510
|
||||
office: B40a Dirksen Senate Office Building
|
||||
phone: 202-224-2441
|
||||
- id:
|
||||
bioguide: D000628
|
||||
govtrack: 412691
|
||||
@@ -26869,6 +26954,7 @@
|
||||
cspan: 89806
|
||||
icpsr: 21702
|
||||
pictorial: 13052
|
||||
lis: S429
|
||||
name:
|
||||
first: Jim
|
||||
last: Banks
|
||||
@@ -26924,6 +27010,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.banks.senate.gov
|
||||
address: B85 Russell Senate Office Building Washington DC 20510
|
||||
office: B85 Russell Senate Office Building
|
||||
phone: 202-224-4814
|
||||
- id:
|
||||
bioguide: M001198
|
||||
lis: S411
|
||||
@@ -27530,6 +27620,10 @@
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.rosen.senate.gov
|
||||
contact_form: https://www.rosen.senate.gov/contact_jacky
|
||||
address: 713 Hart Senate Office Building Washington DC 20510
|
||||
office: 713 Hart Senate Office Building
|
||||
phone: 202-224-6244
|
||||
- id:
|
||||
bioguide: E000297
|
||||
govtrack: 412718
|
||||
@@ -28252,6 +28346,7 @@
|
||||
maplight: 2251
|
||||
icpsr: 21755
|
||||
pictorial: 13298
|
||||
lis: S431
|
||||
name:
|
||||
first: John
|
||||
middle: R.
|
||||
@@ -28308,6 +28403,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.curtis.senate.gov
|
||||
address: B11 Russell Senate Office Building Washington DC 20510
|
||||
office: B11 Russell Senate Office Building
|
||||
phone: 202-224-5251
|
||||
- id:
|
||||
bioguide: S001203
|
||||
lis: S394
|
||||
@@ -29929,6 +30028,7 @@
|
||||
icpsr: 21965
|
||||
google_entity_id: kg:/g/11dfr3z7r1
|
||||
pictorial: 13100
|
||||
lis: S436
|
||||
name:
|
||||
first: Elissa
|
||||
last: Slotkin
|
||||
@@ -29974,6 +30074,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.slotkin.senate.gov
|
||||
address: 825B Hart Senate Office Building Washington DC 20510
|
||||
office: 825b Hart Senate Office Building
|
||||
phone: 202-224-4822
|
||||
- id:
|
||||
bioguide: S001215
|
||||
fec:
|
||||
@@ -30517,6 +30621,9 @@
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.kim.senate.gov
|
||||
address: B40D Dirksen Senate Office Building Washington DC 20510
|
||||
office: B40d Dirksen Senate Office Building
|
||||
phone: 202-224-4744
|
||||
- id:
|
||||
bioguide: S001207
|
||||
fec:
|
||||
@@ -31898,6 +32005,10 @@
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.rickscott.senate.gov
|
||||
contact_form: https://www.rickscott.senate.gov/contact/contact
|
||||
address: 110 Hart Senate Office Building Washington DC 20510
|
||||
office: 110 Hart Senate Office Building
|
||||
phone: 202-224-5274
|
||||
- id:
|
||||
bioguide: H001089
|
||||
fec:
|
||||
@@ -31941,6 +32052,10 @@
|
||||
state_rank: senior
|
||||
party: Republican
|
||||
url: https://www.hawley.senate.gov
|
||||
contact_form: https://www.hawley.senate.gov/contact-senator-hawley
|
||||
address: 115 Russell Senate Office Building Washington DC 20510
|
||||
office: 115 Russell Senate Office Building
|
||||
phone: 202-224-6154
|
||||
- id:
|
||||
bioguide: G000592
|
||||
fec:
|
||||
@@ -38678,11 +38793,12 @@
|
||||
govtrack: 456965
|
||||
wikipedia: Angela Alsobrooks
|
||||
wikidata: Q58755148
|
||||
lis: S428
|
||||
name:
|
||||
first: Angela
|
||||
middle: Deneece
|
||||
last: Alsobrooks
|
||||
official_full: Angela Alsobrooks
|
||||
official_full: Angela D. Alsobrooks
|
||||
bio:
|
||||
gender: F
|
||||
birthday: '1971-02-23'
|
||||
@@ -38694,6 +38810,11 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Democrat
|
||||
url: https://www.alsobrooks.senate.gov
|
||||
contact_form: https://alsobrooks.senate.gov/
|
||||
address: B40E Dirksen Senate Office Building Washington DC 20510
|
||||
office: B40e Dirksen Senate Office Building
|
||||
phone: 202-224-4524
|
||||
- id:
|
||||
bioguide: S001232
|
||||
fec:
|
||||
@@ -38701,6 +38822,7 @@
|
||||
govtrack: 456966
|
||||
wikipedia: Tim Sheehy (American politician)
|
||||
wikidata: Q124433916
|
||||
lis: S435
|
||||
name:
|
||||
first: Tim
|
||||
middle: Patrick
|
||||
@@ -38717,6 +38839,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.sheehy.senate.gov
|
||||
address: G55 Dirksen Senate Office Building Washington DC 20510
|
||||
office: G55 Dirksen Senate Office Building
|
||||
phone: 202-224-2644
|
||||
- id:
|
||||
bioguide: M001242
|
||||
fec:
|
||||
@@ -38724,6 +38850,7 @@
|
||||
govtrack: 456967
|
||||
wikipedia: Bernie Moreno
|
||||
wikidata: Q124858476
|
||||
lis: S434
|
||||
name:
|
||||
first: Bernie
|
||||
last: Moreno
|
||||
@@ -38739,6 +38866,10 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.moreno.senate.gov
|
||||
address: B33 Russell Senate Office Building Washington DC 20510
|
||||
office: B33 Russell Senate Office Building
|
||||
phone: 202-224-2315
|
||||
- id:
|
||||
bioguide: M001243
|
||||
fec:
|
||||
@@ -38746,6 +38877,7 @@
|
||||
govtrack: 456968
|
||||
wikipedia: Dave McCormick
|
||||
wikidata: Q5234544
|
||||
lis: S433
|
||||
name:
|
||||
first: Dave
|
||||
middle: Harold
|
||||
@@ -38762,6 +38894,11 @@
|
||||
class: 1
|
||||
state_rank: junior
|
||||
party: Republican
|
||||
url: https://www.mccormick.senate.gov
|
||||
contact_form: https://mccormick.senate.gov/
|
||||
address: B40C Dirksen Senate Office Building Washington DC 20510
|
||||
office: B40c Dirksen Senate Office Building
|
||||
phone: 202-224-6324
|
||||
- id:
|
||||
bioguide: B001323
|
||||
fec:
|
||||
|
||||
@@ -111,9 +111,9 @@ def run():
|
||||
|
||||
term["url"] = url
|
||||
|
||||
#contact forms aren't heavily used, copy from XML without checks
|
||||
#contact forms are sometimes listed as the base url, ignore if such case
|
||||
contact_form = str(node.xpath("string(email)")).strip()
|
||||
if contact_form:
|
||||
if contact_form and contact_form.rstrip("/") != term['url']:
|
||||
term['contact_form'] = contact_form
|
||||
|
||||
term["address"] = str(node.xpath("string(address)")).strip().replace("\n ", " ")
|
||||
|
||||
Reference in New Issue
Block a user