get_datetime_seq: Datetime sequence

View source: R/timeseries.R

get_datetime_seqR Documentation

Datetime sequence

Description

Datetime sequence

Usage

get_datetime_seq(
  year,
  tzone,
  resolution_mins,
  fullyear = TRUE,
  start_date = NULL,
  end_date = NULL
)

Arguments

year

integer, year of the datetime sequence

tzone

character, time-zone of the datetime sequence

resolution_mins

integer, interval of minutes between two consecutive datetime values

fullyear

boolean, whether to return a full-year sequence

start_date

Date, if fullyear is FALSE set a starting date. Ignored when fullyear is TRUE.

end_date

Date, if fullyear is FALSE set a final date. Ignored when fullyear is TRUE.

Value

vector of datetime values


mcanigueral/dutils documentation built on Jan. 25, 2024, 3:34 p.m.