Learn R Programming

dataRetrieval (version 2.7.11)

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

Description

Retrieve site data from the National Ground Water Monitoring Network https://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)   

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

# }

Run the code above in your browser using DataLab