Learn R Programming

SWTools (version 1.1.0)

VeneerGetTS: 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")

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

Arguments

TSURL,

the URL of the time series to retrieve

baseURL

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

Examples

Run this code
if (FALSE) {
VeneerGetTS("/runs/latest/location/EndofSystem/element/Downstream Flow/variable/Flow")
}

Run the code above in your browser using DataLab