coords_to_fips | R Documentation |
Associate a set of coordinates to FIPS codes
coords_to_fips(x, ...)
## S3 method for class 'sf'
coords_to_fips(x, ...)
## S3 method for class 'sfc'
coords_to_fips(x, ...)
## S3 method for class 'sfg'
coords_to_fips(x, ...)
## S3 method for class 'list'
coords_to_fips(x, ...)
## S3 method for class 'data.frame'
coords_to_fips(x, coords = c(1, 2), ...)
## S3 method for class 'matrix'
coords_to_fips(x, coords = c(1, 2), ...)
## S3 method for class 'character'
coords_to_fips(x, y, ...)
## S3 method for class 'numeric'
coords_to_fips(x, y, ...)
x |
|
... |
Named arguments passed on to methods |
coords |
Coordinates columns if |
y |
Latitude in EPSG:4326 |
a character
vector of FIPS codes
# Some coordinates at UC Santa Barbara
coords_to_fips(x = -119.8696, y = 34.4184)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.