firstpref_pollingbooth_download: Download first preference voting data from each polling...

Description Usage Arguments Format Value Examples

View source: R/git-download.R

Description

Download first preference voting data from each polling booth, from the six Australian Federal elections between 2001 and 2016.

Usage

1

Arguments

...

Additional arguments passed to 'download.file'

Downloads and returns first preference votes for candidates in the House of Representatives, for each polling both, in the seven Australian Federal elections between 2001 and 2016.

Format

A data frame with the following variables:

Value

A data frame containing first preference votes

A dataset containing first preference vote counts, candidate names, polling place locations, and other results for the House of Representatives from the 2001, 2004, 2007, 2010, 2013 and 2016 Australian federal elections. This data set is obtained using the 'firstpref_pollingbooth_download' function. The data were obtained from the Australian Electoral Commission.

Examples

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

## End(Not run)

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