Recently, I discovered that I had set up my IFTTT account to log all of my Uber rides to a Google Sheets workbook. News to me! After some investigation, I found about six months of Uber ride data, nicely categorized with time, location, and driver data for each trip. If you’re looking to do any sort of analysis, or are interested in tracking your Uber rides, I highly recommend this IFTTT applet!
Background Unless you’ve been living under a rock, you’ve seen the scooters flying around - taking businessmen to work, tourists to monuments, and local kids around the neighborhood. These dockless electric scooters can be unlocked from any smartphone, riden for a low fee depending on duration, and parked anywhere in the city. They are intended to be used as a last-mile transit tool, helping commuters to and from their homes, offices, and local Metro/subway stops.
Earlier this week I put together a series of graphics tracing Donald Trump’s approval rating by voter group and party affiliation, even throwing in the generic congressional ballot for good measure. While cool to have a point-in-time snapshot, I figured this could be a lot more useful if built into a live dashboard, with data updating automatically (as opposed to whenever I chose to save the charts). To make that happen, I chose to create a Shiny Dashboard that integrates all of my existing charts and provides a nice structure for designing interactive web apps.
See the green line in the middle that starts up, wins a championship, and then drops off the map? That’s my grandmother.
How popular is Donald Trump? This question, however simple, carries long-reaching implications for America’s future. Trump’s political and moral standing come 2020 will likely define the path of the presidential election, which seems to contend either continued darkening of American politics or a great reversal of the current political environment. As they have done for the many presidents before him, and will do for the many after him, pollsters have taken the nation’s political temperature constantly throughout the Trump administration.
While I was working on my last post about NFL salary cap allocation, I struggled with how best to present the information. I knew I wanted the focus to be on outliers, but was finding a standard pie chart to be dull, and bar chart to be hard to compare. Fortunately, I stumbled upon the circumplex chart and realized this was exactly what I was looking for. I found a number of good resources to help me on my way, most notably this post by Learning R, but ultimately ended up heavily customizing the charts until they felt right.
![AFC East Cap Allocations](/img/nfl_division_cap_2018/NFC East.png) The Los Angeles Rams recently resigned Brandin Cooks to a 5 year, $80 million extension, a deal that locks up their deep threat to go alongside Robert Woods and Cooper Kupp. Then, just today, they turned around and handed Todd Gurley $60 million on a 4-year extension, a deal that sets a new benchmark for the running back position (and makes LeVeon Bell a happy, happy man).
With the 2018 World Cup (and painful non-qualification) now fully in the mirror, American soccer fans have a lot to look forward to. The 2022 World Cup promises to be a great bounce bounce-back opportunity for the team, which figures to be led by a 23 year old Christian Pulisic. Four years later, the United States, Mexico, and Canada will jointly host a North American World Cup in 2026. At that time, Pulisic will be 27 and a whole new generation of American stars is expected to emerge, with other promising players such as Timothy Weah and Josh Sargent also entering their primes.
I love the Home Run Derby. Though initially disappointed by the move to timed scoring rather than the traditional “10 outs” framework, I’ve had an amazing time watching sluggers like Aaron Judge go up against the clock in today’s bracket-style tournament. With no “monster” sluggers like Judge or Stanton in tonight’s Derby, things are a bit more wide open - I think you could make a case for a number of different players tonight.
Baseball is a sport of inches - one half inch here and a fly out turns into a home run, one half inch there and a liner turns into a double play. Timing is also critical - striking with runners on and in scoring position is so much more valuable than a parade of solo home runs. In 2013, the St. Louis Cardinals were able to capitalize on this more than any other team in baseball history, riding a 0.