
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.41 score 6.9k stars 8.6k dependents 926k scripts 2.1M downloads
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.38 score 5.0k stars 9.1k dependents 860k scripts 1.9M 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.6k dependents 243k scripts 1.3M 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.21 score 747 stars 11k dependents 73k scripts 1.9M downloads
purrr - Functional Programming Tools
A complete and consistent functional programming toolkit for R.
Last updated
functional-programming
23.02 score 1.4k stars 8.0k dependents 82k scripts 1.4M 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.63 score 665 stars 9.1k dependents 203k 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.22 score 1.0k stars 2.3k dependents 177k scripts 908k 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
21.89 score 971 stars 14k dependents 92k scripts 1.7M 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.78 score 750 stars 16k dependents 62k scripts 1.9M 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.38 score 796 stars 2.1k dependents 186k scripts 671k 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
21.03 score 751 stars 935 dependents 200k scripts 1.1M 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.32 score 1.8k stars 128 dependents 909k scripts 960k 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.78 score 512 stars 824 dependents 6.2k scripts 455k 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.73 score 451 stars 761 dependents 31k scripts 574k 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.58 score 1.5k stars 615 dependents 28k scripts 500k 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.58 score 557 stars 1.4k dependents 29k scripts 555k 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.17 score 642 stars 2.3k dependents 6.3k scripts 722k 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.96 score 142 stars 3.6k dependents 2.2k scripts 871k 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.48 score 399 stars 1.2k dependents 7.9k scripts 530k 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.38 score 675 stars 151 dependents 2.7k scripts 423k 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.95 score 606 stars 38 dependents 1.6k scripts 14k downloads
googledrive - An Interface to Google Drive
Manage Google Drive files from R.
Last updated
google-drive
15.94 score 342 stars 175 dependents 4.1k scripts 452k 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.73 score 753 stars 130 dependents 661 scripts 352k 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.98 score 373 stars 148 dependents 11k scripts 451k 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.01 score 49 stars 1.5k dependents 186 scripts 566k 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.56 score 392 stars 7 dependents 565 scripts 6.3k 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
11.96 score 133 stars 3 dependents 9.2k scripts 149k 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 649 stars 5 dependents 542 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.63 score 56 stars 77 scripts 671 downloads
