last_tuesday {tidytuesdayR} | R Documentation |
Find the most recent tuesday
Description
Identify the most recent 'TidyTuesday' date relative to a specified date.
Usage
last_tuesday(date = today(tzone = "America/New_York"))
Arguments
date |
A date as a date object or character string in |
Value
The TidyTuesday date in the same week as the specified date, using Monday as the start of the week.
Examples
last_tuesday() # get last Tuesday relative to today's date
last_tuesday("2020-01-01") # get last Tuesday relative to a specified date
[Package tidytuesdayR version 1.1.2 Index]