View source: R/wtss_time_series.R
wtss_to_zoo | R Documentation |
Converts data from a tibble to a list of a zoo series.
wtss_to_zoo(data, band = NULL)
data |
A tibble with time series. |
band |
Name of the band to be exported (if NULL all bands are exported). |
List of time series in zoo format.
Gilberto Camara, gilberto.camara@inpe.br
## Not run: # retrieve a time series wtss_service <- "https://brazildatacube.dpi.inpe.br/wtss/" ts_wtss <- Rwtss::time_series( wtss_service, "MOD13Q1-6", c("NDVI","EVI"), longitude = -45.00, latitude = -12.00, start_date = "2000-02-18", end_date = "2016-12-18", token = "YOUR-BDC-TOKEN") # convert to zoo zoo.lst <- Rwtss::wtss_to_zoo(ts_wtss) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.