Skip to contents

Efiling endpoints provide real-time campaign finance data received from electronic filers. Efiling endpoints only contain the most recent four months of data and don't contain the processed and coded data that you can find on other endpoints.

Usage

fec_get_schedules_schedule_b_efile(
  disbursement_description,
  max_amount,
  page,
  sort_nulls_last,
  sort,
  sort_hide_null,
  committee_id,
  min_date,
  recipient_state,
  recipient_city,
  sort_null_only,
  per_page,
  image_number,
  min_amount,
  max_date,
  api_key = Sys.getenv("FEC_API_KEY", unset = "DEMO_KEY")
)

Arguments

disbursement_description

Description of disbursement

max_amount

Filter for all amounts less than a value.

page

For paginating through results, starting at page 1

sort_nulls_last

Toggle that sorts null values last

sort

Provide a field to sort by. Use - for descending order.

sort_hide_null

Hide null values on sorted column(s).

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.

min_date

When sorting by disbursement_date, this is populated with the disbursement_date of the last result. However, you will need to pass the index of that last result to last_index to get the next page.

recipient_state

State of recipient

recipient_city

City of recipient

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.

image_number

An unique identifier for each page where the electronic or paper filing is reported.

min_amount

Filter for all amounts less than a value.

max_date

When sorting by disbursement_date, this is populated with the disbursement_date of the last result. However, you will need to pass the index of that last result to last_index to get the next page.

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.

Value

BKTODO: Return descriptions are not yet implemented in beekeeper