Skip to content

Instantly share code, notes, and snippets.

View CafeConVega's full-sized avatar

Joshua Vega CafeConVega

  • Miami
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 13 columns, instead of 12. in line 8.
http://www.pro-football-reference.com/boxscores/201510250mia.htm,,,,,,,points,points,expected points before the play,expected points after the play,home team win %,
Quarter,Time,Down,ToGo,Location,Yard Line,Detail,HTX,MIA,EPB,EPA,Win%,
,,,,,,,1st Quarter,1st Quarter,1st Quarter,1st Quarter,1st Quarter,
1,15:00,,,MIA 35,35,Andrew Franks kicks off 64 yards (tackle by Zach Vigil),0,0,0,-1.73,58.2,41.8
1,14:54,1,10,HTX 42,42,Brian Hoyer pass incomplete deep right intended for DeAndre Hopkins,0,0,1.73,1.19,59.7,
1,14:49,2,10,HTX 42,42,Arian Foster left tackle for -2 yards (tackle by Jelani Jenkins),0,0,1.19,0.23,62.4,
1,14:09,3,12,HTX 40,40,Brian Hoyer pass incomplete short right intended for Nate Washington (defended by Cameron Wake),0,0,0.23,-0.72,65,
1,14:04,4,12,HTX 40,40,Shane Lechler punts 55 yards returned by Jarvis Landry for 7 yards (tackle by Akeem Dent),0,0,-0.72,0.35,62,
1,13:51,1,10,MIA 12,12,Ryan Tannehill pass complete short right to Lamar Miller for 1 yard (tackle by Brian Cushing),0,0,-0.35,-0.7,6
@CafeConVega
CafeConVega / custom.css
Created April 4, 2016 16:56
Week 11 - Map
body {
padding: 20px 0px 15px 20px;
font-family: Helvetica, sans-serif;
font-size: 10pt;
}
.intro {
text-align: center;
}
@CafeConVega
CafeConVega / custom.css
Created March 28, 2016 15:41
Week 10 - Small Multiples
h1,
h2 {
font-family: 'Graduate', cursive;
text-align: center;
text-transform: uppercase;
}
.intro{
width: 70vw;
display: flex;
@CafeConVega
CafeConVega / co2_emissions.csv
Created March 21, 2016 19:03
Week 9 - JS Practice
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 54 columns, instead of 27. in line 2.
countryName,countryCode,indicatorName,indicatorCode,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010
Afghanistan,AFG,CO2 emissions (kt),EN.ATM.CO2E.KT,491.378,689.396,707.731,839.743,1008.425,1092.766,1283.45,1224.778,942.419,1672.152,1895.839,1532.806,1639.149,1917.841,2126.86,1987.514,2390.884,2159.863,2240.537,1760.16,1983.847,2101.191,2522.896,2830.924,3509.319,3142.619,3124.284,2867.594,2775.919,2676.91,2493.56,1426.463,1375.125,1320.12,1268.782,1199.109,1114.768,1056.096,832.409,781.071,645.392,359.366,583.053,733.4,1015.759,1338.455,1991.181,3927.357,6523.593,8236.082
Albania,ALB,CO2 emissions (kt),EN.ATM.CO2E.KT,2280.874,2464.224,2082.856,2016.85,2174.531,2552.232,2680.577,3072.946,3245.295,3744.007,4352.729,5643.513,5291.481,4345.395,4594.751,4950.45,5720.52,6494.257,7587.023,5170.47,7341.334,7308.331,7
@CafeConVega
CafeConVega / custom.css
Last active March 22, 2016 02:59
Week 9 - Stacked Transition
h1,
h2 {
font-family: 'Graduate', cursive;
text-align: center;
text-transform: uppercase;
}
p {
font-family: 'Roboto', sans-serif;
text-align: center;
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 11 columns, instead of 8. in line 7.
Country,Meningitis_encephalitis,Respiratory_infections,Sepsis,Pertussis,Malaria,Measles,Congenital_anomalies,HIV_AIDS,Diarrhoeal_diseases,Asphyxia_trauma
India,0.042488278,0.233534888,0.145938913,0.007182025,0.009314662,0.046933792,0.123114044,0.00663867,0.184781579,0.200073149
Democratic Republic of the Congo,0.040686134,0.221728479,0.075842245,0.01386753,0.212434283,0.06908283,0.048008834,0.02005919,0.150790387,0.147500089
Indonesia,0.025829262,0.27277861,0.106128312,0.01262,0.030445137,0.076689828,0.185003315,0.017677822,0.092133369,0.180694346
Pakistan,0.042190621,0.28618202,0.163435643,0.021985945,0.001921226,0.020857808,0.075568204,0.000843982,0.175454966,0.211559586
Nigeria,0.043200357,0.207813651,0.071262349,0.016492104,0.287175958,0.007996224,0.044873945,0.042612526,0.133019132,0.145553754
Ethiopia,0.034238059,0.262054587,0.115549659,0.028521607,0.043578469,0.034427597,0.081432904,0.034783927,0.140515542,0.22489765
Afghanistan,0.052876527,0.315089385,0.112120879,0.01908775,9.43381E-05,0.061885819,0.0
@CafeConVega
CafeConVega / custom.css
Last active March 15, 2016 21:31
Week 8: My Update Plot
h1,
h2 {
font-family: 'Graduate', cursive;
text-align: center;
text-transform: uppercase;
}
p {
font-family: 'Roboto', sans-serif;
text-align: center;
@CafeConVega
CafeConVega / deaths_04yearsold_2013percent.csv
Created March 12, 2016 02:08
Week 8: Finished Bar Homework
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 11 columns, instead of 8. in line 7.
Country,Meningitis_encephalitis,Respiratory_infections,Sepsis,Pertussis,Malaria,Measles,Congenital_anomalies,HIV_AIDS,Diarrhoeal_diseases,Asphyxia_trauma
India,0.042488278,0.233534888,0.145938913,0.007182025,0.009314662,0.046933792,0.123114044,0.00663867,0.184781579,0.200073149
Democratic Republic of the Congo,0.040686134,0.221728479,0.075842245,0.01386753,0.212434283,0.06908283,0.048008834,0.02005919,0.150790387,0.147500089
Indonesia,0.025829262,0.27277861,0.106128312,0.01262,0.030445137,0.076689828,0.185003315,0.017677822,0.092133369,0.180694346
Pakistan,0.042190621,0.28618202,0.163435643,0.021985945,0.001921226,0.020857808,0.075568204,0.000843982,0.175454966,0.211559586
Nigeria,0.043200357,0.207813651,0.071262349,0.016492104,0.287175958,0.007996224,0.044873945,0.042612526,0.133019132,0.145553754
Ethiopia,0.034238059,0.262054587,0.115549659,0.028521607,0.043578469,0.034427597,0.081432904,0.034783927,0.140515542,0.22489765
Afghanistan,0.052876527,0.315089385,0.112120879,0.01908775,9.43381E-05,0.061885819,0.0
@CafeConVega
CafeConVega / custom.css
Last active March 1, 2016 22:39
Week 7: Transition Plot With Buttons
h1,
h2 {
font-family: 'Graduate', cursive;
text-align: center;
text-transform: uppercase;
}
p {
font-family: 'Roboto', sans-serif;
text-align: center;
@CafeConVega
CafeConVega / custom.css
Last active March 1, 2016 22:41
Week 7: Dots on Lines
h1,
h2 {
font-family: 'Graduate', cursive;
text-align: center;
text-transform: uppercase;
}
p {
font-family: 'Roboto', sans-serif;
text-align: center;