Description Usage Arguments Value See Also Examples
View source: R/fips_functions.R
get_county
returns the 3-digit county FIPS code from a complete FIPS
string.
1 | get_county(fips, with_state = FALSE)
|
fips |
A character vector of complete FIPS strings. |
with_state |
Include the 2-digit state code? Default
|
a character vector with the 3-digit county code, unless
with_state = TRUE
in which case a 5-digit state and county code
concatenation.
1 2 | get_county(ctpp_flows$residence[1:10])
get_county(ctpp_flows$residence[1:10], with_state = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.