plotVar: Plot Environmental Data

Description Usage Arguments Examples

Description

Plot Environmental Data

Usage

1
2
3
plotVar(varURI, startDate = NULL, endDate = NULL, sensor = NULL,
  token, smoothing = FALSE,
  wsUrl = "www.opensilex.org/openSilexAPI/rest/")

Arguments

varURI

uri of the variable to plot from the variableList function or the web service directly

startDate

date from which to plot

endDate

date to which to plot

sensor

uri of the sensor that recorded the values

token

a token from getToken function

smoothing

logical, smoothing of the data

wsUrl

url of the webservice

Examples

1
2
3
4
5
 initializeClientConnection(apiID="ws_private", url = "www.opensilex.org/openSilexAPI/rest/")
 aToken <- getToken("guest@opensilex.org","guest")
 token <- aToken$data
 vars <- variableList(token = token)
 plotVar(vars$value[1], token = token)

niio972/variablesStudy documentation built on May 3, 2019, 3:21 p.m.