Code Monkey home page Code Monkey logo

auspol's Introduction

auspol

Lifecycle: experimental R-CMD-check auspol status badge

auspol provides result data for the Australian Federal Elections, from 2004 onwards, direclty from R. Along with functions to access the data, this package also provides functions to provide summaries tables and plots. The current version provides election data for the House of Representatives.

All the data is contained as a release (here) in Apache Parquet format, so it can be used directly in any programming language/tool/platform that supports Parquet.

Installation and pre-requisites

The current version of this package (0.0.1.0000) is not yet in CRAN. To install the package, you can download it from Github:

devtools::install_github("carlosyanez/auspol")

Alternatively, install from r-universe:


# Enable this universe
options(repos = c(
    carlosyanez = 'https://carlosyanez.r-universe.dev',
    CRAN = 'https://cloud.r-project.org'))

# Install some packages
install.packages('auspol')

How to use

This package provides a series of functions to access the data as published by the AEC, as well as convenience functions to retrieve summaries and produce standard plots. For reference on how to check the articles.

Disclaimer

This package's data has been sourced from the Australian Electoral Commission's website. However, data is provided here with no guarantees of accuracy.

The Australian Electoral Commission is the authoritative source of election data. Should you need to certify the authenticity or correctness of the data, you should retrieve the results directly from the AEC's website.

The GitHub repository contains the raw data processing scripts in the data-raw folder.

Issues? bugs? Ideas?

If you find something that is not quite right, please post an issue.f you have any ideas, or requests, or if you want to contribute, please let me know!

To Do

This package is still under development. At the moment, it only contains data for the House of Representatives.

Credits

Acknowledgment of Country

The author of this package acknowledges the Aboriginal and Torres Strait Islander people as the traditional custodians of Australia, and pays respect to their Elders past, present and emerging.

auspol's People

Contributors

carlosyanez avatar dgkf avatar

Watchers

 avatar James Cloos avatar

Forkers

dgkf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.