wtss_to_zoo: Export data to be used to the zoo format

Description Usage Arguments Value Author(s) Examples

View source: R/wtss_time_series.R

Description

Converts data from a tibble to a list of a zoo series.

Usage

1

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

 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)
}

wtss documentation built on Jan. 11, 2020, 9:27 a.m.