Nothing
#' Check if aoi is an sf or sp type object
#' If sp, convert to sf and return
#' @param aoi the area of interest object
#' @import sf
#' @NoRd
check_aoi <- function(aoi) {
if (is(aoi, 'SpatialPolygonsDataFrame')){
suppressWarnings(aoi <- st_as_sf(aoi))
} else{
return(aoi)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.