
Last chance! 50% off unlimited learning
Sale ends in
Load TidyTuesday data from Github
tt_load(x, week = NULL, files = "All", ..., auth = gh::gh_token())
tt_data
object, which contains data that can be accessed via $
,
and the readme for the week's TidyTuesday, which can be viewed by printing
the object or calling readme()
.
The date of data to pull (in "YYYY-MM-dd" format), or the four-digit year as a number.
Which week number to use within a given year. Only used when x
is a valid year.
Which file names to download. Default "All" downloads all files for the specified week.
Additional parameters to pass to the parsing functions. Note: These arguments will be passed for all filetypes.
A GitHub token. See gh::gh_token()
for more details.
if (FALSE) { # interactive()
tt_output <- tt_load("2019-01-15")
tt_output
agencies <- tt_output$agencies
}
Run the code above in your browser using DataLab