Skip to content

Datasets

scgElectionsNZ comes with the below datasets. For ease, they have been been divided into two categories, referring to the data level (National-level or Electorate-leve).

National-level

National-level datasets include both post-MMP and pre-MMP datasets.

summary
Summary (1996 - 2023)
split_total
Split Total (2005 - 2023)
preMMP_results
Pre-MMP Results (1890 - 1993)
turnout_historic
Turnout (Historic) (1879 - 2023)

Electorate-level

Electorate-level datasets include both post-MMP datasets only.

turnout
Turnout (1996 - 2023)
vote_type
Vote Type (1996 - 2023)
party_votes
Party Votes (1996 - 2023)
candidate_votes
Candidate votes for successful registered parties (1996 - 2023)
majority
Majority (1999 - 2023)
split_electorate
Split Electorate (2005 - 2023)

Helper Functions

Functions to add help with the datasets.

add_data()
Add New Zealand Regions or Electorate Type to Electorates in a Data Frame
update_names()
Update Electorate or Party Names in a Dataset

Visualisations

Functions to visualise the data.