Skip to content
Snippets Groups Projects
Commit 492d299d authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Added help.

parent 8dd9d174
No related branches found
No related tags found
1 merge request!117More tz and state code updates.
% Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/readNWISdata.r
\name{stateCdLookup}
\alias{stateCdLookup}
\title{State code look up}
\usage{
stateCdLookup(input, outputType = "postal")
}
\arguments{
\item{input}{could be character (full name, abbreviation, id), or numeric (id)}
\item{outputType}{character can be "postal","fullName","tableIndex", or "id".}
}
\description{
Function to simplify finding state and state code definitions. Used in \code{readNWISdata}
and \code{readWQPdata}.
}
\examples{
fullName <- stateCdLookup("wi", "fullName")
abbriev <- stateCdLookup("Wisconsin", "postal")
id <- stateCdLookup("WI", "id")
name <- stateCdLookup(55, "fullName")
index <- stateCdLookup("WI", "tableIndex")
stateCd[index,]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment