All functions

available_votedates()

Get a vector of available vote dates via `get_nationalvotes` and `get_cantonalvotes``

canton_json_to_dfr()

Transform a opendata.swiss cantonal results json into a tibble

get_cantonalvotes()

Get cantonal results and counting status in real time or for selected dates or a time range in the past

get_geodata()

Get Swiss Geodata

get_nationalvotes()

Get national results and counting status in real time or for selected dates or a time range in the past

get_poll()

Download poll data collected after a national vote by gfs.bern and the political science departements of the universities of Berne, Zurich, and Geneva.

get_swissvotes() get_swissvotes()

Download additional data collected by annee politique suisse (the complete SwissVotes-Database)

keys

Merge data

plot_cantonalvotes()

Plot Cantonal Votes

plot_nationalvotes()

Plot National Votes

similar_votes()

Obtain similarities a vote result shares with other votes

swiss_json_to_dfr()

Transform an opendata.swiss national results json into a tibble