powered by
Download all or specific files identified in a TidyTuesday dataset.
tt_download(tt, files = "All", ..., auth = gh::gh_token())
A list of tibbles from the downloaded files.
A tt object, output from tt_load_gh().
tt
tt_load_gh()
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.
gh::gh_token()
if (FALSE) { # interactive() # Get the list of files for a week. tt_output <- tt_load_gh("2019-01-15") # Download a specific file. agencies <- tt_download(tt_output, files = "agencies.csv") }
Run the code above in your browser using DataLab