tt_check_date: Generate valid TidyTuesday URL

View source: R/tt_check_date.R

tt_check_dateR Documentation

Generate valid TidyTuesday URL

Description

Given multiple types of inputs, generate a valid TidyTuesday URL.

Usage

tt_check_date(x, week = NULL, auth = gh::gh_token())

Arguments

x

The date of data to pull (in "YYYY-MM-dd" format), or the four-digit year as a number.

week

Which week number to use within a given year. Only used when x is a valid year.

auth

A GitHub token. See gh::gh_token() for more details.


tidytuesdayR documentation built on Sept. 14, 2024, 9:08 a.m.