All Posts

Fitbit and R Part 1: Accessing Data with the Fitbit API

Fitbit and R Part 1: Accessing Data with the Fitbit API

Introduction In part 1 of this series, I will demonstrate how to interact with the Fitbit API in R. Huge credit to Matt Kaye for creating the fitbitr package that provides an interface between R and the Fitbit API. If you are familiar with R and you have a Fitbit, you should have success following what I have laid out below. Install the fitbitr package From CRAN: install.packages("fitbitr") Or the development version from github:

Advent of Code 2021

Advent of Code 2021

Every year, the great team at Advent of Code lead by ericwastl develops an “Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.” Well, I like R, so in this post I will provide my solutions to the puzzles each day. I plan on using this post to learn and teach and hopefully I am able to stay up-to-date!

Blog Reboot

Blog Reboot

Friends - you may notice my blog if missing a few historical posts. The underlying open source software I’m using to build this blog undertook enough updates (for the better) that my patchwork site built on a house of cards came tumbling down. I learned a lot in the process (which is the reason for even having a blog) and I’m reviving it. I’m removing some pages that I just can’t resussatate and consolodating some others (namly those about presentations).

The Peloton API Part 2: A Peloton Data Tribute to my Wife

The Peloton API Part 2: A Peloton Data Tribute to my Wife

Peloton R In part 1 of my Peloton API post, I explored the pelotonR created by Ben Weiher’s. It’s a great package for accessing your Peloton data and I recommend it. In part 2, I’ll explore a different pelotonR package from Laura Ellis. She provides a great tutorial to display the functionality. I recommend this one too! Objectives The objectives for this post are to… Show how awesome my wife is.

Winning "Pay The Rent" on The Price Is Right

Winning "Pay The Rent" on The Price Is Right

As I mentioned in a previous blog post, my family and I have found different activities to do as all our other activities are on hold due to the COVID-19 lockdown. In that post, I looked at first player’s strategy when spinning the big wheel prior to the showcase showdown. In this post, I’ll explore the rarely won game, Pay the Rent Pay The Rent Pay The Rent Pay The Rent is a challenging game.

ESPN Fantasy Football 2020 Part 1: Accessing the API

ESPN Fantasy Football 2020 Part 1: Accessing the API

Its that time of year! Its that time of year again. The time when we dust off the old ESPN fantasy football API R code and fix everything that broke in the last year. Here’s what I hope to show over the next few posts. How to access your ESPN public fantasy football league’s data. How to organize that data and create a few interesting displays. How to create a dashboard to supplement your league’s fun.

The Peloton API Part 1: Accessing and Exploring

The Peloton API Part 1: Accessing and Exploring

In 2018, my wife and I were fortunate enough to find a deeply discounted Peloton on an online garage sale. Since then, she’s been going hard and I have been trying to keep up when the weather is bad or injuries keep me from running. Jill Smiling After Her 600th Ride (and new record)! Over the last few months, a few works projects have taught me a lot about purrr, functional programming, collaborative projects, and APIs.

Wheel Spin Strategy On The Price Is Right

Wheel Spin Strategy On The Price Is Right

Motivation Like many, COVID-19 completely altered our lives as the virus spread across the country and became a mainstay in our society. Though my family and I have been spared of tragedy, we’ve had to find ways to replace kid’s activities, work routines, and social interactions with other (hopefully) enriching activities… Like family games. Ticket to Ride caused a lot of strife between my kids :) One thing that we’ve added to our new normal is watching “The Price is Right” after dinner.

A Farewell Ode To My Old Grey Truck

A Farewell Ode To My Old Grey Truck

A Tribute! Since the dawn of time, people have been developing human-like attachments to their transportation. I imagine Moses naming his chariot, Noah his ark, and maybe even Jesus naming his borrowed donkey. Well, maybe I’m taking too much historical license, but man’s affinity for their transportation remains. At the age of 21, my dad and I split the cost of a 2005 Ford F150.

Fantasy Football 2019 Analysis

The Goal of this Analysis One of my superpowers is being a bad fantasy football manager. My motivation for this analysis is to show how I’m not actually that bad - but rather unlucky. To show this, I created this post. Below I summarize how I got the data, the information I can glean from the data, share the link to this analysis for my league, and share the code so you can do it to.