Interactive map: 2022 New Jersey congressional redistricting
The New Jersey Congressional Redistricting Commission recently wrapped up the process of redrawing the state’s congressional districts based on new Census data. These new districts will take effect beginning this year and shape congressional elections for the next decade.
Jan 2, 2022
1 min read
An R package for geocoding data using New Jersey’s official geocoding service data
What social media data tells us about the New Jersey governor's race
Many people are talking about the 2021 governor’s race in New Jersey online, especially after the first official debate this past week. In this post, I present an analysis of online chatter about the campaign created using the content of tweets posted by Governor Phil Murphy and his Republican challenger, Assemblyman Jack Ciattarelli and tweets posted about both of them in the last 30 days by Twitter users.
Oct 3, 2021
6 min read
Automating web scraping with GitHub Actions and R: an example from New Jersey
GitHub Actions is a powerful tool for building code, running tests & other repetitive tasks related to software development. It’s also a powerful, if somewhat underutilized tool for deploying web scrapers written in R to the internet and automatically publishing a version-controlled copy of the scraped data using GitHub.
Mar 31, 2021
5 min read
njtr1: An R package to download & analyze New Jersey car crash data
In this post I will introduce njtr1, my new R package that makes it easier to research road safety in New Jersey using open data released by the New Jersey Department of Transportation with a consistent and simple API, eliminating the manual drudgery currently inherent in working with these data.
Jan 20, 2021
4 min read
An R package that makes it easy to download and analyze New Jersey car crash data
What's new in zipcodeR v0.2?
I first released my open-source R package for processing U.S. ZIP codes, zipcodeR, in September. From then until December, when I am writing this, the package has received more than 3000 downloads and a lot of interest from the community.
Dec 13, 2020
3 min read
Sentiment analysis of Governor Murphy's executive orders
There has been a lot of interest in Governor Murphy’s executive orders and the various public health restrictions they’ve codified during the COVID-19 pandemic. In this post I will show how sentiment analysis can be applied to the governor’s executive orders in New Jersey to analyze the content of them.
Dec 8, 2020
4 min read
An R package that makes working with US ZIP codes painless
Using zipcodeR in academic work? Check out the journal article! In this post I will introduce zipcodeR, my new open-source R package that provides a set of integrated functions and data that make working with ZIP code-level data easier in R.
Sep 8, 2020
4 min read
An R package that makes dealing with ZIP codes painless