parse_period: Check the from/to/period arguments

View source: R/parse_period.R

parse_periodR Documentation

Check the from/to/period arguments

Description

Handle the information of provided date information on the period and provide feedback to the user. Valid combinations of the arguments are: from/to, from/period, to/period, period, from

Usage

parse_period(from = NULL, to = NULL, period = NULL)

Arguments

from

string representing date of datetime object

to

string representing date of datetime object

period

input string according to format required by waterinfo

Value

list with the relevant period/date information

See Also

check_period_format


ropensci/wateRinfo documentation built on July 12, 2022, 12:11 p.m.