Skip to contents

Find out a candidate's characteristics over time. This is particularly useful if the candidate runs for the same office in different districts or you want to know more about a candidate's previous races. This information is organized by candidate_id, so it won't help you find a candidate who ran for different offices over time; candidates get a new ID for each office.

Usage

fec_get_committee_committee_id_candidates_history(
  sort_nulls_last,
  per_page,
  sort_null_only,
  sort_hide_null,
  sort,
  election_full,
  page,
  committee_id,
  api_key = Sys.getenv("FEC_API_KEY", unset = "DEMO_KEY")
)

Arguments

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.

election_full

True indicates that full election period of a candidate. False indicates that two year election cycle.

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.

Value

BKTODO: Return descriptions are not yet implemented in beekeeper