Learn to visualize average annual temperature data through graphs created by ggplot2 in R!

What you will learn

Program with R

Learn to use ggplot2

Visualize climate data

Raise awareness about rising temperatures

Use linear interpolation

Description

Interested in climate change, programming, or data visualization? Then, this course is for you!


Get Instant Notification of New Courses on our Telegram channel.


In this course, you will learn how to graph climate data using the R programming language in Google Colab! Specifically, we’ll be looking at how the average annual air temperature changes as the years go by (the x-axis will be the year, and the y-axis will be the average annual temperature). We’ll use San Diego climate data from the National Centers for the Environmental Information (NCEI) Global Summary of the Year weather database, but you’re welcome to use data from any city. To approximate missing values in the dataset, we’ll use linear interpolation and install the necessary packages such as tidyverse, ggplot2, readr, and imputeTS. We’ll make basic graphs with ggplot2, including features such as the axes, data points, and lines. Then, we’ll make more aesthetic and visual graphs by adding layers, or geoms, with different features such as a title, axes labels, gradient color scale, locally estimated scatterplot smoother, and more! Next, we’ll make the graphs with the Fahrenheit system instead of Celsius using a math equation to convert the temperature values. Finally, you’ll be provided with some additional resources regarding climate change. No programming experience is needed.

English
language

Content

Introduction

Introduction

Set Up Google Colab R Notebook

Create an R Notebook in Google Colab.

Download, Install, and Load the Climate Data and Packages

Downloading, Installing, and Loading the Climate Data and Packages

Use Linear Interpolation to Approximate Missing Values

Linear Interpolation to Approximate Missing Values

Make a Basic Graph Using ggplot2

Making a Basic Graph Using ggplot2

Add Additional Visual/Aesthetic Aspects to the Graph

Adding More Layers and Aesthetic Aspects to the Graph

Create the Graphs Using the Fahrenheit System

Creating the Graphs with the Fahrenheit Temperature System

Climate Change Resources + Wrap Up

Climate Change Resources + Wrap Up

Notebook Guide with Code

Notebook Guide with Code