The various APIs included here are now managed by ProPublica and OpenStates organizations.
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
Currently we have functions to interface with the following ProPublica API and OpenStates API:
ProPublica Congress API (
Open States API (
Capitol Words API is now defunct
We will support ProPublica campaign finance API in the future
Scott Chamberlain [email protected]
Thomas J. Leeper [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.