hilltopMeasurement: Hilltop Measurement Request As A Data Frame.

View source: R/hillr_measurements.R

hilltopMeasurementR Documentation

Hilltop Measurement Request As A Data Frame.

Description

hilltopMeasurement returns a timeseries with measurement metadata.

Usage

hilltopMeasurement(xmldata)

Arguments

xmldata

An XML document, returned from a url request using anyXmlParse.

Details

Main function that converts a Hilltop XML document from a anyXmlParse(url) request such as xmldata<-anyXmlParse(url) for a water quality measurement into a dataframe that contains the measurement information. It returns a dataframe of the data for each timestamp, including DataSource Information and the Site Name. Combines the results of the hilltopMeasurementToDF(xmldata) and hilltopDataSourceToDF(xmldata) functions. This dataframe can be merged with a WQ Sample dataframe processed using hilltopMeasurementToDF.

Value

A dataframe of measurement data and metadata from the Hilltop datasource.


jeffcnz/hillr documentation built on Nov. 21, 2024, 11:58 p.m.