README.md

About

This R package contains data sets on New Zealand parliamentary elections (under MMP), from 1996 to 2014. It comprises four separate data sets:

Comma-separated files can be downloaded from here.

Installation & Usage

The package can be from this Github repository:

#install.packages("devtools")
devtools::install_github("crubba/NZelection")

After installation, you obtain access to the data by typing:

library(NZelection)

data("nze_votes")
data("nze_splitvotes")
data("nze_pollingplaces")
data("nze_candidates")

Citation

If you use the datasets provided through this package, please consider citing them. For citation information type

citation("NZelection")


crubba/NZelection documentation built on May 14, 2019, 12:05 p.m.