get_senate_results_by: Obtain senate results

Description Usage Arguments Value Note

Description

Obtain senate results

Usage

1
2
3
get_senate_results_by(year = c("2016", "2013", "2010", "2007", "2004"),
  by = c("division", "polling_place"), state = c("NSW", "VIC", "QLD",
  "SA", "WA", "TAS", "ACT", "NT"))

Arguments

year

The year of the election for which results are desired.

by

Which table of results should be fetched? division for results aggregated up to division; polling_place to obtain the results at each polling place.

state

Which seats are results requested? Setting by = 'division' while selecting a state will ignore the state argument, with a warning.

Value

A data.table of the results.

Note

Connects to AEC website.


HughParsonage/grattanElectionMaps documentation built on May 7, 2019, 5:02 a.m.