politanch/swissdd: Get Swiss Federal and Cantonal Vote Results from Opendata.swiss

Builds upon the real time data service as well as the archive for national votes <https://opendata.swiss/api/3/action/package_show?id=echtzeitdaten-am-abstimmungstag-zu-eidgenoessischen-abstimmungsvorlagen> and cantonal votes <https://opendata.swiss/api/3/action/package_show?id=echtzeitdaten-am-abstimmungstag-zu-kantonalen-abstimmungsvorlagen>. It brings the results of Swiss popular votes, aggregated at the geographical level of choice, into R. Additionally, it allows to retrieve data from the Swissvotes-Database, one of the most comprehensive data platforms on Swiss referendums and initiatives <https://swissvotes.ch/page/dataset/swissvotes_dataset.csv>.

Getting started

Package details

Maintainer
LicenseGPL (>= 2)
Version1.1.5
URL https://github.com/politanch/swissdd
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("politanch/swissdd")
politanch/swissdd documentation built on June 12, 2025, 6:42 a.m.