Description Usage Arguments Examples
Function to simplify finding state and state code definitions. Used in readNWISdata
and readWQPdata
.
1 | stateCdLookup(input, outputType = "postal")
|
input |
could be character (full name, abbreviation, id), or numeric (id) |
outputType |
character can be "postal","fullName","tableIndex", or "id". |
1 2 3 4 5 6 7 | fullName <- stateCdLookup("wi", "fullName")
abbriev <- stateCdLookup("Wisconsin", "postal")
id <- stateCdLookup("WI", "id")
name <- stateCdLookup(55, "fullName")
index <- stateCdLookup("WI", "tableIndex")
stateCd[index,]
stateCdLookup(c("West Virginia", "Wisconsin", 200, 55, "MN"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.