Description Usage Arguments Value Notes Examples
Scrape German Federal Election Polls from the website "Wahlrecht.de"
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"))
|
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. |
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.
The "other parties" column is calculated as the difference of the sum of all selected parties to 1.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.