open_spending.ts: Read and analyze univariate time series data from Open...

Description Usage Arguments Details Value Author(s) See Also

View source: R/open.spending.ts.R

Description

Extract and analyze univariate time series data from Open Spending API, using the ts.analysis function.

Usage

1
2
open_spending.ts(json_data, time, amount, 
order = NULL, prediction_steps = 1)

Arguments

json_data

The json string, URL or file from Open Spending API

time

Specify the time label of the json time series data

amount

Specify the amount label of the json time series data

order

An integer vector of length 3 specifying the order of the Arima model

prediction_steps

The number of prediction steps

Details

This function extracts the time series data provided by the Open Spending API, in order to return the results from the ts.analysis function.

Value

A json string with the resulted parameters of the ts.analysis function.

Author(s)

Kleanthis Koupidis

See Also

ts.analysis


okgreece/TimeSeries.OBeu documentation built on Sept. 7, 2021, 7:21 p.m.