powered by
Get Candidate Info https://www.propublica.org/datastore/apis GET https://api.propublica.org/campaign-finance/v1/cycle/candidates/fec-id
get_candidate(FEC_ID, cycle = 2018, page = 1, myAPI_Key)
a list object with the return values about candidate basic information
The FEC-assigned 9-character ID of a candidate.
The election cycle must be even-numbered year between 1996 and 2018
Results come in batches of 20. The page parameter specifies which one to retrieve.
API key from Propublica To use the congress API, you must sign up for an API key.
if (FALSE) { get_candidate('P60005915', 2016) }
Run the code above in your browser using DataLab