R data analysis, covid19: finding successful countries

A small multiple chart of covid19 data, showing line charts of different countries, where the line is colored red/yellow/green according to the success in reducing new covid19 cases.

In this blog post, we’ll create a data visualization to analyze covid19 data and visualize successful vs. unsuccessful countries. You’ll see exactly what I mean by that in a minute. Our covid19 analysis series: a quick review This tutorial is actually part of a series of tutorials that show how to analyze data with R. … Read more

R Data Exploration: covid-19 [part 3]

An image of R code analyzing covid19 data, with a sars-cov-2 virus in the background.

This tutorial is part of a series of R tutorials analyzing covid-19 data. For parts 1 and 2, see the following posts: https://www.sharpsightlabs.com/blog/r-data-analysis-covid-19-part1-data-wrangling/ https://www.sharpsightlabs.com/blog/r-data-analysis-covid-19-part-2-merge-datasets/ Covid19 analysis, part 3: initial data exploration So far in our R data analysis series, we’ve spent some time getting and wrangling our data. In part1, we retrieved a single covid19 … Read more

R Data Analysis: covid-19, part 2 [merge datasets]

This tutorial is part of a series of R tutorials analyzing covid-19 data. For part 1, see the following post: https://www.sharpsightlabs.com/blog/r-data-analysis-covid-19-part1-data-wrangling/ Covid19 analysis, part 2: merge datasets In this tutorial, we’re going to set up a process that will enable us to retrieve and wrangle some necessary covid19 datasets … data that we’ll need for … Read more

R Data Analysis: covid-19, part 1 [data wrangling]

An image of R data manipulation code, with an image of the covid19, sars-cov-2 virus in the background.

In this tutorial, we’re going to analyze covid19 data using R and the Tidyverse. Recently, we started a data analysis series, where we analyzed covid19 data. The first set of these tutorials was performed with Python. That tutorial series was well received, and many people commented that it was very helpful for seeing exactly how … Read more

How to use facet_grid in ggplot2

This tutorial will show you how to use facet_grid in ggplot2. Specifically, it will show you how to use facet_grid to create small multiple charts. facet_grid is fairly easy to understand, but it assumes some basic knowledge of ggplot2. ggplot2 is a data visualization package for the R programming language. If you don’t already know … Read more

A ggplot2 tutorial for beginners

This blog post is a fairly comprehensive ggplot2 tutorial for beginners. If you’re new to R and ggplot, this ggplot2 tutorial will cover a few things: What ggplot2 is The syntax of ggplot2 Examples of how to use ggplot2 If you’re new to ggplot, I recommend that you read the whole tutorial. But if you … Read more