
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 9 hours ago
data-visualisationvisualisation
25.10 score 6.6k stars 7.6k dependents 645k scripts 1.7M 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 22 days ago
data-manipulationgrammarcpp
24.68 score 4.8k stars 7.8k dependents 659k scripts 1.6M 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 22 days ago
tidy-datacpp
22.88 score 1.4k stars 5.5k dependents 168k scripts 1.1M 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 6 days ago
tidy-data
22.85 score 693 stars 11k dependents 47k scripts 1.3M downloads
purrr - Functional Programming Tools
A complete and consistent functional programming toolkit for R.
Last updated 2 months ago
functional-programming
22.12 score 1.3k stars 6.9k dependents 59k scripts 1.2M 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 7 months ago
regular-expressionstrings
21.99 score 628 stars 8.3k 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 6 months ago
string-interpolationstrings
21.76 score 729 stars 14k dependents 57k scripts 1.5M 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
21.08 score 961 stars 14k dependents 82k scripts 1.3M 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 8 months ago
csvfwfparsingcpp
21.03 score 1.0k stars 2.0k dependents 132k scripts 884k 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 4 months ago
datedate-time
20.95 score 757 stars 1.9k dependents 135k scripts 848k 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 18 days ago
excelspreadsheetxlsxlsxcpp
20.85 score 734 stars 815 dependents 160k 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 5 months ago
data-sciencetidyverse
20.23 score 1.7k stars 125 dependents 664k scripts 1.1M 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 4 months ago
database
19.72 score 481 stars 736 dependents 5.2k scripts 581k 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 5 months ago
htmlweb-scraping
19.33 score 1.5k stars 549 dependents 29k scripts 668k 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.79 score 553 stars 1.2k dependents 21k scripts 653k 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 6 months ago
sasspssstatazlibcpp
18.63 score 427 stars 682 dependents 18k scripts 707k 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 7 months ago
csvcsv-parserfixed-width-texttsvtsv-parsercpp
17.82 score 625 stars 2.1k dependents 4.5k scripts 777k 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 4 months ago
hmstime
16.48 score 140 stars 3.2k dependents 1.3k scripts 890k 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.46 score 400 stars 1.1k dependents 6.9k scripts 653k 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 2 months ago
datatabledplyr
16.11 score 671 stars 148 dependents 2.5k scripts 514k 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 7 months ago
githubreproducibilityrmarkdownstackoverflow
15.58 score 744 stars 127 dependents 498 scripts 544k downloads
googledrive - An Interface to Google Drive
Manage Google Drive files from R.
Last updated 8 months ago
google-drive
14.97 score 329 stars 164 dependents 2.1k scripts 548k 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 8 months ago
google-drivegoogle-sheetsspreadsheet
14.55 score 363 stars 144 dependents 7.0k scripts 537k 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 4 months ago
database
13.82 score 45 stars 1.4k dependents 157 scripts 590k 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 1 days ago
12.82 score 401 stars 7 dependents 98 scripts 4.6k 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.64 score 128 stars 5 dependents 8.3k scripts 50k 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 14 days ago
analyticsdataframedplyrduckdbperformance
11.33 score 309 stars 220 scripts 2.1k downloadsmultidplyr - A Multi-Process 'dplyr' Backend
Partition a data frame across multiple worker processes to provide simple multicore parallelism.
Last updated 8 months ago
dplyrmultiprocess
10.82 score 644 stars 5 dependents 460 scripts 799 downloads