header_tag.html

Skip to contents

Data originally pulled from https://www2.census.gov/geo/docs/reference/codes/files/national_county.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.

Value

countyCd data frame.

NameTypeDescription
STUSABcharacterState abbreviation
STATEcharactertwo-digit ANSI code
COUNTYcharacterthree-digit county code
COUNTY_NAMEcharacterCounty full name
COUNTY_IDcharacterCounty id

Examples

head(countyCd)
#>   STATE COUNTY    COUNTY_NAME STUSAB COUNTY_ID
#> 1    00    000    Unspecified   <NA>      <NA>
#> 2    01    001 Autauga County     AL        H1
#> 3    01    003 Baldwin County     AL        H1
#> 4    01    005 Barbour County     AL        H1
#> 5    01    007    Bibb County     AL        H1
#> 6    01    009  Blount County     AL        H1