tt_date: Get date of TidyTuesday, given the year and week

Description Usage Arguments Examples

View source: R/tt_check_date.R View source: R/last_tuesday.R

Description

Sometimes we don't know the date we want, but we do know the week. this function provides the ability to pass the year and week we are interested in to get the correct date

Usage

1
tt_date(year, week)

Arguments

year

what year of TidyTuesday to use

week

what week of Tidytuesday to use

Examples

1
2
3
if(interactive()){
 tt_date(2019, week = 42)
 }

tidytuesdayR documentation built on Feb. 1, 2022, 9:07 a.m.