single_param: Get CDMO records for a single parameter

View source: R/single_param.R

single_paramR Documentation

Get CDMO records for a single parameter

Description

Get stations records from the CDMO for a single parameter starting with the most current date

Usage

single_param(station_code, param, Max = 100, trace = TRUE)

Arguments

station_code

chr string of station, 7 or 8 characters

param

chr string for a single parameter to return.

Max

numeric value for number of records to obtain from the current date

trace

logical indicating if import progress is printed in console

Details

This function retrieves data from the CDMO through the web services URL. The computer making the request must have a registered IP address. Visit the CDMO web services page for more information: https://cdmo.baruch.sc.edu/webservices.cfm. This function is the CDMO equivalent of exportSingleParamXML.

Value

Returns a swmpr object with one parameter. QAQC columns are not provided.

See Also

all_params, all_params_dtrng

Examples


## Not run: 

## single parameter for a station, most recent
single_param('hudscwq', 'do_mgl')


## End(Not run)

SWMPr documentation built on July 26, 2023, 5:20 p.m.