Description Usage Arguments Value Examples
Given a vector of counties, find_counties
returns either PUR
county codes or names.
1 | find_counties(counties, return = "pur_codes")
|
counties |
A vector of character strings giving either a county names,
two digit PUR county codes, or six-digit FIPS county codes. Not case
sensitive. California names and county codes as they appear in PUR data sets
can be found in the |
return |
Either "pur_codes" to return PUR county codes (the default), "fips_codes" to return FIPS county codes, or "names" to return county names. |
If return = "pur_codes"
, a vector of two-character strings giving
the corresponding PUR county codes. If return = "fips_codes"
, a vector
of six-digit character strings giving the corresponding FIPS county codes.
If return = "names"
, a vector of county names.
1 2 3 | find_counties(c("01", "06005", "el dorado"))
find_counties(c("01", "06005", "el dorado"), return = "fips_codes")
find_counties(c("01", "06005", "el dorado"), return = "names")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.