Learn R Programming

⚠️There's a newer version (1.4.1) of this package.Take me there.

eechidna (version 1.4.0)

Exploring Election and Census Highly Informative Data Nationally for Australia

Description

Data from the seven Australian Federal Elections (House of Representatives) between 2001 and 2019, and from the four Australian Censuses over the same period. Includes tools for visualizing and analysing the data, as well as imputing Census data for years in which a Census does not occur. This package incorporates data that is copyright Commonwealth of Australia (Australian Electoral Commission and Australian Bureau of Statistics) 2019.

Copy Link

Version

Install

install.packages('eechidna')

Monthly Downloads

58

Version

1.4.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Jeremy Forbes

Last Published

November 8th, 2019

Functions in eechidna (1.4.0)

abs2013

Imputed Australian Census data for the electorates in place at time of the 2013 Federal election
abs2019

Imputed Australian Census data for the electorates in place at time of the 2019 Federal election
abs2006

2006 Australian Census data on all 150 electorates (2004 boundaries)
abs2001

2001 Australian Census data on all 150 electorates
aec_add_carto_f

aec_add_carto_f - computes and binds the cartogram coordinates to original data
abs2016

2016 Australian Census data on all 150 electorates
abs2004

Imputed Australian Census data for the electorates in place at time of the 2004 Federal election
abs2007

Imputed Australian Census data for the electorates in place at time of the 2007 Federal election
abs2011

2011 Australian Census data on all 150 electorates
abs2010

Imputed Australian Census data for the electorates in place at time of the 2010 Federal election
dorling

Produce a Pseudo-Dorling Cartogram.
fp16

2016 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
extract_centroids

Extract centroids from the polygons within a shapefile.
fp01

2001 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
fp13

2013 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
firstpref_pollingbooth_download

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

2004 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
nat_data19

Data and centroids corresponding to the Australian Electorates from 2019
nat_data16

Data and centroids corresponding to the Australian Electorates from 2016
eechidna-package

Exploring Election and Census Highly Informative Data Nationally for Australia
nat_map10

Map of Australian Electorates from 2010
nat_map13

Map of Australian Electorates from 2013
nat_data_download

Download DataFrame containing the data associated with Australian federal electorates
circle

Draw a circle
fp07

2007 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
complete_color

Auto complete (or cut) a vector to a fixed length
fp10

2010 Australian Federal election data: First preference votes for candidates (House of House of Representative for each electorate
nat_data10

Data and centroids corresponding to the Australian Electorates from 2010
nat_data13

Data and centroids corresponding to the Australian Electorates from 2013
aec_carto_f

aec_carto_f - run dorling on data centers
nat_data07

Data and centroids corresponding to the Australian Electorates from 2007
nat_map_download

Download DataFrame containing the polygons of Australian federal electorates
nat_data04

Data and centroids corresponding to the Australian Electorates from 2004
aec_carto_join_f

aec_carto_join_f - bind the cartogram coordinates to original data
mapping_fn

Compute areas of intersection between each election boundary and those in the Census of interest. This is a less refined method than using SA1 centroids.
fp19

2019 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
get_electorate_shapes

Extract shapefiles (of Australian electorates) from raw file into fortified map and data components.
nat_data01

Data and centroids corresponding to the Australian Electorates from 2001
tpp10

2010 Australian Federal election data: Two party preferred votes for candidates (House of Representatives) in each electorate.
nat_map04

Map of Australian Electorates from 2004
tcp13

2013 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
allocate_electorate

Determine which electoral division contains the centroid from each of the Census polygons.
aec_extract_f

aec_extract_f - extract subsets geographically
sF_download

Download SpatialPolygonsDataFrame containing polygons of Australian federal electorates
nat_map07

Map of Australian Electorates from 2007
twocand_pollingbooth_download

Download two candidate preference voting data from each polling booth, from the five Australian Federal elections between 2004 and 2016.
twoparty_pollingbooth_download

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

2016 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
launch_app

Shiny app for exploring census and electorate data
load_shapefile

Load shapefile of Australia into R
tcp01

2001 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
tcp19

2019 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
tcp04

2004 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
nat_map01

Map of Australian Electorates from 2001
tpp13

2013 Australian Federal election data: Two party preferred votes for candidates (House of Representatives) in each electorate.
tpp01

2001 Australian Federal election data: Two party preferred votes for candidates (House of Representatives) in each electorate. where Labor and Liberal parties were the two most popular parties.
weighted_avg_census

Function to compute weighted average of Census information using imputed populations as weights.
tpp19

2019 Australian Federal election data: Two party preferred votes for candidates (House of Representative) in each electorate.
tpp16

2016 Australian Federal election data: Two party preferred votes for candidates (House of Representative) in each electorate.
weighted_avg_census_sa1

Function to compute weighted average of Census information using imputed populations as weights
tcp07

2007 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
nat_map16

Map of Australian Electorates from 2016
tcp10

2010 Australian Federal election data: Two candidate preferred votes for candidates (House of Representatives) in each electorate.
tpp04

2004 Australian Federal election data: Two party preferred votes for candidates (House of Representatives) in each electorate.
tpp07

2007 Australian Federal election data: Two party preferred votes for candidates (House of Representatives) in each electorate.
nat_map19

Map of Australian Electorates from 2019