Package: auspol 0.0.1.0004

auspol: Australian Federal Election Results (2004-2022)

Retrieve Australian Federal Election results for House of Representatives and Senate, from 2004 onwards.

Authors:Carlos Yáñez Santibáñez [aut, cre], Craig Alexander [ths], Kyle Walker [cph], Australian Electoral Commission [cph]

auspol_0.0.1.0004.tar.gz
auspol_0.0.1.0004.zip(r-4.5)auspol_0.0.1.0004.zip(r-4.4)auspol_0.0.1.0004.zip(r-4.3)
auspol_0.0.1.0004.tgz(r-4.4-any)auspol_0.0.1.0004.tgz(r-4.3-any)
auspol_0.0.1.0004.tar.gz(r-4.5-noble)auspol_0.0.1.0004.tar.gz(r-4.4-noble)
auspol_0.0.1.0004.tgz(r-4.4-emscripten)auspol_0.0.1.0004.tgz(r-4.3-emscripten)
auspol.pdf |auspol.html
auspol/json (API)

# Install 'auspol' in R:
install.packages('auspol', repos = c('https://carlosyanez.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/carlosyanez/auspol/issues

On CRAN:

auspolaustraliadataelectionspolitics

33 exports 0.09 score 66 dependencies 28 scripts

Last updated 1 years agofrom:a22f740293. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-winERRORAug 25 2024
R-4.5-linuxERRORAug 25 2024
R-4.4-winERRORAug 25 2024
R-4.4-macERRORAug 25 2024
R-4.3-winERRORAug 25 2024
R-4.3-macERRORAug 25 2024

Exports:auspol_themedata_deletedata_importdata_infodata_updatefind_cachegeom_auspol_bargeom_auspol_linegeom_auspol_lollipopget_house_2PFget_house_2PPget_house_MPsget_house_preferencesget_house_primary_voteget_house_turnoutget_MPsget_preferenceshouse_2PF_plothouse_2PP_comparison_plothouse_2PP_historical_plothouse_preference_flow_datahouse_preference_flow_plothouse_primary_comparison_plothouse_primary_historic_plothouse_primary_vote_summaryhouse_results_historichouse_results_tallylist_divisionslist_partieslist_polling_placeslist_yearsmanage_coloursparty_colours

Dependencies:arrowaskpassassertthatbitbit64cachemclicolorspacecpp11curldplyrfansifarverfastmapforcatsfsgenericsggalluvialggpacketsggplot2ggrepelghgitcredsgluegtablehttrhttr2iniisobandjsonlitelabelinglatticelazyevallifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopensslpiggybackpillarpkgconfigpurrrR6rappdirsRColorBrewerRcpprlangscalesstringistringrsystibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrzip

Elected MPs

Rendered fromhouse_elected.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2022-11-27
Started: 2022-11-14

House of Representatives - Get the data

Rendered fromhouse_getting_data.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2022-11-27
Started: 2022-11-11

House of Representatives - Preferences

Rendered fromhouse_preference_flow.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2022-11-27
Started: 2022-11-07

House of Representatives - Primary Vote

Rendered fromhouse_primary_vote.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2022-11-27
Started: 2022-11-07

Listing the essential data

Rendered fromlists.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2022-11-27
Started: 2022-11-08

Readme and manuals

Help Manual

Help pageTopics
Helper function generate colour paletteauspol_theme
Helper function to update/download datadata_delete
Helper function to update/download datadata_import
Helper function to update/download datadata_info
Helper function to update/download datadata_update
Helper function to find cache folderfind_cache
Bar chart, customised for this package.geom_auspol_bar
Line chart, customised for this package.geom_auspol_line
Lollipop or bar chart, custommised for this package.geom_auspol_lollipop
Two-party preferred flowget_house_2PF
Two-party-preferred summaryget_house_2PP
Elected MPsget_house_MPs get_MPs
Preferencesget_house_preferences get_preferences
Primary vote for House Electionsget_house_primary_vote
Election turn outget_house_turnout
Preferences flow from primary to finalistshouse_2PF_plot
Two Party-Preferred Comparisonhouse_2PP_comparison_plot
Two Party-Preferred Comparisonhouse_2PP_historical_plot
Flow of preferences in a division.house_preference_flow_data
Plot House of reps preferences flowhouse_preference_flow_plot
Plot historical changes in primary votehouse_primary_comparison_plot
Plot primary vote historyhouse_primary_historic_plot
Helper function to download datahouse_primary_vote_summary
Historic Resulshouse_results_historic
Election Tallyhouse_results_tally
Get list of divisionslist_divisions
List all political parties.list_parties
List all polling stationslist_polling_places
Get election years.list_years
Helper function generate colour palettemanage_colours
Named vector with common party colours, with option to add custom/additional valuesparty_colours