if (FALSE) {
library(coalitions)
# scrape data for the German federal election
# get_surveys()
}
library(coalitions)
### Scrape the newest poll for the German federal election
# Possibility 1: Calling get_latest without arguments scrapes surveys from the web
# Possibility 2: Use get_latest() on an already scraped dataset
surveys <- get_latest(surveys_sample)
Run the code above in your browser using DataLab