In rsunlight: Interface to 'Sunlight' Foundation 'APIs'
Description
The various APIs included here are now managed by ProPublica and
OpenStates organizations.
Details
You need API keys for Propublica APIs. Get them at
https://www.propublica.org/datastore/apis
You need an API key for the OpenStates API. Get it at
https://openstates.org/api/register/
We set up the functions so that you can use either env vars, or R options.
For env vars, put an entry in your .Renviron file with the names
PROPUBLICA_API_KEY and OPEN_STATES_KEY.
Currently we have functions to interface with the following ProPublica API
and OpenStates API:
ProPublica Congress API (cg)
Open States API (os)
NOTES:
Capitol Words API is now defunct
We will support ProPublica campaign finance API in the future
Author(s)
rsunlight documentation built on May 1, 2019, 10:18 p.m.