Odds / Ends

Here you’ll find things that just don’t fit elsewhere, especially things I do for fun or personal interest.

R Packages

This is a collection of functions that I use related to visualization, e.g. the palette generating function (create_palette) and clean visualization themes for ggplot and plotly. In additon, there are visualizations specific to mixed and additive models.

This package is a collection of functions that do the things I commonly need to do with data while doing other processing within the dataverse. I work with data for myself and others everyday, and use these functions quite often.

While the name is more or less explanatory, to clarify, this is a package of miscellaneous functions that are mostly useful to me.

R with its collar flipped, or the movie Drive if it was all about R programming, writing R code on a beach in Miami as the sun sets, R wearing sunglasses at night, R asking you to take it home tonight because it doesn’t want to let you go until you see the light, Countach > Testarrosa, but Delorean > all except R, R if Automan had lasted longer than 1 season, driving down Mulholland Dr. at night thinking about R code, R playing a cello at the end of a dock on a lake before taking a ride in a badass helicopter, R with its hair all done up with Aquanet… You get the idea.

538 football club rankings
This package grabs the table located at 538, and additionally does some summary by league and country.

In addition to these, though they are not publicly available, I’ve created even more involved packages for specific project work.

Shiny Apps

Historical Football Data
My annual dive into the frustration of Shiny has produced an app to explore historical football/soccer data for various European leagues (Premier, La Liga, Serie A etc.) and MLS. One can create tables for a given country/league and year selected, with some leagues having multiple tiers available, and stretching back many decades. Beyond that, one can get a specific team’s historical finishing position, league games for a specific season, all-time tables, and all-time head-to-head results (within a league).

Bayesian Demonstration
A simple interactive demonstration for those just starting on their Bayesian journey.

A History of Tornados
Because I had too much time on my hands and wanted to try out the dashboard feature of R Markdown. Maps tornado activity from 1950-2015. At some point I’ll go back and fix the lag issue, but otherwise it’s interesting data.

Last Statements of the Texas Executed
A demonstration of both text analysis and literate programming/document generation with a dynamic and interactive research document. The texts regard the last statements of offenders in Texas.