R

Bike rental access in Pittsburgh

This is an interactive Leaflet map of Healthy Ride access in Pittsburgh. It counts how many Healthy Ride stations are within a 10 minute bike ride of a given location.

Shifting political winds

The purpose of this post is to recreate the “Shift from 2016” arrow map that the New York Times used to show which counties became more Democratic or Republican-leaning from 2016 to 2020.

Analyzing major commuter routes in Allegheny County

Intro In this post I will use the Mapbox API to calculate metrics for major commuter routes in Allegheny County. The API will provide the distance and duration of the trip, as well as turn-by-turn directions.

Pittsburgh City Boundary Model Leaflet Map

View this classification model that distinguishes between census tracts that are inside or outside the City of Pittsburgh

Modeling the Pittsburgh City Boundary

In this post I create a model that differentiates census tracts that are inside and outside the city limits of Pittsburgh

Comparing Healthy Ride Usage Pre And "Post" COVID-19

Lawrence Andrews asked me on Twitter if there had been a change in Health Ride usage after COVID-19. Would be interested to see this @healthyridepgh data to compare pre-covid (2019) and during (2020) — Lawrence Andrews (@lawrenceandrews) August 13, 2020 The {tidyverts} universe of packages from Rob Hyndman provides a lot of tools that let you interrogate time series data.

Working with Paycheck Protection Program data in R

In this post, I walk through the process of reading in the data from the Paycheck Protection Program, and show some basic analyses that can be done. Load packages and set up environment:

Graphing Allegheny County COVID-19 data

In this post, I review the process I use to make daily graphs from data published by the Allegheny County Health Department. I use the data posted by Franklin Chen, who scrapes the data from the County’s email updates.

(re)Modeling the Office

The goal for this analysis is to determine which characters, directors, and writers from The Office most influence an episode’s IMDB rating. My hypothesis is that IMDB rating is largely driven by a few show personnel.

Cleaning Creatively Formatted US Census Bureau Migration Data

I recently ran across the U.S. Census Bureau page for state-to-state migration flows. There’s a lot of interesting analyses that can be done with a dataset like this. Unfortunately, when I opened up the .