Get committee committee id totals
Source:R/paths-financial.R
fec_get_committee_committee_id_totals.Rd
This endpoint provides information about a committee's Form 3, Form 3X, or Form 3P financial reports, which are aggregated by two-year period. We refer to two-year periods as a cycle
. The cycle is named after the even-numbered year and includes the year before it. To obtain totals from 2013 and 2014, you would use 2014. In odd-numbered years, the current cycle is the next year — for example, in 2015, the current cycle is 2016. For presidential and Senate candidates, multiple two-year cycles exist between elections.
Usage
fec_get_committee_committee_id_totals(
cycle,
sort_nulls_last,
per_page,
sort_null_only,
sort_hide_null,
sort,
page,
committee_id,
api_key = Sys.getenv("FEC_API_KEY", unset = "DEMO_KEY")
)
Arguments
- cycle
Filter records to only those that were applicable to a given two-year period.The cycle begins with an odd year and is named for its ending, even year.
- sort_nulls_last
Toggle that sorts null values last
- per_page
The number of results returned per page. Defaults to 20.
- sort_null_only
Toggle that filters out all rows having sort column that is non-null
- sort_hide_null
Hide null values on sorted column(s).
- sort
Provide a field to sort by. Use
-
for descending order.- page
For paginating through results, starting at page 1
- committee_id
A unique identifier assigned to each committee or filer registered with the FEC. In general committee id's begin with the letter C which is followed by eight digits.
- api_key
An API key provided by the API provider. This key is not clearly documented in the API description. Check the API documentation for details.