Resources
This carefully curated collection of resources will help you find packages and learning resources to help you on your R journey.
devtools
devtools is an R package that aims to make package development easier by providing functions that simplify and expedite common tasks. It includes functions for loading code, updating documentation, running tests, building and installing packages, checking and releasing packages, and more. It is widely used for R package development and there are several resources available to learn more about package development using devtools.
Go to Resource
Don't use Quarto documents to clean or analyze data
This content advocates against using Quarto, R Markdown, or Jupyter for data cleaning and analysis, emphasizing that these platforms should be used for communication rather than exploratory tasks. Diego Catalan Molina advises that data inputs should be clean before being loaded into documents which should serve as a vehicle to tell a story. He suggests creating engaging outlines focused on findings' importance and using these documents exclusively to share results, not every plot or table during the exploratory phase of data analysis.
Go to Resource
dplyr
dplyr is a package in R that provides a grammar of data manipulation. It offers a consistent set of verbs to solve common data manipulation challenges, such as adding new variables, selecting variables, filtering cases, summarizing data, and arranging rows. It also provides support for working with different computational backends, including arrow, dtplyr, dbplyr, duckplyr, duckdb, and sparklyr. The package can be installed as part of the tidyverse or separately.
Go to Resource
Dr. U - Images as Facet Labels in ggplot2
This post explains how to replace the facet labels in ggplot2 with images, specifically country flags. It demonstrates how to load the required packages, obtain flag images from a GitHub repository, join the flag data with the gapminder dataset, download the flag images, generate markdown for reading the images, and create a plot with the flag images as facet labels.
Go to Resource
Drawing Anything with ggplot2
Material for the 'Drawing Anything with ggplot2' workshop by thomasp85
Go to Resource
DT
An R package that provides an interface to the DataTables library, allowing R data objects to be displayed as interactive tables on HTML pages.
Go to Resource
Easily Arrange External Figures with Patchwork Alongside ggplot2 Figures • figpatch
Easily Arrange External Figures with Patchwork Alongside ggplot2
Go to Resource
Efficiency and Consistency: Automate Subset Graphics with ggplot2 and purrr - Cédric Scherer
Efficiency and Consistency: Automate Subset Graphics with ggplot2 and purrr is a blog post by Cédric Scherer that discusses automated plot generation with ggplot2. The post explains how to create a set of explorative or explanatory charts for different variables or categories of a dataset using a functional programming approach. It provides examples and tips for working with variables and explores data sets visually.
Go to Resource
Efficient R Programming
Efficient R programming is a book that provides tips and techniques for writing efficient and optimized code in R.
Go to Resource
emphatic
emphatic is a package for R that enriches exploratory analysis of tabular data by allowing users to add visual color highlights. It bridges the gap between tabular and graphical output, displaying data values that control appearance, such as color, while still showing all values. Compatible with dplyr row and column selection, it also integrates with ggplot2's color scales. Outputs include console, Excel, Rmarkdown, Quarto, SVG, and animated SVG rendering. Features include data frame highlighting, difference highlighting between objects, regex matching, and conversion to HTML, SVG, or Excel. Installation via GitHub is straightforward.
Go to Resource
Engineering Production-Grade Shiny Apps
This book is a guide to building robust Shiny applications that are ready for production use. It covers topics such as project management, technical optimization, and team collaboration. The target audience includes developers who have basic knowledge of Shiny and want to build production-grade applications.
Go to Resource