rsunlight-package: Methods for retreiving data from APIs that were previously...

Description Details Author(s)


The various APIs included here are now managed by ProPublica and OpenStates organizations.


You need API keys for Propublica APIs. Get them at

You need an API key for the OpenStates API. Get it at

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:



Scott Chamberlain [email protected]

Thomas J. Leeper [email protected]

rsunlight documentation built on May 15, 2018, 9:03 a.m.