Learn R Programming

dataRetrieval (version 2.7.4)

readNGWMNsites: Retrieve site data from the National Ground Water Monitoring Network http://cida.usgs.gov/ngwmn/.

Description

Retrieve site data from the National Ground Water Monitoring Network http://cida.usgs.gov/ngwmn/.

Usage

readNGWMNsites(siteNumbers)

Arguments

siteNumbers

character Vector of feature IDs formatted with agency code and site number separated by a period or semicolon, e.g. USGS.404159100494601.

Value

A data frame the following columns: #'

Name Type Description
site char Site FID
description char Site description
dec_lat_va, dec_lon_va numeric Site latitude and longitude

Examples

Run this code
# NOT RUN {
#one site
site <- "USGS.430427089284901"
oneSite <- readNGWMNsites(siteNumbers = site)

#multiple sites
sites <- c("USGS:272838082142201","USGS:404159100494601", "USGS:401216080362703")
multiSiteInfo <- readNGWMNsites(sites)

#non-USGS site
site <- "MBMG.892195"
siteInfo <- readNGWMNsites(siteNumbers = site)

# }

Run the code above in your browser using DataLab