tt_download | R Documentation |
Download all or specific files identified in a TidyTuesday dataset.
tt_download(tt, files = "All", ..., auth = gh::gh_token())
tt |
A |
files |
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. |
auth |
A GitHub token. See |
A list of tibbles from the downloaded files.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.