auscensus provides a way read data from the Australian Bureau of Statistics Data Packs. The motivation behind the package is to be able to easily being to pull out data points for multiple geographic structures for different censuses. Currently, this package works well with ABS data packs from 2006 to 2021.
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/auscensus")
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('auscensus')
This package provides a series of functions to access them from different censuses. For reference on how to check the articles.
Please note this package is made to interact with the Census Data Packs but does not include them. To get started, please follow this article.
If you find something that is not quite right, please post an issue. If you have any ideas, or requests, or if you want to contribute, please let me know!
- Data has been sourced directly from the Australian Bureau of Statistics. Historical results for all Commonwealth elections are published on the AEC's Tally Room archive.
- Some functions use code written for the {tigris} package, maintained by Kyle Walker.
- Census icons created by noomtah - Flaticon.
The author of this package acknowledges the Boonwurrung/Bunurong and Wurrundjeri Woi Wurrung peoples of the Eastern Kulin Nation as Traditional Owners and Custodians of the land where this package has been created, and pays respect to their Elders past, present and emerging.