Sharon Machlis

Executive Editor, Data & Analytics

Sharon Machlis is Director of Editorial Data & Analytics at IDG, where she works on analyzing data (both for IDG Enterprise Web sites and journalism projects) and in-house editor tools in addition to writing and editing. Her tech interests include data visualization and analysis as well as the intersection of journalism and technology. She holds an Extra class amateur radio license and is currently somewhat obsessed with R. Her book Practical R for Mass Communication and Journalism was published in December 2018.

How to merge data in R using R merge, dplyr, or data.table

How to merge data in R using R merge, dplyr, or data.table

See how to join two data sets by one or more common columns using base R’s merge function, dplyr join functions, and the speedy data.table package

Get API data with R

Get API data with R

No R package for the API you want? It’s easy to write your own function with the httr and jsonlite packages.

How to write your own ggplot2 functions in R

How to write your own ggplot2 functions in R

You no longer have to worry about quoted and unquoted column names when using ggplot2, thanks to the latest version of the rlang package

How to use .SD in the R data.table package

How to use .SD in the R data.table package

See how to use data.table's special .SD symbol to perform calculations and other tasks by group

How to calculate month-over-month changes in R
video

How to calculate month-over-month changes in R

See how to generate weekly and monthly reports in R including month-over-month, week-over-week, and year-over-year changes

How to Slack from R

How to Slack from R

See how to send text messages and files directly from an R script to Slack with the slackr package

How to send email from R and Gmail
video

How to send email from R and Gmail

See how to automate sending email with the R language, a Gmail account, and the gmailr R package

How to use RStudio code snippets
video

How to use RStudio code snippets

Save time by storing your best and most-used code in RStudio snippets

Turn an R Markdown document into an interactive experience
video

Turn an R Markdown document into an interactive experience

Supercharge your R code's interactivity with R Markdown and runtime Shiny

Tidy eval in R: A simple example

Tidy eval in R: A simple example

Do you want to use ggplot2, dplyr, or other tidyverse functions in your own functions? This easy example shows how

How to write an R package

How to write an R package

R packages are great for organizing your own work, not only sharing with others. See how to create an R package in a few simple steps, thanks to packages like devtools, usethis, and roxygen2

How to run Python in R

How to run Python in R

Learn how to run Python code inside an R script using the reticulate R package

Do more with R: Write your own RStudio addins

Do more with R: Write your own RStudio addins

This RStudio addins tutorial walks you step by step through creating an extension for the RStudio IDE

How to create color-coded calendars in R

How to create color-coded calendars in R

Track your goals with color-coded calendars created with R packages ggplot2 and ggcal

Do more with R: RStudio addins and keyboard shortcuts

Do more with R: RStudio addins and keyboard shortcuts

Speed up your R programming workflow with RStudio addins and customized keyboard shortcuts

Do more with R: Quick lookup tables using named vectors

Do more with R: Quick lookup tables using named vectors

Learn how named vectors give R developers an easy to use key-value pairs

R tip: Keep your passwords and tokens secure with the keyring package

R tip: Keep your passwords and tokens secure with the keyring package

Saving tokens and passwords in an R environment variable means they’re stored in an unencrypted, clear text file. With the keyring package, your credentials are more secure

R tutorial: How to import data into R

R tutorial: How to import data into R

In this book excerpt, learn how to import data into R from spreadsheets, HTML tables, and more

How to add sparklines to R tables

How to add sparklines to R tables

When you want to visualize results in each row—such as when each row of data is a trend over time—you can do that inside a new table column with mini inline graphs called sparklines

Do more with R: Quick interactive HTML tables

Do more with R: Quick interactive HTML tables

See how to create an interactive table with one line of code (and the DT package). Plus, easy customizations

Load More