get_pooled | R Documentation |
Given a specified time window (defaults to current day - 14 days). calculate the effective sample size of the pooled sample over multiple pollsters.
get_pooled(
surveys,
last_date = Sys.Date(),
pollsters = c("allensbach", "emnid", "forsa", "fgw", "gms", "infratest", "dimap",
"infratestdimap", "insa"),
period = 14,
period_extended = NA,
corr = 0.5,
weights = NULL
)
surveys |
A |
last_date |
Only surveys in the time-window from |
pollsters |
Character vector of pollsters that should be considered for pooling. |
period |
See |
period_extended |
Optional. If specified, all surveys in the time-window
from |
corr |
Assumed correlation between surveys (of different pollsters). Defaults to 0.5. |
weights |
Additional weights for individual surveys. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.