swissparl: Interface to Swiss Parliament Web Services and the 'OpenParlData' API

Provides machine-readable access to parliamentary data of the Swiss Federal Assembly via the 'OData' interface (<https://ws.parlament.ch/odata.svc/>) and the 'OpenParlData' REST API (<https://api.openparldata.ch>), which also offers harmonized data for selected cantonal and municipal parliaments.

Version: 0.3.0
Imports: dplyr, jsonlite, magrittr, purrr, stringr, tibble, tidyr, crayon, httr, ggplot2, glue, utils
Published: 2026-03-04
DOI: 10.32614/CRAN.package.swissparl
Author: David Zumbach [aut, cre], Benjamin Gföhler [ctb]
Maintainer: David Zumbach <david.zumbach at gfzb.ch>
BugReports: https://github.com/zumbov2/swissparl/issues
License: MIT + file LICENSE
URL: https://www.parlament.ch/de/%c3%bcber-das-parlament/fakten-und-zahlen/open-data-web-services, https://api.openparldata.ch/documentation
NeedsCompilation: no
CRAN checks: swissparl results

Documentation:

Reference manual: swissparl.html , swissparl.pdf

Downloads:

Package source: swissparl_0.3.0.tar.gz
Windows binaries: r-devel: swissparl_0.2.2.zip, r-release: swissparl_0.2.2.zip, r-oldrel: swissparl_0.2.2.zip
macOS binaries: r-release (arm64): swissparl_0.3.0.tgz, r-oldrel (arm64): swissparl_0.3.0.tgz, r-release (x86_64): swissparl_0.3.0.tgz, r-oldrel (x86_64): swissparl_0.3.0.tgz
Old sources: swissparl archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=swissparl to link to this page.