tt_load | R Documentation |
Load TidyTuesday data from Github
tt_load(x, week = NULL, files = "All", ..., auth = gh::gh_token())
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 |
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 |
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()
.
tt_output <- tt_load("2019-01-15")
tt_output
agencies <- tt_output$agencies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.