Skip to contents

For weeks between the given dates, gets the date of the first and last day of each week.

Usage

get_week_date_range(start = NULL, end = NULL, type = NULL)

Arguments

start

A string, start of the period to be included in the dimension.

end

A string, end of the period to be included in the dimension.

type

A string, type of calendar (NULL, 'iso', 'epi' or 'time').

Value

A tibble.

Examples


t <- get_week_date_range(start = "2024-01-01", end = "2029-12-31")