get_races_for_state: Get all Candidates in a State for an Election Cycle

View source: R/get_races_for_state.R

get_races_for_stateR Documentation

Get all Candidates in a State for an Election Cycle

Description

Get all Candidates in a State for an Election Cycle

Usage

get_races_for_state(state, cycle = 2018)

Arguments

state

The State (US) of the election

cycle

Which election cycle (e.g. 2018)

Value

the result of the API call.

Examples

## Not run: 
get_races_for_state('DE')
get_races_for_state('DE', 2016)

## End(Not run)

ProPublicaR documentation built on Sept. 8, 2023, 5:53 p.m.