R/data-eu_referendum.R

#' EU referendum data
#'
#' Data on voting in the UK EU membership referendum in 2016
#'
#' @format A dataframe with 382 rows and 4 variables:
#' \describe{
#' \item{Region}{UK Region}
#' \item{Area_Code}{UK Area Code}
#' \item{Remain}{Number of votes to remain in the EU}
#' \item{Leave}{Number of votes to leave the EU}
#' }
#' 
#' @source \href{https://www.electoralcommission.org.uk/who-we-are-and-what-we-do/elections-and-referendums/past-elections-and-referendums/eu-referendum/results-and-turnout-eu-referendum}{UK Electoral Commission}
#' 
#' @examples
#' eu_referendum
"eu_referendum"

Try the onadata package in your browser

Any scripts or data that you put into this service are public.

onadata documentation built on Jan. 25, 2022, 1:10 a.m.