Description Usage Arguments Value Author(s) Examples
View source: R/wtss_time_series.R
Converts data from a tibble to a list of a zoo series.
1 | 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
1 2 3 4 5 6 7 8 9 10 | {
# connect to a WTSS server
wtss <- wtss::WTSS("http://www.esensing.dpi.inpe.br/wtss/")
# retrieve a time series
ts_wtss <- wtss::time_series(wtss, "MOD13Q1", c("ndvi","evi"),
longitude = -45.00, latitude = -12.00,
start_date = "2000-02-18", end_date = "2016-12-18")
# convert to zoo
zoo.lst <- wtss::wtss_to_zoo(ts_wtss)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.