json_to_ts {timeseriesdb}R Documentation

Convert JSON Representation of a Time Series into R Time Series Objects

Description

This function is not exported.

Usage

json_to_ts(jsn, as.dt = FALSE)

Arguments

jsn

JSON string to convert

as.dt

boolean Should the result be returned as a data.table?

Value

R time series representation of class ts, xts or data.table depending on parameter setting and nature of time series. Regular time series can be returned as 'ts' objects whereas irregular time series use 'xts' objects.


[Package timeseriesdb version 1.0.0-1.1.2 Index]