View source: R/get_electronic_filing_by_types.R
get_electronic_filing_by_types | R Documentation |
HTTP Request: GET https://api.propublica.org/campaign-finance/v1/cycle/filings/types/form-type-id
get_electronic_filing_by_types(cycle = 2018, form_type_id, page = 1, myAPI_Key)
cycle |
The election cycle |
form_type_id |
F + integer. To get form type IDs, use an electronic filing form types request. |
page |
Results come in batches of 20. The page parameter specifies which one to retrieve. |
myAPI_Key |
API key from Propublica To use the congress API, you must sign up for an API key. |
List of returned JSON from endpoint that retrieves a list of available form types for FEC electronic filings.
## Not run:
get_electronic_filing_by_types(2016, 'F24')
get_electronic_filing_by_types(2016,
matrix(unlist(get_electronic_filing_form_types(2016)$results),
ncol = 2, byrow = TRUE)[8])
#'
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.