This lists the options for the categories and subcategories available in the /audit-search/ endpoint.
Usage
fec_get_audit_category(
sort_nulls_last,
page,
primary_category_name,
sort_hide_null,
primary_category_id,
sort_null_only,
per_page,
sort,
api_key = Sys.getenv("FEC_API_KEY", unset = "DEMO_KEY")
)
Arguments
- sort_nulls_last
Toggle that sorts null values last
- page
For paginating through results, starting at page 1
- primary_category_name
Primary Audit Category - No Findings or Issues/Not a Committee - Net Outstanding Campaign/Convention Expenditures/Obligations - Payments/Disgorgements - Allocation Issues - Prohibited Contributions - Disclosure - Recordkeeping - Repayment to US Treasury - Other - Misstatement of Financial Activity - Excessive Contributions - Failure to File Reports/Schedules/Notices - Loans - Referred Findings Not Listed
- sort_hide_null
Hide null values on sorted column(s).
- primary_category_id
Audit category ID (table PK)
- sort_null_only
Toggle that filters out all rows having sort column that is non-null
- per_page
The number of results returned per page. Defaults to 20.
- sort
Provide a field to sort by. Use
-
for descending order.- 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.