powered by
Download an actual data file from the TidyTuesday github repository.
tt_download_file(tt, x, ..., auth = gh::gh_token())
tibble containing the contents of the file downloaded from git
A tt object, output from tt_load_gh().
tt
tt_load_gh()
Index or name of file to download.
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() tt_gh <- tt_load_gh("2019-01-15") agencies <- tt_download_file(tt_gh, 1) launches <- tt_download_file(tt_gh, "launches.csv") }
Run the code above in your browser using DataLab