header_tag.html

Skip to contents

Imports data from NWIS about measured parameter based on user-supplied parameter code or codes.

Usage

readNWISpCode(parameterCd, override_error = FALSE)

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.

override_error

Logical parameter that allows users to run this function during the final stages of NWIS decommission. NWIS servers will be taken offline February 22nd, 2027. Setting this parameter to TRUE should only be used as a tool to convert readNWIS to read_waterdata functions.

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