getMinAndMaxYear: Gets the minimum and maximum year for the time dimension...

View source: R/listRaster.R

getMinAndMaxYearR Documentation

Gets the minimum and maximum year for the time dimension values of a WMS Layer.

Description

Gets the minimum and maximum year for the time dimension values of a WMS Layer.

Usage

getMinAndMaxYear(time_dimension_values)

Arguments

time_dimension_values

A string or character vector of date strings that represent the time dimension e.g. can be fetched with wms_layer$getTimeDimension()$values. Can be in the format of "2000-01-01T00:00:00.000Z/2019-01-01T00:00:00.000Z/PT1S" (in which the min year will be 2000 and the max year 2019) or several individual dates, for which the min and max year will be calculated.

Value

A named list with a value for min and max.


malariaAtlas documentation built on Oct. 27, 2023, 9:07 a.m.