aoi_get | R Documentation |
Generate a spatial geometry from:
aoi_get(
x = NULL,
country = NULL,
state = NULL,
county = NULL,
fip = NULL,
zipcode = NULL,
union = FALSE
)
x |
|
country |
|
state |
|
county |
|
fip |
a 2 or 5 digit US fip code |
zipcode |
a US zip code. Will return a centroid. |
union |
|
a sf geometry projected to EPSG:4326.
## Not run:
# Get AOI for a country
aoi_get(country = "Brazil")
# Get AOI defined by a state(s)
aoi_get(state = "CA")
aoi_get(state = c("CA", "nevada"))
# Get AOI defined by all states, or the lower 48
aoi_get(state = "all")
aoi_get(state = "conus")
# Get AOI defined by state & county pair(s)
aoi_get(state = "California", county = "Santa Barbara")
aoi_get(state = "CA", county = c("Santa Barbara", "ventura"))
# Get AOI defined by state & all counties
aoi_get(state = "California", county = "all")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.