geotype | R Documentation |
Tries to interpret vector of one or more FIPS codes and/or names of geographies.
geotype(x, cleancounties = TRUE)
x |
Required vector of one or more numeric or character FIPS and/or names of geographic locations.
Allowed types are State, County (or equivalent), tract, block group, and block.
Names for tracts, blockgroups, and blocks are not provided or interpreted.
FIPS codes here are all the relevant digits starting with the 2-character state FIPS,
so county fips must be 4-5 digits or characters for example (leading zeroes are inferred where
possible and included in outputs). See |
cleancounties |
whether to try to validate county FIPS based on list that ideally is always up to date |
***TBD *** Returns *** types as character strings, and maybe cleaned values themselves? ***
geofips()
, get.fips.st()
and related functions noted there, clean.fips()
, get.state.info()
# none yet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.