<!-- README.md is generated from README.Rmd. Please edit that file --> tidyverse <!-- badges: start --> <!-- badges: end --> Overview The tidyverse is a set of packages that work…
<!-- README.md is generated from README.Rmd. Please edit that file -->
tidyverse
<!-- badges: start -->



<!-- badges: end -->
Overview
The tidyverse is a set of packages that work in harmony because they
share common data representations and API design. The tidyverse
package is designed to make it easy to install and load core packages
from the tidyverse in a single command.
If you’d like to learn how to use the tidyverse effectively, the best
place to start is R for Data Science (2e).
Installation
r
# Install from CRAN
install.packages("pak")
If you have any problems installing tidyverse, we recommend trying with
pak since it is likely to help diagnose the
problem:
r
# install.packages("pak")
pak::pak("tidyverse")
r
# Install the development version from GitHub
# install.packages("pak")
pak::pak("tidyverse/tidyverse")
If you’re compiling from source, you can runpak::pkg_system_requirements("tidyverse"), to see the complete set of
system packages needed on your machine.
Usage
library(tidyverse) will load the core tidyverse packages:
- ggplot2, for data visualisation.
- dplyr, for data manipulation.
- tidyr, for data tidying.
- readr, for data import.
- purrr, for functional programming.
- tibble, for tibbles, a modern
r
library(tidyverse)
#> ── Attaching core tidyverse packages ─────────────────── tidyverse 2.0.0.9000 ──
#> ✔ dplyr 1.1.4 ✔ readr 2.1.5
#> ✔ forcats 1.0.0 ✔ stringr 1.5.1
#> ✔ ggplot2 3.5.1 ✔ tibble 3.2.1
#> ✔ lubridate 1.9.3 ✔ tidyr 1.3.1
#> ✔ purrr 1.0.2
#> ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag() masks stats::lag()
#> ℹ Use the conflicted package () to force all conflicts to become errors
You can see conflicts created later with tidyverse_conflicts():
r
library(MASS)
#>
#> Attaching package: 'MASS'
#> The following object is masked from 'package:dplyr':
#>
#> select
tidyverse_conflicts()
#> ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag() masks stats::lag()
#> ✖ MASS::select() masks dplyr::select()
#> ℹ Use the conflicted package () to force all conflicts to become errors
And you can check that all tidyverse packages are up-to-date withtidyverse_update():
r
tidyverse_update()
#> The following packages are out of date:
#> * broom (0.4.0 -> 0.4.1)
#> * DBI (0.4.1 -> 0.5)
#> * Rcpp (0.12.6 -> 0.12.7)
#>
#> Start a clean R session then run:
#> install.packages(c("broom", "DBI", "Rcpp"))
Packages
As well as the core tidyverse, installing this package also installs a
selection of other packages that you’re likely to use frequently, but
probably not in every analysis. This includes packages for:
- Working with specific types of vectors:
- Importing other types of data:
.xls and
.xlsx files.
- rvest, for web scraping.
- xml2, for XML.
- Modelling
Code of Conduct
Please note that the tidyverse project is released with a Contributor
Code of Conduct.
By contributing to this project, you agree to abide by its terms.
Members
-
dplyr ★ PINNED
dplyr: A grammar of data manipulation
R ★ 5.0k 21d agoExplain → -
ggplot2 ★ PINNED
An implementation of the Grammar of Graphics in R
R ★ 7.0k 2mo agoExplain → -
readr ★ PINNED
Read flat files (csv, tsv, fwf) into R
R ★ 1.0k 2mo agoExplain → -
purrr ★ PINNED
A functional programming toolkit for R
R ★ 1.4k 2mo agoExplain → -
tidyr ★ PINNED
Tidy Messy Data
R ★ 1.4k 21d agoExplain → -
rvest ★ PINNED
Simple web scraping for R
R ★ 1.5k 9mo agoExplain → -
tidyverse
Easily install and load packages from the tidyverse
R ★ 1.8k 1y agoExplain → -
datascience-box
Data Science Course in a Box
JavaScript ★ 1.0k 8mo agoExplain → -
magrittr
Improve the readability of R code with the pipe
R ★ 971 2mo agoExplain → -
lubridate
Make working with dates in R just that little bit easier
R ★ 796 8d agoExplain → -
reprex
Render bits of R code for sharing, e.g., on GitHub or StackOverflow.
R ★ 754 2mo agoExplain → -
readxl
Read excel files (.xls and .xlsx) into R 🖇
C++ ★ 753 1mo agoExplain → -
glue
Glue strings to data in R. Small, fast, dependency free interpreted string literals.
R ★ 749 2mo agoExplain → -
tibble
A modern re-imagining of the data frame
R ★ 747 3d agoExplain → -
dtplyr
Data table backend for dplyr
R ★ 676 4mo agoExplain → -
stringr
A fresh approach to string manipulation in R
R ★ 664 7mo agoExplain → -
multidplyr
A dplyr backend that partitions a data frame over multiple processes
R ★ 650 7mo agoExplain → -
vroom
Fast reading of delimited files
C++ ★ 642 14d agoExplain → -
ellmer
Call LLM APIs from R
R ★ 608 23h agoExplain → -
forcats
🐈🐈🐈🐈: tools for working with categorical variables (factors)
R ★ 559 4mo agoExplain → -
dbplyr
Database (DBI) backend for dplyr
R ★ 513 6d agoExplain → -
haven
Read SPSS, Stata and SAS files from R
C ★ 452 4mo agoExplain → -
modelr
Helper functions for modelling
R ★ 399 2y agoExplain → -
duckplyr
A drop-in replacement for dplyr, powered by DuckDB for speed.
R ★ 391 2d agoExplain → -
googlesheets4
Google Spreadsheets R API (reboot of the googlesheets package)
R ★ 375 22h agoExplain → -
style
The tidyverse style guide for R code
SCSS ★ 360 6mo agoExplain → -
googledrive
Google Drive R API
R ★ 346 20h agoExplain → -
design
Tidyverse design principles
R ★ 232 1y agoExplain → -
tidyverse.org
Source of tidyverse.org
HTML ★ 213 27d agoExplain → -
ragnar
RAG in R
R ★ 182 2mo agoExplain → -
hms
A simple class for storing time-of-day values
R ★ 142 1mo agoExplain → -
nycflights13
An R data package containing all out-bound flights from NYC in 2013 + useful metdata
R ★ 133 2y agoExplain → -
tidy-dev-day
Tidyverse developer day
R ★ 89 9mo agoExplain → -
tidyversedashboard
Tidyverse activity dashboard
R ★ 73 3y agoExplain → -
vitals
Large language model evaluation for R
JavaScript ★ 56 13d agoExplain → -
tidyeval ▣
A guide to tidy evaluation
CSS ★ 56 6y agoExplain → -
dsbox
Companion R package to Data Science Course in a Box
R ★ 53 2y agoExplain → -
tidytemplate
A pkgdown template for core tidyverse packages
SCSS ★ 50 2mo agoExplain → -
blob
A simple S3 class for representing BLOBs
R ★ 50 1mo agoExplain → -
data-dict
No description.
Rust ★ 47 23m agoExplain → -
tidyups
No description.
★ 41 5mo agoExplain → -
funs
Collection of low-level functions for working with vctrs
R ★ 37 4y agoExplain → -
ggbot2
No description.
R ★ 37 7mo agoExplain → -
code-review
No description.
★ 35 3y agoExplain → -
website-analytics
Web analytics for tidyverse + r-lib sites
R ★ 27 4y agoExplain → -
ggplot2-docs ▣
ggplot2 documentation. Auto-generated from ggplot2 sources by pkgdown
HTML ★ 10 7y agoExplain →
No repos match these filters.