Skip to content

Instantly share code, notes, and snippets.

@jshannon75
jshannon75 / osmmap.R
Created November 15, 2019 20:49
Creating a WordCloud from OpenStreetMap in rstats using wordcloud2
library(tidyverse)
library(osmdata)
library(sf)
library(tigris)
library(wordcloud2)
library(tmap)
#Load city outline
city="Atlanta"
@jshannon75
jshannon75 / osmmap.R
Created November 15, 2019 20:49
Creating a WordCloud from OpenStreetMap in rstats using wordcloud2
library(tidyverse)
library(osmdata)
library(sf)
library(tigris)
library(wordcloud2)
library(tmap)
#Load city outline
city="Atlanta"
@jshannon75
jshannon75 / elevation_map.md
Created September 29, 2019 20:11
Making a map of road elevation change for biking in Athens, Georgia

Creating a road elevation map in R

Jerry Shannon

This gist describes the process of calculating elevation change for roads in Athens-Clarke County, Georgia. This analysis is part of a process of creating a bike map for the county. As part of identifying the most bike (and walk) friendly routes, I and a student wanted to identify roads with the greatest elevation change.

Downloading OSM data