Skip to contents

52 U.S.C. 30118 allows "communications by a corporation to its stockholders and executive or administrative personnel and their families or by a labor organization to its members and their families on any subject," including the express advocacy of the election or defeat of any Federal candidate. The costs of such communications must be reported to the Federal Election Commission under certain circumstances.

Usage

fec_get_communication_costs(
  max_amount,
  max_image_number,
  sort_nulls_last,
  support_oppose_indicator,
  sort_hide_null,
  line_number,
  per_page,
  candidate_id,
  page,
  min_date,
  committee_id,
  min_amount,
  min_image_number,
  sort_null_only,
  image_number,
  sort,
  max_date,
  api_key = Sys.getenv("FEC_API_KEY", unset = "DEMO_KEY")
)

Arguments

max_amount

Filter for all amounts less than a value.

max_image_number

Maxium image number of the page where the schedule item is reported

sort_nulls_last

Toggle that sorts null values last

support_oppose_indicator

Support or opposition

sort_hide_null

Hide null values on sorted column(s).

line_number

Filter for form and line number using the following format: FORM-LINENUMBER. For example an argument such as F3X-16 would filter down to all entries from form F3X line number 16.

per_page

The number of results returned per page. Defaults to 20.

candidate_id

A unique identifier assigned to each candidate registered with the FEC. If a person runs for several offices, that person will have separate candidate IDs for each office.

page

For paginating through results, starting at page 1

min_date

Minimum date

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_amount

Filter for all amounts greater than a value.

min_image_number

Minium image number of the page where the schedule item is reported

sort_null_only

Toggle that filters out all rows having sort column that is non-null

image_number

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

sort

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

max_date

Maximum date

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