tidytuesday | R Documentation |
This function sets up a new folder for #tidytuesday challenge within an active project. It creates a directory for the specified year and week, along with sub-directories for data, code, and plots. Template files are also added.
tidytuesday(year, week)
year |
An integer representing the year of the #tidytuesday challenge |
week |
An integer representing the week of interest, from 1 to 52 |
The folder includes:
README.md: plots for #tidytuesday challenge
different folders to hold all data, code, plots of data analysis
templates
A folder containing folders and files for #tidytuesday challenge.
Ensure that this function is called within an active project.
if(interactive()){
tidytuesday(year = 2021, week = 25)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.