acannistra / landwatch

Exploring the network of federal public lands, legislation, legislators, and campaign finance in the U.S.
MIT License
7 stars 2 forks source link

build get.legislators #9

Closed acannistra closed 2 years ago

acannistra commented 4 years ago

This builds on the schema developed by the get.bills module.

There's a sponsor_uri column in the bills table generated by the get.bills module which we can use to get metadata about primary sponsor legislation.

We need to figure out if we care about cosponsorship. I think cosponsorship needs to come directly from the /bills endpoint of the ProPublica API (the sponsor_uri endpoint is simply just a link to the single /members endpoint for the given sponsor).

todo: