get_poll: Download poll data collected after a national vote by...

Description Usage Arguments Details Value Examples

View source: R/get_poll.R

Description

get_poll downloads exit poll data Please cite data.

Usage

1
get_poll(bfsnr = NULL, codebook = F)

Arguments

bfsnr

number of identification of the vote, by default = NULL. Polls available after September 2020 (from voteid 6360 onwards). Bfsnr corresponds to anr in swissvotes data and has to be four digits (available through get_swissvotes).

codebook

by default = FALSE. If TRUE navigates your browser to the codebook if available.

Details

get_poll - retrieve poll data on votes. The unit of analysis are individuals.

Value

a tibble containing the results

Examples

1
results <- get_poll(bfsnr=6360, codebook=FALSE)

swissdd documentation built on July 17, 2021, 9:06 a.m.

Related to get_poll in swissdd...