Description Usage Arguments Value Examples
View source: R/loc_onlineinfo.R
Downloads required data for spatial locations in order to run model.
1 | ll2webdata(coords, years, model = "7_4")
|
coords |
An sf object with coordinates. |
years |
Years of woody cover to use. |
model |
A character code providing the model for which data to acquire |
A dataframe with columns of woody500m each year, and climatic information.
1 2 3 4 | locations <- read.csv("./private/data/clean/site_locations_cleaned.csv")
locs <- sf::st_as_sf(locations, coords = c("MeanLON", "MeanLAT"), crs = 4326)
coords <- locs[ locs$StudyCode == "Nanangroe Natural Experiment", ]
fromwebdata <- ll2webdata(coords, 2017:2019)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.