Learn R Programming

dataRetrieval (version 2.7.11)

stateCd: US State Code Lookup Table

Description

Data originally pulled from https://www2.census.gov/geo/docs/reference/state.txt on April 1, 2015. On Feb. 11, 2022, the fields were updated with the file found in inst/extdata, which is used internally with NWIS retrievals.

Arguments

Value

stateCd data frame.

Name Type Description
STATE character FIPS State Code
STUSAB character Official United States Postal Service (USPS) Code
STATE_NAME character State Name
STATENS character Geographic Names Information System Identifier (GNISID)

Examples

Run this code
# NOT RUN {
head(stateCd)
# }

Run the code above in your browser using DataLab