twoparty_pollingbooth_download: Download two party preference voting data from each polling...

Description Usage Arguments Format Value Examples

View source: R/git-download.R

Description

Download two party preference voting data from each polling booth, from the seven Australian Federal elections between 2001 and 2016.

Usage

1

Arguments

...

Additional arguments passed to 'download.file'

Downloads and returns the two party preferred votes for candidates in the House of Representatives, for each polling both, in the six Australian Federal elections between 2001 and 2016.

Format

A data frame with the following variables:

Value

A data frame containing two party preference votes

A dataset containing two party preferred vote counts, winning candidate names, polling place locations, and other results for the House of Representatives from each of the 2001, 2004, 2007, 2010, 2013 and 2016 Australian federal elections. Includes the count of votes for the Australian Labor Party and the count of votes for the Liberal-National Coalition for each polling place. This data set is obtained using the 'twoparty_pollingbooth_download' function. The data were obtained from the Australian Electoral Commission.

Examples

1
2
3
4
5
6
## Not run: 
tpp_pp <- twoparty_pollingbooth_download()
library(dplyr)
tpp_pp %>% filter(year == 2016) %>% arrange(-LNP_Percent) %>% head

## End(Not run)

eechidna documentation built on Feb. 25, 2021, 5:08 p.m.