Description Usage Arguments References See Also Examples
Campaign finance - candidate details
1 2 | cf_candidate_details(campaign_cycle = NULL, fec_id = NULL,
key = NULL, ...)
|
campaign_cycle |
An even-numbdered year in YYYY format. Presidential data: 2008-present; Congressional data: 2000-present |
fec_id |
FEC id |
key |
(character) your Propublica API key; pass in, or loads from .Renviron as
|
... |
Curl options (debugging tools mostly) passed to
|
http://propublica.github.io/campaign-finance-api-docs
Other campaign-finance: cf_candidate_leaders
,
cf_candidate_new
,
cf_candidate_search
,
cf_candidate_state
1 2 3 4 5 | ## Not run:
cf_candidate_details(campaign_cycle = 2008, fec_id = 'P80003338')
cf_candidate_details(campaign_cycle = 2012, fec_id = 'P80003338')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.