Description Usage Arguments Examples
View source: R/financial_endpoints.R
List elections by cycle, office, state, and district.
1  | search_for_election(api_key, query_params = list())
 | 
api_key | 
 String: Your Open FEC API key  | 
query_params | 
 List of KV Pairs: Additional query paramaters to be included  | 
1  | search_for_election("YOUR_API_KEY_HERE", query_params = list(cycle = "2016", office = "house", state = "IL", district = "01"))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.