Learn R Programming

WaterML (version 1.7.1)

GetVariables: GetVariables

Description

This function gets the table of variables from the WaterML web service

Usage

GetVariables(server)

Arguments

server
The URL of the web service ending with ?WSDL, for example: http://worldwater.byu.edu/app/index.php/rushvalley/services/cuahsi_1_1.asmx?WSDL

Value

a data.frame of variables with the following columns:
VariableCode character
Short code of the variable FullVariableCode
character The full variable code, for example: SNOTEL:897. Use this value as the variableCode parameter in GetValues() function.
VariableName character
The name of the variable ValueType
character the type of observation: Field Observation or Derived Value
DataType character
the aggregate data type: Average, Continuous, Sporadic.. GeneralCategory
character the general category of the measurements: Climate, Water Quality..
SampleMedium character
the sample medium, for example water, atmosphere, soil.. UnitName
character The name of the measurement units
UnitType character
the type of the measurement units UnitAbbreviation
character The abbreviation of the measurement units (m, cm, in..)
NoDataValue numeric
The value that indicates missing data IsRegular
boolean TRUE if the measurements are regular, FALSE otherwise
TimeUnitName character
The name of the time units TimeUnitAbbreviation
character The time units abbreviation
TimeSupport character
The length of the time period over which one measurement is taken Speciation
character The chemical sample speciation (as nitrogen, as phosphorus..)

Examples

Run this code
GetVariables("http://worldwater.byu.edu/app/index.php/rushvalley/services/cuahsi_1_1.asmx?WSDL")

Run the code above in your browser using DataLab