Learn R Programming

SWMPr (version 2.1.5)

all_params: Import current station records from the CDMO

Description

Import current station records from the CDMO starting with the most current date

Usage

all_params(station_code, Max = 100, param = NULL, trace = TRUE)

Arguments

station_code
chr string of station, 7 or 8 characters
Max
numeric value for number of records to obtain from the current date
param
chr string for a single parameter to return, defaults to all parameters for a station type.
trace
logical indicating if import progress is printed in console

Value

Returns a swmpr object, all available parameters including QAQC columns

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. Function is the CDMO equivalent of exportAllParamsXMLNew but actually uses all_params_dtrng, which is a direct call to exportAllParamsDateRangeXMLNew.

See Also

all_params_dtrng, single_param

Examples

Run this code

## Not run: 
# 
# ## all parameters for a station, most recent
# all_params('hudscwq')
# 
# ## End(Not run)

Run the code above in your browser using DataLab