Learn R Programming

dslabs (version 0.7.1)

brexit_polls: Brexit Poll Data

Description

Brexit (EU referendum) poll outcomes for 127 polls from January 2016 to the referendum date on June 23, 2016.

Usage

data(brexit_polls)

Arguments

Format

An object of class "data.frame".

Details

  • startdate. Start date of poll.

  • enddate. End date of poll.

  • pollster. Pollster conducting the poll.

  • poll_type. Online or telephone poll.

  • samplesize. Sample size of poll.

  • remain. Proportion voting Remain.

  • leave. Proportion voting Leave.

  • undecided. Proportion of undecided voters.

  • spread. Spread calculated as remain - leave.

Examples

Run this code
# NOT RUN {
data(brexit_polls)
head(brexit_polls)
# }

Run the code above in your browser using DataLab