tt_check_date {tidytuesdayR}R 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.


[Package tidytuesdayR version 1.2.1 Index]