decadeMaker: Creates a vector of decadal (10 days) dates

View source: R/decadeMaker.R

decadeMakerR Documentation

Creates a vector of decadal (10 days) dates

Description

This function creates a decadal 10-days dates vector that allows date tagging for decadal (10-days) time series. This type of timeseries is usually used for hydro-meteorological data in the former Soviet Republics. The intra-months decades can be configured as dates at the beginning, middle or end of the decade.

Usage

decadeMaker(s, e, type)

Arguments

s

starting date in YYYY-mm-dd format

e

end date in YYYY-mm-dd format

type

'start' creates starting decade dates, 'end' creates ending decade dates, 'mid' or 'middle creates dates in the middle of a decade.

Value

A sequence of decadal dates

See Also

Other Helper functions: %>%(), aggregate_to_monthly(), cutRaster2Basin(), generateSeqDates(), hyear(), monDateSeq(), posixct2rsminerveChar()


hydrosolutions/riversCentralAsia documentation built on Feb. 7, 2023, 4:50 p.m.