jvpoulos / opensecrets-API

R code for interacting with Opensecrets and Sunlight Foundation APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opensecrets-API

Overview: R code to collect summary political fundraising and candidate characteristics information using Opensecrets and Sunlight Foundation APIs.

API source links: Opensecrets: https://www.opensecrets.org/api/ [Documentation: http://www.opensecrets.org/resources/create/api_doc.php]

Sunlight Foundation:politicalpartytime.org/api/ [Documentation: http://sunlightlabs.github.io/partytime-docs/]

Files: opensecretsapi.R [Stores summary fundraising information (by FEC cycle) for candidates in opensecrets_attributes.csv] sunlightapi.R [Stores 2012 candidate information in sunlight_candidates.csv]

Notes: Opensecrets and Sunlight require API keys. Opensecrets maintains a daily call limit of 200.

About

R code for interacting with Opensecrets and Sunlight Foundation APIs

License:MIT License


Languages

Language:R 100.0%