voteview / member_photos

Photos of U.S. congressional representatives and scrapers used to collect them.
https://voteview.com
12 stars 2 forks source link

Old bioguide now showing inaccurate images in at least one case #18

Closed aaronrudkin closed 3 years ago

aaronrudkin commented 3 years ago

Bill Hagerty, U.S. Senator:

https://bioguide.congress.gov/search/bio/H000601 https://bioguideretro.congress.gov/Home/MemberDetails?memIndex=H000601

The current bio guide photo is correct. The retro one is not. Since this seems like an improbable bug, I tried to investigate what happened. It looks like there was a screw-up on congress's side somewhere, because Hagerty's photo is actually Joseph Lister Hill, Senator:

https://bioguideretro.congress.gov/Home/MemberDetails?memIndex=H000598

The issue is that Bill Hagerty definitely should not be H000601; Hagerty is substantially alphabetically earlier than Hill. You can see that H000598, 599, 600, and 602 are all Hills and that the initial bioguide IDs were assigned in alphabetical order. It looks like 601 was never allocated to begin with. If you look at the classic ICPSR numbers you see the following mapping:

4414: H000596 4415: H000597 4416: H000599 4417: H000600 4418 (this is Joseph Lister Hill): H000598 [out of order] 4419: H000602 [skipped H000601] 4420: H000603

So then decades later, Hagerty is elected an allocated H000601 and for some reason they show the picture for H000598?

Anyway, notwithstanding why this happened, I'll just switch the bioguide scrape to the new bioguide and we'll see how it goes.

aaronrudkin commented 3 years ago

Updated scraper.