unitedstates / congress-legislators

Members of the United States Congress, 1789-Present, in YAML/JSON/CSV, as well as committees, presidents, and vice presidents.
Creative Commons Zero v1.0 Universal
2.08k stars 507 forks source link

Incorrect information for Govtrack IDs 412464 and 456856 #920

Closed SacriliciousQ closed 7 months ago

SacriliciousQ commented 7 months ago

In the YAML file for legislators-current, ID 412464 (Senator James Lankford) is flagged as a Junior Seat, but Lankford is actually the Senior Seat. The same is true for ID 456856 (Senator Alejandro Padilla).

JoshData commented 7 months ago

Hi.

In the last (most recent) term entry listed for both senators, they have state_rank: senior. So I think the data is correct. You might be looking at the wrong term entry?

It is possible that these fields go out of date especially after a resignation of the other senator, so it's great to keep a careful eye on whether it's correct, but I think in these cases they look correct.

SacriliciousQ commented 7 months ago

Ah, I see what's going on now. There are more state_ranks for those people than I thought. So I have to go farther down in their record to fish out the correct one.

Thanks!

JoshData commented 7 months ago

No problem. :)