Description Usage Arguments Details Value Author(s) See Also
View source: R/open.spending.ts.R
Extract and analyze univariate time series data from Open Spending API, using the ts.analysis function.
1 2 | open_spending.ts(json_data, time, amount,
order = NULL, prediction_steps = 1)
|
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 |
This function extracts the time series data provided by the Open Spending API,
in order to return the results from the ts.analysis
function.
A json string with the resulted parameters of the ts.analysis
function.
Kleanthis Koupidis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.