auseconhist icon indicating copy to clipboard operation
auseconhist copied to clipboard

Historical Australian economic data

auseconhist

R build
status Lifecycle:
experimental Travis build
status

This R package provides convenient access to historical economic data from Australia, collated from various sources.

Installation

Install from GitHub with:

# install.packages("devtools")
devtools::install_github("MattCowgill/auseconhist")

Usage

The seven appendix tables of Butlin, Dixon and Lloyd 2014 are available as butlin_t1, butlin_t2, and so on. They are tibbles in ‘wide’ (ie. un-tidy) format, as in the source document.

Here’s what table 1 looks like:

library(auseconhist)

head(butlin_t1)
#>   year rgdp ag_share mining_share manuf_share other_share
#> 1 1801   35       30            0           3          67
#> 2 1802   38       46            0           1          53
#> 3 1803   39       44            0           7          49
#> 4 1804   43       37            0           2          61
#> 5 1805   48       47            0           2          52
#> 6 1806   52       46            0           0          54

The variable names are short(ish) and use snake_case. For information about the variables, see the dataset’s documentation, with ?butlin_t1, ?butlin_t2, etc.

Status

This package is in ‘experimental’ stage. Objects may change name. The package may be merged with another, such as strayr. Please save local versions of any data you use in a script that you need to be reproducible.

Disclaimer

The data included in this package is reproduced from the source documents as noted in the objects’ help files.