json_to_ts: Convert JSON Representation of a Time Series into R Time...

View source: R/json_to_ts.R

json_to_tsR 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.


timeseriesdb documentation built on March 24, 2022, 1:06 a.m.