get_ausmacrodata: Read data from ausmacrodata.org

Description Usage Arguments Author(s) Examples

View source: R/ausmacrodata.R

Description

get_ausmacrodata returns a time series data set from http://ausmacrodata.org.

Usage

1

Arguments

dataset

a URL for a specific data set on ausmacrodata.org, or an id for a data set.

format

The desired format for the object to be returned. Possible values are ts, xts and tibble. By default a ts object is returned for quarterly, monthly or annual data, and an xts object is returned for daily data.

Author(s)

Rob J Hyndman

Examples

1
2
3
4
5
6
7
8
# Read quarterly Australia GDP using full URL
y <- get_ausmacrodata("http://ausmacrodata.org/series.php?id=gdpcknaasaq")
plot(y)

# Read daily cash rate target interest rate using only series ID
z <- get_ausmacrodata('crtdoirymmdir')
library(xts)
plot(z)

AU-BURGr/ozdata documentation built on Oct. 30, 2017, 12:54 a.m.