## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
if (FALSE) {
loc <- data.frame(id = "001", lon = -78.90, lat = 35.97)
calculate_ecoregion(
from = ecoregion, # derived from process_ecoregion() example
locs = loc,
locs_id = "id",
geom = FALSE
)
}
Run the code above in your browser using DataLab