scrape_wahlrecht_bund: Scrape German Federal Level Polls from Wahlrecht.de

Description Usage Arguments Value Notes Examples

Description

Scrape German Federal Election Polls from the website "Wahlrecht.de"

Usage

1
2
3
4
scrape_wahlrecht_bund(institutes = c("allensbach", "emnid", "forsa",
  "politbarometer", "gms", "dimap", "insa", "yougov"),
  include_rawdata = F, parties = c("cdu/csu", "spd", "gr<c3><83><c2><bc>ne", "fdp",
  "linke", "afd"))

Arguments

institutes

A vector with institutes to include.

include_rawdata

Logical whether raw data (available for some instutues) shall be included. Raw polls can be identified via the raw_by_institue column. Defaults to FALSE.

parties

A character vector of which parties to include. Defaults to the main parties currently represented in the German Bundestag.

Value

A data frame all polls since 1998 including Party Vote Shares along metadata including Year, Date of Publication, Start and End of Data Collection, Polling Institute, Sample Size and a "Raw"-Dummy.

Notes

The "other parties" column is calculated as the difference of the sum of all selected parties to 1.

Examples

1

schliebs/voteR documentation built on May 7, 2019, 3:33 p.m.