Learn R Programming

dataRetrieval (version 1.4.0)

getNWISData: General Data Import from NWIS

Description

Returns data from the NWIS web service. Arguments to the function should be based on http://waterservices.usgs.gov service calls.

Usage

getNWISData(service = "dv", ...)

Arguments

service

string. Possible values are "iv" (for instantaneous), "dv" (for daily values), "gwlevels" (for groundwater levels), and "qwdata" (for water quality)

Value

retval dataframe

Examples

Run this code
# NOT RUN {
dataTemp <- getNWISData(stateCd="OH",parameterCd="00010")
dataTempUnit <- getNWISData(sites="03086500", service="iv", parameterCd="00010")
# }

Run the code above in your browser using DataLab