powered by
Get all Candidates in a State for an Election Cycle
get_races_for_state(state, cycle = 2018)
the result of the API call.
The State (US) of the election
Which election cycle (e.g. 2018)
# \donttest{ get_races_for_state('DE') get_races_for_state('DE', 2016) # }
Run the code above in your browser using DataLab