VeneerGetTS: Get a time series result from Source using Veneer

View source: R/Veneer.R

VeneerGetTSR Documentation

Get a time series result from Source using Veneer

Description

Get a time series result from Source using Veneer

Usage

VeneerGetTS(TSURL, baseURL = "http://localhost:9876")

Arguments

TSURL

the URL of the time series to retrieve

baseURL

URL of the Veneer server. Defaults to the veneer default.

Value

a zoo time series of the data

The URL of the time series must be specified, by interrogation using a browser or other analysis. By default Source returns SI units. Some conversion is undertaken:

  • Flow converted to ML/d

  • Volume converted to ML

  • Area converted to ha

Spaces are OK, like in the example below (dont need to insert %20 for example).

Examples

## Not run: 
VeneerGetTS("/runs/latest/location/EndofSystem/element/Downstream Flow/variable/Flow")

## End(Not run)


matt-s-gibbs/swtools documentation built on Oct. 17, 2024, 11:39 a.m.