# rfordatascience/tidytuesday architecture

> Architecture diagram of the GitHub repository rfordatascience/tidytuesday, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rfordatascience/tidytuesday
- Repository: https://github.com/rfordatascience/tidytuesday

## Overview

TidyTuesday is a weekly social data project whose main product is a dated archive of real-world datasets for people to explore and share data-science work. The README describes the participant journey from discovering a weekly post and downloading its data through exploration and sharing, and also calls for future dataset curation. The tree includes a large data archive, a curated-data template, and a set of archived BLS webpage scripts. The README establishes the user workflow; sampled source is limited, so no unshown curation or script wiring is inferred.

Main entry points: [`README.md`](https://github.com/rfordatascience/tidytuesday/blob/main/README.md) (Dataset catalog), [`data`](https://github.com/rfordatascience/tidytuesday/tree/main/data) (Dated data archive), [`data/2021/2021-02-23/bls-all_files/jquery-tools.js`](https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/jquery-tools.js) (jQuery Tools), [`data/curated/template`](https://github.com/rfordatascience/tidytuesday/tree/main/data/curated/template) (Curation template)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dataset["Weekly datasets"]
  node_dataset_catalog["Dataset catalog<br/>[README.md]"]
  node_data_archive["Dated data archive"]
end

subgraph group_community["Participation and curation"]
  node_announcements["Weekly announcements<br/>[README.md]"]
  node_curated_template["Curation template"]
end

subgraph group_webassets["Archived web assets"]
  node_jquery["jQuery library<br/>[jquery-latest.js]"]
  node_jquery_tools["jQuery Tools<br/>[jquery-tools.js]"]
  node_bls_scripts["BLS page scripts<br/>[bls-latest.js]"]
  node_site_analytics["Site analytics"]
  node_federal_analytics["Federal analytics"]
end

node_participant(("Participant"))
node_social_media(("Social media"))
node_exploration(("Data exploration"))
node_shared_work(("Shared work"))

node_social_media -->|"posts weekly"| node_announcements
node_participant -->|"browses"| node_dataset_catalog
node_dataset_catalog -->|"links datasets"| node_data_archive
node_participant -->|"downloads data"| node_data_archive
node_participant -->|"explores data"| node_exploration
node_participant -->|"shares results"| node_shared_work
node_participant -.->|"curates datasets"| node_curated_template
node_jquery_tools -->|"uses library"| node_jquery

click node_announcements "https://github.com/rfordatascience/tidytuesday/blob/main/README.md"
click node_dataset_catalog "https://github.com/rfordatascience/tidytuesday/blob/main/README.md"
click node_data_archive "https://github.com/rfordatascience/tidytuesday/tree/main/data"
click node_curated_template "https://github.com/rfordatascience/tidytuesday/tree/main/data/curated/template"
click node_jquery "https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/jquery-latest.js"
click node_jquery_tools "https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/jquery-tools.js"
click node_bls_scripts "https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/bls-latest.js"
click node_site_analytics "https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/siteanalyze_6032860.js"
click node_federal_analytics "https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/Universal-Federated-Analytics-Min.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dataset_catalog,node_data_archive toneBlue
class node_announcements,node_curated_template toneAmber
class node_jquery,node_jquery_tools,node_bls_scripts,node_site_analytics,node_federal_analytics toneMint
class node_participant,node_social_media,node_exploration,node_shared_work toneIndigo
```

## Components

### Weekly datasets

- [Dataset catalog](https://github.com/rfordatascience/tidytuesday/blob/main/README.md): `README.md`
- [Dated data archive](https://github.com/rfordatascience/tidytuesday/tree/main/data): `data`

### Participation and curation

- [Weekly announcements](https://github.com/rfordatascience/tidytuesday/blob/main/README.md): `README.md`
- [Curation template](https://github.com/rfordatascience/tidytuesday/tree/main/data/curated/template): `data/curated/template`

### Archived web assets

- [jQuery library](https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/jquery-latest.js): `data/2021/2021-02-23/bls-all_files/jquery-latest.js`
- [jQuery Tools](https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/jquery-tools.js): `data/2021/2021-02-23/bls-all_files/jquery-tools.js`
- [BLS page scripts](https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/bls-latest.js): `data/2021/2021-02-23/bls-all_files/bls-latest.js`
- [Site analytics](https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/siteanalyze_6032860.js): `data/2021/2021-02-23/bls-all_files/siteanalyze_6032860.js`
- [Federal analytics](https://github.com/rfordatascience/tidytuesday/blob/main/data/2021/2021-02-23/bls-all_files/Universal-Federated-Analytics-Min.js): `data/2021/2021-02-23/bls-all_files/Universal-Federated-Analytics-Min.js`

### Other components

- **Participant**
- **Social media**
- **Data exploration**
- **Shared work**

## Connections

- Social media → Weekly announcements: posts weekly (evidence: `README.md`)
- Participant → Dataset catalog: browses (evidence: `README.md`)
- Dataset catalog → Dated data archive: links datasets (evidence: `README.md`)
- Participant → Dated data archive: downloads data (evidence: `README.md`)
- Participant → Data exploration: explores data (evidence: `README.md`)
- Participant → Shared work: shares results (evidence: `README.md`)
- Participant → Curation template: curates datasets
- jQuery Tools → jQuery library: uses library (evidence: `data/2021/2021-02-23/bls-all_files/jquery-tools.js`)
