pp_poll_of_polls_summariser: Poll of Polls by summarising

Description Usage Arguments Details Value Examples

View source: R/sum_of_polls.R

Description

This method calculates the number of respondents for each party in each poll by taking the total number of respondents for the poll and multiplying it with the share of each party.

Usage

1
pp_poll_of_polls_summariser(polls, collapse_firm = TRUE)

Arguments

polls

a data set of polls

collapse_firm

collapse multiple polls from one firm into one poll that is the mean of that firms polls?

Details

Then it pools all the respondents for each party together and all the respondents from all the polls together to bassically create one massive poll.

This poll is then used to calculate the percentages and uncertainties anew.

Value

a tibble

Examples

1
2

mikkelkrogsholm/pollofpolls documentation built on May 7, 2019, 5:01 a.m.