Learn R Programming

coalitions (version 0.6.24)

pool_austria: Pool surveys from different pollsters

Description

Per default, pools surveys starting from current date and going 14 days back. For each pollster within the defined time-frame, only the most recent survey is used.

Usage

pool_austria(
  ...,
  pollsters = c("Market", "Research Affairs", "Unique Research", "OGM", "IMAS",
    "Hajek", "Gallup", "Karmasin")
)

Arguments

pollsters

Character vector of pollsters that should be considered for pooling.

See Also

pool_surveys

Examples

Run this code
library(coalitions)
library(dplyr)
latest <- get_latest(surveys_sample)
pool_surveys(surveys_sample, last_date=as.Date("2017-09-02"))

Run the code above in your browser using DataLab