project-seldon / intake

Ideas, bug reports, questions and any other type of feedback.
https://projectseldon.org
1 stars 0 forks source link

Explore / Politics / Lobby data for US officials #44

Open gerard070 opened 1 year ago

gerard070 commented 1 year ago

I've begun researching sources for lobby data that we can link to US officials that we have voting history for. The end state would be to surface pertinent lobby / funding data on a representatives details page, to give users more insight into the funding that is supporting the representative.

That means this ticket will ultimately need to break out into at least a UI and Research ticket (maybe index too)

I found a potentially excellent primary source from the senate.gov Lobby Disclosure act, with endpoints listed below.

I have also generated an API key and begun pinging the data

curl "https://lda.senate.gov/api/v1/contributions/?format=json" -H "X-API-Key: 843d6d52598672298ff2e09478dd3d338cf64460"

We still need to flesh out what data is relevant and useful, there is a lot. I will comment more as I learn

Docs

https://www.senate.gov/legislative/opr.htm

API Docs

https://lda.senate.gov/api/v1/ https://lda.senate.gov/api/v1/contributions/

API Research

https://lda.senate.gov/filings/public/contribution/search/?registrant=&registrant_lobbyist=&report_period=&report_year=&report_dt_posted_from=&report_dt_posted_to=&report_filing_uuid=&report_house_doc_id=&contribution_date_from=&contribution_date_to=&contribution_amount_min=&contribution_amount_max=&contribution_type=&contribution_contributor=&contribution_payee=&contribution_honoree=&search=search

https://lda.senate.gov/filings/public/contribution/9e710e55-c11d-47c4-b3e7-a24c64443594/print/

API Examples

https://lda.senate.gov/api/v1/?format=json

Here are some initial resources

https://politics.stackexchange.com/search?q=elections https://politics.stackexchange.com/questions/3307/data-source-for-2012-us-congress-and-us-senate-elections/79999#79999

Election and voting information

https://electionlab.mit.edu/ https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/IG0UN2 (also credits MIT) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ http://www.thegreenpapers.com/G12/CT http://www.thegreenpapers.com/G12/CT This page is for offices up for election in 2012. Find 2013 elections here This page is for offices up for election in 2013. Find 2014 elections here.

https://docs.google.com/spreadsheets/d/1GhJjehBDFE50I7-jhU8IaZDypcIzzZg64A92ytI-pi8/edit#gid=0

gerard070 commented 11 months ago

For reference, some docs from propublica

https://projects.propublica.org/api-docs/congress-api/

https://www.propublica.org/nerds/lobbying-registration-database-reporting-recipe