Digital Space and Place

Northeastern University, Spring 2018

Course Description

Schedule

Assignments

Policies

March 14th: Spatial Data

Introduction

Today we’re going to be getting into the nitty gritty of turning regular old data into spatial data that’s ready to be analyzed, mapped, or visualized. This is tedious, but it is also an absolutely crucial step that often can take up most of your time. Getting experience with this process will hopefully save you some time down the road. The big theme of today is exploring the pitfalls, trade-offs, and challenges that come with trying to package informat into a “usable” format for a computer.

In other words:

Getting The Data

We’ll be using data from Caroline’s project that she has generously agreed to share. We’re going to be looking at this data in the most common form that data currently takes: the ubiquitous spreadsheet. Although many researchers have moved away from spreadsheet software like Microsoft Excel (and with good reason), it’s still far and away the most common format that you’ll find spatial data. It also offers a fairly accessible way to record and edit data. For today, we’ll be using Google Sheets. Upload the file, make a duplicate version, and rename the new version without any spaces in the file name.

Reconnaissance and Planning

At this stage, you want to explore the dataset and get a feel for what’s in it and how it’s structured. This is obviously much more important if you have not collected the data yourself. Tip: Like any software, it’s easier to navigate around a spreadsheet with keyboard shortcuts: Google Keyboard Shortcuts

Cleaning the Data

Although the data is quite legible to a human reader, we need to try and “clean” it and modify it so that it is easily digestible from the perspective of a computer. This is often one of the most laborious and time-intensive phases of a project.

Simplify:

Standardize:

Mappable Data

Now we need to make this spreadsheet into a spatial dataset. Given that each of the records are individual locations with addresses, we need to assign Latitude/Longitude coordinates to it: it’s “actual” pinpoint location on a globe. This is a process known as geocoding - looking up addresses or places in existing databases to try and generate specific coordinates. There are a lot of different services out there for geocoding data, and most of them cost money or impose quotas on how many addresses you can geocode at a time. For now, we’re going to use a lightweight option that allows us to simply copy and paste our data into an online form. Note: in the “Separate text output with” option, select Tabs.

Although you can see the results of the geocoding process on a map, what we want is the underlying datafile. Either copy and paste the resulting data into your spreadsheet or download the Text file. We now have two new columns: Latitude and Longitude that hold the key to being able to pin these places onto a map.

Your Own Data

For the remainder of class, pair off and delve into your own datasets for your final projects. Either walk through your existing data or your plans for how you’re going to collect it. For each person, try and hammer out a concrete plan for moving from the initial data to a final version of spatial data that is “usable” for a computer. I will be circulating to answer questions or provide feedback.