Difference between revisions of "Creating Hexbin Maps in R"

From CUOSGwiki
Jump to navigationJump to search
Line 1: Line 1:
 
== Objective ==
 
== Objective ==
The purpose of this tutorial is to use RStudio in order to create a thematic hexbin map. Users will have the opportunity to explore the spatial capabilities of the software and learn more about advanced cartographic design. This tutorial contributes to the collection of Open Source GIS tutorials created by Carleton University students.
+
The objective of this tutorial is to create a hexbin choropleth map of U.S. education costs in RStudio. Users will learn how to create a hexbin map from a geospatial object and plot thematic openly available data.This tutorial will additionally demonstrate how to add cartographic elements including symbolization and labelling. Through this tutorial, users will have the opportunity to explore the spatial capabilities of the software and learn more about advanced cartographic design.
   
  +
This tutorial contributes to the collection of Open Source GIS tutorials created by Carleton University students.
The objective of this tutorial is to create a hexbin choropleth map of U.S. education costs. Users will learn how to create a hexbin map from a geospatial object and plot thematic openly available data. This tutorial will additionally demonstrate how to add cartographic elements including symbolization and labelling.
 
  +
  +
'Note: This tutorial assumes basic knowledge of the R programming language. This version of the tutorial was created using a Windows platform with R version.'
  +
  +
== Why Hexagons? ==
   
 
== Getting Started ==
 
== Getting Started ==
   
 
=== Downloading the Software ===
 
=== Downloading the Software ===
  +
  +
The first step of this tutorial is downloading R and RStudio if they are not already installed on your device. R version 4.1.2 is the latest version of the software released in 2021.
  +
  +
R is a widely used open-source software environment used for data manipulation and analysis (statistics, graphics, etc.). R is easily customizable and is executed line by line in a console. For the purposes of this tutorial, R will be accessed through an integrated development environment (IDE) called RStudio.
   
 
=== Navigating RStudio ===
 
=== Navigating RStudio ===
Line 12: Line 20:
 
=== Data Retrieval ===
 
=== Data Retrieval ===
   
== Tutorial ==
+
==== Spatial data ====
  +
  +
==== Non-spatial data ====
  +
  +
== Creating a Choropleth Map ==
   
 
=== Install Packages ===
 
=== Install Packages ===
Line 18: Line 30:
 
=== Import Data ===
 
=== Import Data ===
   
=== Perform a Join ===
+
=== Join Spatial and Non-Spatial Data ===
   
 
=== Symbolization ===
 
=== Symbolization ===

Revision as of 23:47, 7 December 2021

Objective

The objective of this tutorial is to create a hexbin choropleth map of U.S. education costs in RStudio. Users will learn how to create a hexbin map from a geospatial object and plot thematic openly available data.This tutorial will additionally demonstrate how to add cartographic elements including symbolization and labelling. Through this tutorial, users will have the opportunity to explore the spatial capabilities of the software and learn more about advanced cartographic design.

This tutorial contributes to the collection of Open Source GIS tutorials created by Carleton University students.

'Note: This tutorial assumes basic knowledge of the R programming language. This version of the tutorial was created using a Windows platform with R version.'

Why Hexagons?

Getting Started

Downloading the Software

The first step of this tutorial is downloading R and RStudio if they are not already installed on your device. R version 4.1.2 is the latest version of the software released in 2021.

R is a widely used open-source software environment used for data manipulation and analysis (statistics, graphics, etc.). R is easily customizable and is executed line by line in a console. For the purposes of this tutorial, R will be accessed through an integrated development environment (IDE) called RStudio.

Navigating RStudio

Data Retrieval

Spatial data

Non-spatial data

Creating a Choropleth Map

Install Packages

Import Data

Join Spatial and Non-Spatial Data

Symbolization

Add Map Elements

Conclusion