Learn R Programming

dataRetrieval (version 1.4.0)

getNWISSites: Site Data Import from NWIS

Description

Returns a list of sites from the NWIS web service. This function gets the data from: http://waterservices.usgs.gov/rest/Site-Test-Tool.html. Arguments to the function should be based on http://waterservices.usgs.gov/rest/Site-Service.html#Service Mapper format is used

Usage

getNWISSites(...)

Arguments

Value

retval dataframe with agency_cd, site_no, station_nm, site_tp_cd, dec_lat_va, and dec_long_va.

Examples

Run this code
# NOT RUN {
siteListPhos <- getNWISSites(stateCd="OH",parameterCd="00665")
# }

Run the code above in your browser using DataLab