Description Usage Arguments Value Examples
Given a California address or longitude/latitude coordinates,
find_location_county
returns the corresponding California county or
PUR code.
1 | find_location_county(locations, return = "name", ...)
|
locations |
A vector of character strings. Each location should be either a California address including street name, city, state, and 5-digit zip code, or a pair of coordinates in the form "longitude, latitude". |
return |
Either "name" to return county name (the default), "pur_code" to return PUR county code, or "fips_code" to return the FIPS county code. |
... |
Used internally. |
A character string giving the California county where the address or
coordinate pair given in location
is located.
1 2 3 | address <- "13883 Lassen Ave, Helm, CA 93627"
long_lat <- c("-120.09789, 36.53379")
find_location_county(c(address, long_lat))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.