Learn R Programming

SWMPr (version 2.1.5)

single_param: 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

Value

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

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: http://cdmo.baruch.sc.edu/webservices.cfm. This function is the CDMO equivalent of exportSingleParamXML.

See Also

all_params, all_params_dtrng

Examples

Run this code

## Not run: 
# 
# ## single parameter for a station, most recent
# single_param('hudscwq', 'do_mgl')
# 
# ## End(Not run)

Run the code above in your browser using DataLab