The FIPS code(s) of given state
or county
.
If only states are entered, a vector of length equal to the number of states
is returned. If any states are not found or are invalid, NA
is returned in their place.
If a state and county are entered, a single value with the FIPS code
for the given county is returned. If the county is invalid for the given state,
an error is thrown.
If both state
and county
are omitted, the entire list of available FIPS
codes is returned, sorted by the state's abbreviation (e.g. Alaska (AK) comes
before Alabama (AL)).