wtss_to_zoo {Rwtss} | R Documentation |
Export data to be used to the zoo format
Description
Converts data from a tibble to a list of a zoo series.
Usage
wtss_to_zoo(data, band = NULL)
Arguments
data |
A tibble with time series. |
band |
Name of the band to be exported (if NULL all bands are exported). |
Value
List of time series in zoo format.
Author(s)
Gilberto Camara, gilberto.camara@inpe.br
Examples
## 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)
[Package Rwtss version 0.9.2 Index]