header_tag.html

Skip to contents

Imports data from NWIS about measured parameter based on user-supplied parameter code or codes. This function gets the data from here: https://nwis.waterdata.usgs.gov/nwis/pmcodes

Usage

readNWISpCode(parameterCd)

Arguments

parameterCd

character of USGS parameter codes (or multiple parameter codes). These are 5 digit number codes. To get a complete list of all current parameter codes in the USGS, use "all" as the input.

Value

parameterData data frame with the following information:

NameTypeDescription
parameter_cdcharacter5-digit USGS parameter code
parameter_group_nmcharacterUSGS parameter group name
parameter_nmcharacterUSGS parameter name
casrncharacterChemical Abstracts Service (CAS) Registry Number
srsnamecharacterSubstance Registry Services Name
parameter_unitscharacterParameter units

See also