
dplyr - A Grammar of Data Manipulation
A fast, consistent tool for working with data frame like objects, both in memory and out of memory.
Last updated
data-manipulationgrammarcpp
25.32 score 5.1k stars 9.4k dependents 848k scripts 1.7M downloads
ggplot2 - Create Elegant Data Visualisations Using the Grammar of Graphics
A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.
Last updated
data-visualisationvisualisationquarto
25.19 score 7.0k stars 8.8k dependents 784k scripts 2.1M downloads
tidyr - Tidy Messy Data
Tools to help to create tidy data, where each column is a variable, each row is an observation, and each cell contains a single value. 'tidyr' contains tools for changing the shape (pivoting) and hierarchy (nesting and 'unnesting') of a dataset, turning deeply nested lists into rectangular data frames ('rectangling'), and extracting values out of string columns. It also includes tools for working with missing values (both implicit and explicit).
Last updated
tidy-datacpp
23.49 score 1.4k stars 6.7k dependents 270k scripts 1.2M downloads
tibble - Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the traditional data frame.
Last updated
tidy-data
23.27 score 756 stars 11k dependents 76k scripts 1.9M downloads
purrr - Functional Programming Tools
A complete and consistent functional programming toolkit for R.
Last updated
functional-programming
22.95 score 1.4k stars 8.1k dependents 88k scripts 1.3M downloads
stringr - Simple, Consistent Wrappers for Common String Operations
A consistent, simple and easy to use set of wrappers around the fantastic 'stringi' package. All function and argument names (and positions) are consistent, all functions deal with "NA"'s and zero length vectors in the same way, and the output from one function is easy to feed into the input of another.
Last updated
regular-expressionstrings
22.66 score 666 stars 9.2k dependents 208k scripts 1.2M downloads
readr - Read Rectangular Text Data
The goal of 'readr' is to provide a fast and friendly way to read rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes.
Last updated
csvfwfparsingcpp
22.12 score 1.0k stars 2.3k dependents 178k scripts 691k downloads
magrittr - A Forward-Pipe Operator for R
Provides a mechanism for chaining commands with a new forward-pipe operator, %>%. This operator will forward a value, or the result of an expression, into the next function call/expression. There is flexible support for the type of right-hand side expressions. For more information, see package vignette. To quote Rene Magritte, "Ceci n'est pas un pipe."
Last updated
pipe
22.03 score 972 stars 14k dependents 107k scripts 2.0M downloads
glue - Interpreted String Literals
An implementation of interpreted string literals, inspired by Python's Literal String Interpolation <https://www.python.org/dev/peps/pep-0498/> and Docstrings <https://www.python.org/dev/peps/pep-0257/> and Julia's Triple-Quoted String Literals <https://docs.julialang.org/en/v1.3/manual/strings/#Triple-Quoted-String-Literals-1>.
Last updated
string-interpolationstringsquarto
21.75 score 748 stars 16k dependents 62k scripts 2.1M downloads
lubridate - Make Dealing with Dates a Little Easier
Functions to work with date-times and time-spans: fast and user friendly parsing of date-time data, extraction and updating of components of a date-time (years, months, days, hours, minutes, and seconds), algebraic manipulation on date-time and time-span objects. The 'lubridate' package has a consistent and memorable syntax that makes working with dates easy and fun.
Last updated
datedate-time
21.36 score 800 stars 2.2k dependents 192k scripts 607k downloads
readxl - Read Excel Files
Import excel files into R. Supports '.xls' via the embedded 'libxls' C library <https://github.com/libxls/libxls> and '.xlsx' via the embedded 'RapidXML' C++ library <https://rapidxml.sourceforge.net/>. Works on Windows, Mac and Linux without external dependencies.
Last updated
excelspreadsheetxlsxlsxcpp
20.75 score 752 stars 967 dependents 151k scripts 720k downloads
tidyverse - Easily Install and Load the 'Tidyverse'
The 'tidyverse' is a set of packages that work in harmony because they share common data representations and 'API' design. This package is designed to make it easy to install and load multiple 'tidyverse' packages in a single step. Learn more about the 'tidyverse' at <https://www.tidyverse.org>.
Last updated
data-sciencetidyverse
20.30 score 1.8k stars 127 dependents 946k scripts 873k downloads
dbplyr - A 'dplyr' Back End for Databases
A 'dplyr' back end for databases that allows you to work with remote database tables as if they are in-memory data frames. Basic features work with any database that has a 'DBI' back end; more advanced features require 'SQL' translation to be provided by the package author.
Last updated
database
19.75 score 514 stars 872 dependents 6.1k scripts 405k downloads
forcats - Tools for Working with Categorical Variables (Factors)
Helpers for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, and randomly shuffling), and tools for modifying factor levels (including collapsing rare levels into other, 'anonymising', and manually 'recoding').
Last updated
factortidyverse
19.62 score 558 stars 1.4k dependents 44k scripts 394k downloads
haven - Import and Export 'SPSS', 'Stata' and 'SAS' Files
Import foreign statistical formats into R via the embedded 'ReadStat' C library, <https://github.com/WizardMac/ReadStat>.
Last updated
sasspssstatazlibcpp
19.59 score 452 stars 786 dependents 38k scripts 385k downloads
rvest - Easily Harvest (Scrape) Web Pages
Wrappers around the 'xml2' and 'httr' packages to make it easy to download, then manipulate, HTML and XML.
Last updated
htmlweb-scraping
19.46 score 1.5k stars 615 dependents 30k scripts 354k downloads
vroom - Read and Write Rectangular Text Data Quickly
The goal of 'vroom' is to read and write data (like 'csv', 'tsv' and 'fwf') quickly. When reading it uses a quick initial indexing step, then reads the values lazily , so only the data you actually use needs to be read. The writer formats the data in parallel and writes to disk asynchronously from formatting.
Last updated
csvcsv-parserfixed-width-texttsvtsv-parsercpp
19.31 score 642 stars 2.4k dependents 9.8k scripts 627k downloads
hms - Pretty Time of Day
Implements an S3 class for storing and formatting time-of-day values, based on the 'difftime' class.
Last updated
hmstime
16.90 score 142 stars 3.7k dependents 2.1k scripts 671k downloads
dtplyr - Data Table Back-End for 'dplyr'
Provides a data.table backend for 'dplyr'. The goal of 'dtplyr' is to allow you to write 'dplyr' code that is automatically translated to the equivalent, but usually much faster, data.table code.
Last updated
datatabledplyr
16.41 score 676 stars 152 dependents 4.4k scripts 284k downloads
modelr - Modelling Functions that Work with the Pipe
Functions for modelling that help you seamlessly integrate modelling into a pipeline of data manipulation and visualisation.
Last updated
modelling
16.26 score 399 stars 1.2k dependents 6.8k scripts 360k downloads
googledrive - An Interface to Google Drive
Manage Google Drive files from R.
Last updated
google-drive
16.02 score 345 stars 176 dependents 5.6k scripts 392k downloads
reprex - Prepare Reproducible Example Code via the Clipboard
Convenience wrapper that uses the 'rmarkdown' package to render small snippets of code to target formats that include both code and output. The goal is to encourage the sharing of small, reproducible, and runnable examples on code-oriented websites, such as <https://stackoverflow.com> and <https://github.com>, or in email. The user's clipboard is the default source of input code and the default target for rendered output. 'reprex' also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.
Last updated
githubreproducibilityrmarkdownstackoverflow
15.79 score 752 stars 129 dependents 684 scripts 394k downloads
ellmer - Chat with Large Language Models
Chat with large language models from a range of providers including 'Claude' <https://claude.ai>, 'OpenAI' <https://chatgpt.com>, and more. Supports streaming, asynchronous calls, tool calling, and structured data extraction.
Last updated
15.50 score 611 stars 43 dependents 1.6k scripts 20k downloads
googlesheets4 - Access Google Sheets using the Sheets API V4
Interact with Google Sheets through the Sheets API v4 <https://developers.google.com/sheets/api>. "API" is an acronym for "application programming interface"; the Sheets API allows users to interact with Google Sheets programmatically, instead of via a web browser. The "v4" refers to the fact that the Sheets API is currently at version 4. This package can read and write both the metadata and the cell data in a Sheet.
Last updated
google-drivegoogle-sheetsspreadsheet
14.93 score 375 stars 147 dependents 11k scripts 391k downloadsblob - A Simple S3 Class for Representing Vectors of Binary Data ('BLOBS')
R's raw vector is useful for storing a single binary object. What if you want to put a vector of them in a data frame? The 'blob' package provides the blob object, a list of raw vectors, suitable for use as a column in data frame.
Last updated
database
14.05 score 50 stars 1.6k dependents 188 scripts 456k downloads
duckplyr - A 'DuckDB'-Backed Version of 'dplyr'
A drop-in replacement for 'dplyr', powered by 'DuckDB' for performance. Offers convenient utilities for working with in-memory and larger-than-memory data while retaining full 'dplyr' compatibility.
Last updated
analyticsdataframedplyrduckdbperformance
13.29 score 395 stars 7 dependents 587 scripts 2.8k downloadsnycflights13 - Flights that Departed NYC in 2013
Airline on-time data for all flights departing NYC in 2013. Also includes useful 'metadata' on airlines, airports, weather, and planes.
Last updated
12.02 score 133 stars 3 dependents 12k scripts 130k downloadsmultidplyr - A Multi-Process 'dplyr' Backend
Partition a data frame across multiple worker processes to provide simple multicore parallelism.
Last updated
dplyrmultiprocess
10.67 score 650 stars 5 dependents 530 scripts 1.1k downloads
vitals - Large Language Model Evaluation
A port of 'Inspect', a widely adopted 'Python' framework for large language model evaluation. Specifically aimed at 'ellmer' users who want to measure the effectiveness of their large language model-based products, the package supports prompt engineering, tool usage, multi-turn dialog, and model graded evaluations.
Last updated
7.60 score 59 stars 79 scripts 366 downloads
