# hadley/r4ds

R for data science: a book

Repository: https://github.com/hadley/r4ds
Canonical: https://ross.abutalabs.com/products/r4ds
Homepage: https://r4ds.hadley.nz/
Language: R
License: NOASSERTION
License Family: other
Topics: book, bookdown, data-science, r
Last push: 2026-07-18T02:06:45+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 8, longevity 100
- inputs: {"age_days": 4055, "days_push": 47, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5141, forks 4438 (observed 2026-08-28T04:09:11.141541+00:00)

## What it is
The open-source source repository for 'R for Data Science' (2nd edition), a free online book teaching data science with R, built with Quarto. It covers importing, tidying, transforming, and visualizing data using the tidyverse and reproducible research practices.

## Use cases
- learn data science with r
- learn ggplot2 data visualization
- learn to clean and wrangle data in r
- free r programming textbook
- learn tidyverse workflow
- reproducible research in r

## When to choose
- you want a free, well-regarded introduction to data science in R
- you prefer learning through hands-on exercises with solutions available
- you want current best practices with the tidyverse

## When to avoid
- you need a general R language reference rather than a data science workflow book
- you work primarily in Python or another language
- you need a printable textbook under a permissive license (it is CC BY-NC-ND)

## Facets
- artifact type: learning-resource
- maturity: active
- function: data-science, data-visualization, documentation
- domain: data-science, education, tutorials
- platform: cross-platform
- tags: r, book, bookdown, quarto, tidyverse, open-textbook

## Member repositories
- hadley/r4ds (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.141541+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:01:59.849047+00:00, confidence not recorded.
  - readme: https://github.com/hadley/r4ds (fetched 2026-08-28T04:09:11.141541+00:00, sha c577e190ea8a)
  - homepage: https://r4ds.hadley.nz/ (fetched 2026-08-29T08:56:20.705449+00:00, sha a6673f3e201c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
