View source: R/pcode_to_name.R
pcode_to_name | R Documentation |
This function is useful to fine what characteristic name, result sample fraction, unit code, and other parameters are mapped with USGS parameter codes. This information is useful for converting workflows from a more traditional NWIS water quality retrieval to a Water Quality Portal retrieval.
pcode_to_name(parameterCd = "all")
parameterCd |
character that contains the code for a character vector of 5-digit parameter codes. Default is "all" which will return a complete list of parameter codes that have been mapped to a characteristic name. |
a data frame with columns "parm_cd", "description", "characteristicname", "measureunitcode", "resultsamplefraction", "resulttemperaturebasis", "resultstatisticalbasis", "resulttimebasis", "resultweightbasis", "resultparticlesizebasis", "last_rev_dt"
pcodes <- c("00070", "00075", "00430", "52642")
all <- pcode_to_name()
some <- pcode_to_name(pcodes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.