All Posts

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.

ESPN Fantasy Football V3 API for Private Leagues: An R Solution (Finally!)

ESPN Fantasy Football V3 API for Private Leagues: An R Solution (Finally!)

Accessing ESPN’s New V3 API for Private Leagues: How We Got Here This marks post 3 of n of my 2019 ESPN Fantasy Football blog posts. In the last few months, ESPN upgraded their API from V2 to V3, breaking all of our previous work accessing and analysing the data from the API. In my last two posts, I explored how to access data from ESPN’s V3 API for public leagues.

ESPN Fantasy Football V3 API for Private Leagues: Python Through R

ESPN Fantasy Football V3 API for Private Leagues: Python Through R

Accessing ESPN Fantasy Football for Private Leagues In my previous post, I explained how to access the ESPN Fantasy Football’s new (V3) public API. But what if your league manager does not make the league public? Are you out of luck? In this post I’ll explain how to pass ‘cookies’ to ESPN and access private league data. To accomplish this, we’ll use… Python retriculate purrr Python?

ESPN Fantasy Football V3 API for Public Leagues: An R Solution

ESPN Fantasy Football V3 API for Public Leagues: An R Solution

ESPN’s New API (V3) In previous seasons, we’ve enjoyed relatively easy access to ESPN’s fantasy sports data. Sometime in the last few months, ESPN altered/upgraded their AP to V3. As I’ve tried to replicate previous analysis, old methods accessing the V2 API no longer work. Credit Where Credit Is Due Quick crash course on ESPN’s new #fantasyfootball API, #python focused — https://t.

Parallel Processing and Bootstrapping

Parallel Processing and Bootstrapping

Introduction Often times, I run simulations on my computer to help educate my students about different statistical topics. In doing this, I often end up running fairly “long” simulations that take up more time than what I’d like to use in the classrooms. Complaining about this let me to Googling, which, as usual, let me to a solution. Posted below is an example of what I learned with an accompanying ShinyApp which helps me explain bootstrapping to my students.

Introducing The turnR Package

Inspiration At the 2019 New York R Conference, Emily Robinson gave a great talk called “Everything You Wanted to Know About Making R Packages but Were Afraid to Ask” (Note: This link will be live once the video is published). Emily Robinson is one of my ‘heros of R.’ I was honored to host her several years back a the United States Military Academy when she came to present her work on A/B Testing during her time at Esty.

Cadet Summer Tracker 2019

Cadet Summer Tracker 2019

It is our last summer at West Point! We will sure miss our cadets. To keep touch with everyone, I’ve created a ShinyApp (embedded below) that shows the location (and dates) of everyone over the summer training period. If you’d rather view the app outside the blog, here is the link -- --

Losing UNO to a 5 Year Old: An Exercise In Probability

Background One of my son’s favorite games he received for Christmas this year is UNO Attack. If you are not familiar with the rules, you can get up to speed here. In short, the rules are no different than usual UNO except when you cannot play, instead of taking a card, you press a button on an UNO card shooting contraption. Most of the time you get no cards, but some of the time it will “attack” with 1 or more cards.

2018 Mathlete Fantasy Football Analysis

Introduction In my previous post, I worked through how to get your league information from the ESPN and YAHOO APIs. The motivation for this project was to compare two leagues performances over the 2018 fantasy football season. As the ring leader of the West Point Department of Mathematical Sciences fantasy football league, we had 20 managers. This, of course, is too many for one league so we split the teams across two leagues.