election_results: election_results

Description Usage Arguments Examples

Description

Imports data on general election results

Usage

1
election_results(resultType = c("all", "ID"))

Arguments

resultType

Accepts the arguments 'all' and 'ID'

all

Returns general and by-election resuls for each consituency from the 2010 general election onwards.

ID

Returns general and by-election resuls for each consituency from the 2010 general election onwards.

Examples

1
2
3
4
5
6
## Not run: 
x <- election_results('all')

x <- election_results('ID')

## End(Not run)


Search within the hansard package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.