This is an abbreviated version of the book Make Your Own Python Text Adventure. Typically, a text adventure game involves the player exploring and interacting with a world to tell a story. For this tutorial, I wanted the game to…
Creating Voronoi Diagrams with ggplot
A Voronoi diagram (or tessellation) is neat way of visualizing spatial data. It essentially allows us to see the areas that are closest to a set of locations. For example, this map shows all of the Criagslist localities and the…
How to use the Yelp API in Python
In last week’s post, I pulled data about local restaurants from Yelp to generate a dataset. I was happy to find that Yelp actually has a very friendly API. This guide will walk you through setting up some boiler plate…