View source: R/woody_vals_buffer.R
fetch_woody_cover_meanbuffer | R Documentation |
Extract mean woody cover within buffers for a set of points
fetch_woody_cover_meanbuffer(pts, years, buffers)
pts |
is a set of sf points within roi |
years |
Years of data to acquire |
buffers |
Multiple buffers given in METRES. |
roi |
is an sf object. |
A list corresponding to each buffer distance. In each element each row is a point, each column is a date
locations <- read.csv("./private/data/clean/site_locations_cleaned.csv")[1:2, ] pts <- sf::st_as_sf(locations, coords = c("MeanLON", "MeanLAT"), crs = 4326)[1:2, ] years <- 2000:2001 buffers <- c(100, 500) global_muffle_discarddatumwarn() fetch_woody_cover_meanbuffer(pts, years, buffers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.