last_tuesday: Find the most recent tuesday

View source: R/last_tuesday.R

last_tuesdayR Documentation

Find the most recent tuesday

Description

Utility function to assist users in identifying the most recent 'TidyTuesday' date

Usage

last_tuesday(date = today(tzone = "America/New_York"))

Arguments

date

todays date as a date object or character string in YYYY-MM-DD format.

Examples


last_tuesday() # get last tuesday from todays date
last_tuesday("2020-01-01") # get last tuesday from specified date


thebioengineer/tidytuesdayR documentation built on Jan. 11, 2024, 4:42 a.m.