A cute round fuzzy monster with fairy wings and a wand, with a party hat on reading “mean”, bouncing across the top of a data table applying the function to each column. Stylized text reads: “dplyr::across() - use within mutate() or summarize() to apply function(s) to a selection of columns!” An example shows the use within summarize: summarize(across(where(is.numeric), mean)). Learn more about dplyr::across().

Cartoon showing a table with creature type (kraken, dragon, or cyclops) and age (baby, teen, or adult). The three creatures listed are adding a new column named “danger”, which contains the word “extreme!” if the type is “kraken”, or “high” for any other type. Stylized text reads “dplyr::case_when() - IF ELSE...but you love it? An example of code is shown: mutate(danger = case_when(type == “kraken” ~ “extreme!”, TRUE ~ “high”). Learn more about case_when.

Cartoon showing three fuzzy monsters either selecting or crossing out rows of a data table. If the type of animal in the table is “otter” and the site is “bay”, a monster is drawing a purple rectangle around the row. If those conditions are not met, another monster is putting a line through the column indicating it will be excluded. Stylized text reads “dplyr::filter() - keep rows that satisfy your conditions.” Learn more about dplyr::filter.

Cartoon of cute fuzzy monsters dressed up as different X-men characters, working together to add a new column to an existing data frame. Stylized title text reads “dplyr::mutate - add columns, keep existing.” Learn more about dplyr::mutate.

Cartoon of fuzzy monsters moving columns around in fork lifts, while one supervises. Stylized text reads “dplyr::relocate() - move columns around! Default: move to FRONT , or move to .before or .after a specified column.” Learn more about dplyr::relocate.

Header text: "dplyr:: rename() - rename columns". Below, an illustration of a mouse standing on a wedge of swiss cheese, changing column names from "species" to "nemesis," and "site" to "lair." On a cork board next to the mouse are images of "Cheese thieves" suspects (narwhal, chicken and pika) and maps of their locations. Learn more about dplyr::rename

Header text: "forcats::fct_infreq() - reorder factor levels by # of observations in each level (default: largest n = first level). Below, and illustration of monsters working together to reorder a data set based on the most commonly observed animals. Additional text: "See also: fct_inorder to reorder by order of appearance, fct_reorder to reorder by another variable, and fct_relevel to manually reorder." Learn more about working with factors in the forcats package.

Cartoon of a bunch of monsters watching data points of varing color and shape fly across a screen like fireworks. Several monsters are lighting the data off like fireworks. Stylized text reads “gganimate: action figures!” Learn more about gganimate.

A group of fuzzy round monsters with binoculars, backpacks and guide books looking up a graphs flying around with wings (like birders, but with exploratory data visualizations). Stylized text reads “ggplot2: visual data exploration.” Learn more about ggplot2.

A fuzzy monster in a beret and scarf, critiquing their own column graph on a canvas in front of them while other assistant monsters (also in berets) carry over boxes full of elements that can be used to customize a graph (like themes and geometric shapes). In the background is a wall with framed data visualizations. Stylized text reads “ggplot2: build a data masterpiece.” Learn more about ggplot2.

Header text: "ggrepel: wonderfully repulsive labels." Illustrated below, cute monsters stitch labels onto a plot background "quilt", with threads connecting buttons (the data points) to the label. Learn more about ggrepel.

Header text: "Explore missing data in naniar!" Cute monsters with exploring gear looking around a landscape full of subtle (and not so subtle) NAs, hidden in trees, on mountain tops, as birds, and in flowers. Learn more about naniar.

Fuzzy cartoon monsters in construction hats sorting a pile of “Y” “M” and “D”s into separate piles labeled “Years”, “Months” and “Days”. Title text reads “Lubridate: wrangle times and dates!” Learn more about date-time wrangling with lubridate.

A cartoon Delorean, with several fuzzy monsters dressed in lab coats pouring date-times into the flux capacitor, with one holding a lubridate cheatsheet. One fuzzy monster is flying on a hoverboard, dressed like Marty McFly from Back to the Future. Title text reads “lubridate: time control!” Learn more about lubridate.

Title text: “janitor::clean_names(): convert all column names to *_case!” Below, a cartoon beaver putting shapes with long, messy column names (pulled from a bin labeled “MESS” and “not so awesome column names”) into a contraption that converts them to lower snake case. The output has stylized text reading “Way more deal-withable column names.” Learn more about clean_names and other *awesome* data cleaning tools in janitor.

A cartoon showing two paths side-by-side. On the left is a scary spooky forest, with spiderwebs and gnarled trees, with file paths written on the branches like “~/mmm/nope.csv” and “setwd(“/haha/good/luck/”), with a scared looking cute fuzzy monster running out of it. On the right is a bright, colorful path with flowers, rainbow and sunshine, with signs saying “here!” and “it’s all right here!” A monster facing away from us in a backpack and walking stick is looking toward the right path. Stylized text reads “here: find your path.” Learn more about here.

Fuzzy monster cartoons lined up in various race cars at a checkered starting line. Their race cars are labeled with common modeling engines (stan, keras, glmnet, lm). There is one race-starter monster in aviator sunglasses, holding a flag with the parsnip package hex sticker on it (a cartoon parsnip). Text next to the starting line reads “3...2...1...run model!” Title text reads “parsnip::set_(your)_engine!” Learn more about parsnip.

Fuzzy cartoon monsters in white gloves and uniforms hanging multiple plots together on a wall, with an artist monster wearing a beret and smock directing them to the correct orientation. There is a blueprint plan on the wall showing how the plots should be arranged. Stylized title font reads “patchwork - combine & arrange your ggplots!” Learn more about patchwork.

Header text: "purrr::pluck() to deftly index into data structures. Below, a chameleon's long tongue is plucking a single value from a data frame within a list. Learn more about purrr::pluck().

A group of fuzzy round monsters adjusting different aspects of a 3D rendering of a map, with different functions from the rayshader package on their uniforms or materials. The ray_shade() lighting operator is controlling a spotlight; the render_label() artist is spraypainting a label onto the map; the sphere_shade() painter is adding shadows to the landscape; the render_depth() monster is blurring the background, and the add and detect_water() monsters are filling a watershed on the map with water from a hose. Stylized title text reads: “Rayshader by @tylermorganwall: create mesmerizing 3D maps and graphs!” Learn more about rayshader.

Two cute monsters working together to update a movie theatre marquee, removing any non-numeric information from a sign labeled “My Data” with a combination of numeric values and character strings. Stylized text reads “readr::parse_number() - just give me the numbers.” Learn more about parse_number.

In a snowy winter scene, a little monster in a beanie, long underwear and mittens looks happily on a snow globe (which is about the same size as the monster). Within the snow globe is a blue cube labeled ".Rproj," and the stand of the snowglobe is labeled "renv" - representing the security of renv-protected projects from the outside world. Learn more about renv.

A side-by-side comparison of a monster providing problematic code to tech support when it is on a bunch of crumpled, disorganized papers, with both monsters looking sad and very stressed (left), compared to victorious looking monsters celebrating when code is provided in a nice box with a bow labeled “reprex”. Title text reads “reprex: make reproducible examples. Help them help everyone!” Learn more about reprex.

A glam rock band comprised of 3 fuzzy round monsters labeled as “Text”, “Outputs” and “Code” performing together. Stylized title text reads: “R Markdown - we’re getting the band back together.”

Two fuzzy round monsters dressed as wizards, working together to brew different things together from a pantry (code, text, figures, etc.) in a cauldron labeled “R Markdown”. The monster wizard at the cauldron is reading a recipe that includes steps “1. Add text. 2. Add code. 3. Knit. 4. (magic) 5. Celebrate perceived wizardry.” The R Markdown potion then travels through a tube, and is converted to markdown by a monster on a broom with a magic wand, and eventually converted to an output by pandoc. Stylized text (in a font similar to Harry Potter) reads “R Markdown. Text. Code. Output. Get it together, people.”

A cartoon of a cracked glass cube looking frustrated with casts on its arm and leg, with bandaids on it, containing “setwd”, looks on at a metal riveted cube labeled “R Proj” holding a skateboard looking sympathetic, and a smaller cube with a helmet on labeled “here” doing a trick on a skateboard.

Three cute fuzzy monsters adding spatial geometries to an existing table of attributes using glue and tape, while one cuts out the spatial polygons. Title text reads “sf: spatial data...simplified.” and a caption at the bottom reads “sticky geometries: for people who love their maps and sanity.”

An illustration of four fuzzy monsters squishing together a string containing the words “a cat” with excess whitespace at the ends and between the words, showing those excess whitespaces being eject as they squish the ends together. Text read “stringr::str_squish(): remove leading, trailing & repeated interior whitespace from strings.”

Header text: "stringr: work more easily with strings." Below, and illustration of a purple fuzzy monster at a desk, in a Shakespeare-style fancy collar and monacle, writing "a cat" "walked across my" on a piece of paper with a large feather pen. Next to him are a stack of books titled "regex" and "working with strings." Below the desk are cat prints (from walking through pen ink) and a curled up black cat with one eye open. This is a nod to regex often being described as looking like "a cat walked over your keyboard." Learn more about stringr.

A galaxy of tidyverse-related hex stickers. Learn more about the tidyverse.

Two round fuzzy monsters, one riding on the shoulders of the other, who is carrying it up a mountain. The monster riding on the shoulders is labeled “Me” and is saying “so productive!”, , and the one carrying it is labeled “usethis.” The mountain has faint text reading “so many things…” and a small flag at the top reading “yay.” Learn more about usethis.

Back to Top