dot-check_dates: Check specified dates and arrange for download

.check_datesR Documentation

Check specified dates and arrange for download

Description

This function is used to check if the user specified dates can be coerced to dates. Additionally, it arranges the dates based on the user wants a full time series or seasonal periods between different years.

Usage

.check_dates(after, before, timeframe)

Arguments

after

A length one character vector in the form ' the earliest date (inclusive) included in the temporal extent.

before

A length one character vector in the form ' the latest date (inclusive) included in the temporal extent.

timeframe

A length one character vector indicating whether the query should return the complete time series between 'after' and 'before' or if the query should be based on seasons. Possbile values are 'full' and 'seasonal'. Defaults to 'full'.

Value

A data-frame with one row for 'timeframe = "full"' and multiple rows depending on the number of years between 'after' and 'before' if 'timeframe = "seasonal"'.

Author(s)

Darius Görgen (MapTailor Geospatial Consulting GbR) info@maptailor.net
Maintainer: MAPME-Initiative contact@mapme-initiative.org
Contact Person: Dr. Johannes Schielein
Copyright: MAPME-Initiative
License: GPL-3


mapme-initiative/mapme.vegetation documentation built on Feb. 10, 2023, 10:51 p.m.