getDataVar: Get Data from WS2 and formate them

Description Usage Arguments Value Examples

Description

Get Data from WS2 and formate them

Usage

1
getDataVar(varURI, variableList, token)

Arguments

varURI

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

variableList

from variableList

token

a token from getToken function

Value

WSResponse

Examples

1
2
3
4
5
6
7
8
initializeClientConnection(apiID="ws_private", url = "www.opensilex.org/openSilexAPI/rest/")
 aToken <- getToken("guest@opensilex.org","guest")
 token <- aToken$data
 varPrettyTot <- variableList(token = token)
 getDataVar(varURI = listVariables(token,
                  wsUrl="www.opensilex.org/openSilexAPI/rest/")$value[1],
                  variableList = varPrettyTot,
                  token = token)

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