Posts

New Paper! The Experience of Meaningless Work in the Public Sector

A brief announcement! My co-authors Samia Chreim, Silvia Bonaccio, and I have just published a new paper called “The Experience and Implications of Meaningless Work in the Public Sector” in The Journal of Business Ethics.

A Minimal(ish?) Example of Using Session Cookies in SolidStart

This is a minimal working example showing how you can use session cookies to store persistent user data with Solid Start. The code itself is heavily commented and is available on GitHub, and I hope that in conjunction with the data dump below it helps somebody out.

Rolling Joins with dplyr v1.1.0!

tl;dr: Dplyr v1.1.0 now lets you do rolling joins! This is an unapologetically nerdy post about rolling joins, what they are, when and why they can be extremely useful, and how to do them using the programming language R and the package dplyr.

Building a Chat App with R and Shiny

How to build a basic chat application in R using Shiny, RSQlite databases, and CSS. The underlying logic can also be used for serious business applications.

Teaching a Computer to Talk* *(Sort of)

Using math to provide future generations with an infinitely renewable source of Dr. Seuss stories and Doug Ford campaign speeches. Includes an interactive web app and an R package.

Ontario, Meet Your MPPs (Most Prolific Posters)

How do politicians in Ontario use Twitter? Who do they talk to, and what do they talk about? In this post, we’ll look at what and who politicians care about by analyzing their public statements on social media.

Exploring Twitter Trends with Storywrangler in R

This post will show how to do Twitter trends analysis with the Storywrangler dataset using my new R package, storywranglr. We’ll look at three worked ‘mini-cases’: a marketing case about Black Friday, a consumer interest case about TV shows, and a case where we link to another dataset about musicians.

Scraping Dynamic Web Sites with API Interception using R

This post introduces a new web-scraping technique called API interception using the Ontario Newsroom as a case study. Then we use our new data to answer a question: is there evidence of a ‘Friday news dump’ in Ontario politics?

valhallr: An R Interface to the Valhalla Routing Engine

The ‘valhallr’ package provides an R interface to the Valhalla routing engine–the same one Tesla uses in its cars. This post introduces the package and demonstrates how to use it to generate turn-by-turn directions, origin-destination analyses, and isochrones.

Crafting a Quicker COVID Queue? Mapping Ottawa's Age-80+ Residents

In March, the City of Ottawa expects to begin vaccinating age-80+ residents who live at home. But where do they live? And could we perhaps use open data to focus vaccination efforts?