get_timeseries: get_timeseries

Description Usage Arguments Details Author(s)

Description

Get multiple time series data from a tstp server

Usage

1
2
get_timeseries(con, version, parameter, site, from = NULL, to = NULL,
  parallel = FALSE, cpu = 1, verbose = F, debug = FALSE)

Arguments

con

A tstp.connection object.

version

Query parameter (optional).

parameter

Query parameter (optional).

site

Query parameter (optional).

from

Specifies the first date (%Y-%m-%d).

to

Specifies the last date (%Y-%m-%d).

parallel

logical. Loads timeseries data in parallel.

cpu

Number of CPU's to be used.

verbose

logical. Should informative outputs printed during function evaluation?

debug

logical. For debugging purposes only.

Details

This function is basically a wrapper for tstp_get to get multiple time series with one call. It creates xts-objects for each time series in the current R environment with 'site.parameter.version' syntax. R objects with identical names are overwritten without warning.

Author(s)

Dominik Leutnant


dleutnant/tstpr documentation built on May 15, 2019, 9:18 a.m.