
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 5 days ago
data-visualisationvisualisation
25.04 score 6.6k stars 7.5k dependents 653k scripts 1.5M 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 4 months ago
data-manipulationgrammarcpp
24.55 score 4.8k stars 7.7k dependents 657k scripts 1.4M 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 2 months ago
tidy-data
22.78 score 692 stars 11k dependents 47k scripts 1.2M 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 4 months ago
tidy-datacpp
22.67 score 1.4k stars 5.4k dependents 169k scripts 829k downloads
purrr - Functional Programming Tools
A complete and consistent functional programming toolkit for R.
Last updated 11 days ago
functional-programming
22.03 score 1.3k stars 6.8k dependents 59k scripts 988k 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 6 months ago
regular-expressionstrings
21.97 score 622 stars 8.2k dependents 164k scripts 1.1M 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 5 months ago
string-interpolationstrings
21.71 score 728 stars 14k dependents 57k scripts 1.3M 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 2 years ago
pipe
20.94 score 960 stars 14k dependents 82k scripts 977k 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 7 months ago
csvfwfparsingcpp
20.92 score 1.0k stars 2.0k dependents 122k scripts 752k 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 2 months ago
datedate-time
20.87 score 754 stars 1.9k dependents 135k scripts 708k 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 6 days ago
excelspreadsheetxlsxlsxcpp
20.61 score 734 stars 803 dependents 165k scripts 920k 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 4 months ago
data-sciencetidyverse
20.26 score 1.7k stars 125 dependents 664k scripts 1.2M 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 4 months ago
htmlweb-scraping
20.01 score 1.5k stars 534 dependents 29k scripts 545k 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 works with any database that has a 'DBI' back end; more advanced features require 'SQL' translation to be provided by the package author.
Last updated 3 months ago
database
19.83 score 480 stars 730 dependents 5.2k scripts 564k 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 1 years ago
factortidyverse
18.66 score 553 stars 1.2k dependents 20k scripts 511k 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 4 months ago
sasspssstatazlibcpp
18.58 score 426 stars 667 dependents 18k scripts 647k 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 6 months ago
csvcsv-parserfixed-width-texttsvtsv-parsercpp
17.78 score 625 stars 2.1k dependents 4.5k scripts 725k 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 2 months ago
hmstime
16.44 score 140 stars 3.2k dependents 1.3k scripts 818k 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 1 years ago
modelling
16.31 score 401 stars 1.0k dependents 6.4k scripts 512k 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 25 days ago
datatabledplyr
16.17 score 671 stars 143 dependents 2.4k scripts 423k 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 5 months ago
githubreproducibilityrmarkdownstackoverflow
15.55 score 742 stars 127 dependents 498 scripts 509k downloads
googledrive - An Interface to Google Drive
Manage Google Drive files from R.
Last updated 7 months ago
google-drive
14.94 score 327 stars 163 dependents 2.1k scripts 518k 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 7 months ago
google-drivegoogle-sheetsspreadsheet
14.48 score 363 stars 140 dependents 7.0k scripts 478k 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 2 months ago
database
13.78 score 45 stars 1.4k dependents 157 scripts 544k 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 22 hours ago
11.84 score 349 stars 3 dependents 68 scripts 2.7k 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 1 years ago
11.36 score 126 stars 5 dependents 6.9k scripts 32k 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 4 days ago
analyticsdataframedplyrduckdbperformance
11.11 score 302 stars 207 scripts 1.4k downloadsmultidplyr - A Multi-Process 'dplyr' Backend
Partition a data frame across multiple worker processes to provide simple multicore parallelism.
Last updated 7 months ago
dplyrmultiprocess
10.84 score 644 stars 5 dependents 478 scripts 657 downloads