Skip to content

Instantly share code, notes, and snippets.

@cmiller01
cmiller01 / README.md
Last active March 6, 2019 08:30
Santa Anita Horse Fatalities

This was my attempt to track down the reported fatalities at Santa Anita historically.

Couldn't find it anywhere else except in the minutes reported by CHRB!

To replicate:

Prerequisites

python3, ran on Ubuntu 18.04 (probably needed for pdftotext) + these gist files

Keybase proof

I hereby claim:

  • I am cmiller01 on github.
  • I am christian9090 (https://keybase.io/christian9090) on keybase.
  • I have a public key ASC-Hw6f3V0Jae1fzJuuGeLmEDlsUvZHlY27csPB8HvhkQo

To claim this, I am signing this object:

@cmiller01
cmiller01 / readme
Created November 22, 2013 06:06
Ranked Choice Voting Visualization in R
see more on voting data here: vote.minneapolismn.gov
see more on ranked choice voting with R here: https://github.com/tcrug/ranked-choice-vote-data or http://www.meetup.com/twincitiesrug/messages/boards/thread/39578462
@cmiller01
cmiller01 / R_meetup_MD.Rmd
Last active December 19, 2015 12:29
R markdown for R meetup (July 2013)
Regression in R
=========================================
This is a simple overview of regression using R. It is intended as a quick intro to regression in R or a refresher, and it is _not_ a comprehensive review. The intended audience should have some basic understanding of R. See the end of this document for more resources.
Also, I am not a trained statistician, so I rely heavily on people smarter than myself. See the end of the document for a list of some of these smart people and sources.
Finally, since this is a simple overview of regression I be dealing with ordinary least squares regression, which is the most common form of regression (although not always the best) and _not_ with time series data (which can be much more complicated).
What is regression?
----------------------------
@cmiller01
cmiller01 / test
Created December 15, 2012 17:13
test git
##load libraries
library(ggplot2)
library(scales)
##load data
data(diamonds)