time_series: Get time series

Description Usage Arguments Value Author(s) Examples

View source: R/wtss_time_series.R

Description

Retrieves the time series for a pair of coordinates

Usage

1
2
3
4
5
6
7
8
9
time_series(
  wtss.obj,
  name,
  attributes = NULL,
  longitude,
  latitude,
  start_date = NULL,
  end_date = NULL
)

Arguments

wtss.obj

Either a WTSS object or a server URL

name

Coverage name.

attributes

Vector of band names.

longitude

Longitude in WGS84 coordinate system.

latitude

Latitude in WGS84 coordinate system.

start_date

Start date in the format yyyy-mm-dd or yyyy-mm depending on the coverage.

end_date

End date in the format yyyy-mm-dd or yyyy-mm depending on the coverage.

Value

time series in a tibble format

Author(s)

Gilberto Camara

Examples

1
2
3
4
5
6
7
8
{
# connect to a WTSS server
wtss <- wtss::WTSS("http://www.esensing.dpi.inpe.br/wtss/")
# retrieve a time series
ts   <- wtss::time_series(wtss, "MOD13Q1", c("ndvi","evi"), 
                longitude = -45.00, latitude  = -12.00,
                start_date = "2000-02-18", end_date = "2016-12-18")
}

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