germanpolls: Get data of German polls from wahlrecht.de.

Description Usage Arguments Value Examples

View source: R/germanpolls.R

Description

This is the main function to parse XML files from Wahlrecht.de to extract polling data. It catches all XML elements that can be found. Not all regions have XML available, their data can't be accessed with this function.

Usage

1
germanpolls(region = "de")

Arguments

region

string, all available regions are documented in the readme

Value

dataframe

Examples

1
2
germanpolls(region = "de")
germanpolls(region = "by")

cutterkom/germanpolls documentation built on April 16, 2020, 8:55 p.m.