Skip to content

Instantly share code, notes, and snippets.

View davidski's full-sized avatar
🔬
Dance card is pretty full.

David F. Severski davidski

🔬
Dance card is pretty full.
View GitHub Profile
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 23:07
Knight Center D3 - Module 5
Location Jan May July Sept
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 22:43
Knight Center D3 - Module 4
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Last active October 5, 2015 22:22
Knight Center D3 - Module 3
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 19:45
Knight Center Module 2
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 19:26
Knight Center D3 data set
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / Rstudio Cheatsheets
Last active September 25, 2015 16:15
Coursera RStudio First Snowfall Example
https://www.rstudio.com/resources/cheatsheets/
Particularly
- Data Wrangling - https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
- Data Visualization - https://www.rstudio.com/wp-content/uploads/2015/08/ggplot2-cheatsheet.pdf
@davidski
davidski / Leanpubs
Last active June 8, 2017 16:37
Coursera RStudio Ozone Example
The Elements of Data Analytic Style
Jeff Leek
https://leanpub.com/datastyle/
R Programming for Data Science
Roger Peng
https://leanpub.com/rprogramming
The Art of Data Science
Roger Peng and Elizabeth Matsui
"UserData": {
"Fn::Base64": { "Fn::Join":["", [
"#!/bin/bash -ex\n",
"apt-get update\n",
"apt-get -y install python-setuptools\n",
"mkdir aws-cfn-bootstrap-latest\n",
"curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1\n",
"easy_install aws-cfn-bootstrap-latest\n",
"/usr/local/bin/cfn-init --stack ", { "Ref":"AWS::StackName" }, " --resource WebServer", " --region ", { "Ref": "AWS::Region" }, "\n"
"\n",
@davidski
davidski / poweR.R
Created February 22, 2015 18:50
Poll residential power rates for Top 50 Metro regions
library(dplyr)
library(tidyr)
library(magrittr)
library(httr)
library(ggplot2)
library(ggvis)
#Inspired by original utility rate API post at
#http://www.numbrcrunch.com/blog/using-the-httr-package-to-retrieve-data-from-apis-in-r
@davidski
davidski / blackcat.R
Created February 13, 2015 13:43
Triskaidekaphillia
library(dplyr)
# thanks to http://www.math-aids.com/ for the shape points
shape1 <- list(c(0,0), c(1,-1.5), c(1.5,-3), c(2,-5), c(2,-6), c(1.5,-7), c(3,-7.5), c(4,-7.5), c(5.5,-7), c(5,-6.5),
c(3,-6), c(3,-5), c(4,-2.5), c(5,-1), c(6,0), c(7,1), c(8.5,2), c(10,2.5), c(11,3), c(10,3.5),
c(9,4.5), c(9.5,6.5), c(8,5), c(6,5), c(5,5.5), c(4,7), c(3.5,4), c(2.5,3.5), c(4,2), c(3,1.5),
c(2,2.5), c(1.5,4), c(1,6), c(0,7), c(-2,7.5), c(-4,7), c(-5,6.5), c(-6,5), c(-7,4), c(-7.5,3.5),
c(-8.5,4), c(-8.5,9), c(-9.5,10), c(-11,10.5), c(-13,10), c(-14,9), c(-13.5,8), c(-13,7.5), c(-11.5,8),
c(-10,4.5), c(-9,2), c(-8,0), c(-7,-2.5), c(-6.5,-5), c(-5.5,-6), c(-4.5,-7.5), c(-1.5,-7.5),