Skip to content

Instantly share code, notes, and snippets.

View lazarogamio's full-sized avatar

Lazaro Gamio lazarogamio

View GitHub Profile
@lazarogamio
lazarogamio / .block
Last active February 23, 2017 22:51
Maryland's 3rd District, 1789-2017
license: mit
border: no
scrolling: no
height: 600
$centers = [{
'state': 'Mississippi',
'centers': {
'1990': [-89.631423981082591, 32.552835670679762],
'1830': [-90.441043741683941, 31.828795747035961],
'1980': [-89.646023926803139, 32.567938654359573],
'1850': [-89.698847935261966, 33.044747214151577],
'1940': [-89.753992750319881, 32.883164732425691],
'1840': [-89.885568957314092, 32.788824312176992],
'1960': [-89.727231840162929, 32.669082854180793],
state j_energy_efficiency j_solar j_wind j_hydro j_natural j_coal j_other_fossil j_other j_sum j_total_energy j_total result_2016 dem_prez_2016 gop_prez_2016 lib_prez_2016 other_prez_2016
Alabama 30203 760 1077 350 1657 1529 204 3468 9045 49320 32040 r 729547 1318255 44467 31103
Alaska 4421 98 37 469 293 88 151 188 1324 21027 4556 r 116454 163387 18725 20042
Arizona 40663 9774 694 151 3649 6060 154 781 21263 42761 51131 r 1161167 1252401 106327 84762
Arkansas 14883 339 825 33 329 311 0 1320 3157 25964 16047 r 380494 684872 29829 35440
California 301348 152947 4635 11890 16960 864 696 15277 203269 427614 458930 d 8753788 4483810 478500 521786
Colorado 29756 8027 7124 1014 486 3812 316 4316 25095 90113 44907 d 1338870 1202484 144121 94772
Connecticut 33948 2927 11 17 742 0 0 1507 5204 18619 36886 d 897572 673215 48676 25457
DC 11982 1581 83 35 114 14 0 134 1961 6145 13646 d 282830 12723 4906 10809
Delaware 12232 486 0 118 257 0 0 0 861 4504 12718 d 235603 185127 14757 8327
@lazarogamio
lazarogamio / health-care-ceo-data.csv
Last active July 23, 2017 23:09
Data showing health care CEO pay since 2010
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 15 columns, instead of 12. in line 8.
year,company,ceo,salary,bonus,summary_stock_awards,summary_option_awards,summary_non_equity_incentive,summary_pension_change,summary_other,summary_listed_total,options_exercised,stocks_vested,rsa,total
2010,WellCare Health Plans,Alec Cunningham,644423,94500,974996,478796,1015625,,58148,3266488,,366616,,2179312
2011,WellCare Health Plans,Alec Cunningham,776923,94500,2400000,,1210000,,7191,4488614,,998460,,3087074
2012,WellCare Health Plans,Alec Cunningham,969231,,3000085,,1525625,,10232,5505173,430032,1354720,,4289840
2013,WellCare Health Plans,Alec Cunningham,884615,,3249996,,,,291493,4426104,2029384,1992508,,5198000
2014,WellCare Health Plans,David Gallitano,2029004,,3000004,,,,331987,5360995,,2144076,,4505067
2015,WellCare Health Plans,Kenneth A. Burdick,1024039,,5000007,,1725000,,44688,7793734,,500122,,3293849
2016,WellCare Health Plans,Kenneth A. Burdick,1000000,,5499999,,2745000,,15081,9260080,,926978,,4687059
2010,Universal Health Services,Alan B. Miller,1377053,,1499991,,1170495,66265,5737161,9850965,4
@lazarogamio
lazarogamio / axios-calfire-wildfire-data.csv
Created December 14, 2017 16:40
Large wildfire data scraped from CAL FIRE
id unit name start end agency acres cause
TGU-803 Mendocino NFMNF--154 Town 03-31-2000 04-05-2000 USFS 1500 escape control
MNF-177 Mendocino NF Cabbage 04-01-2000 04-01-2000 USFS 1540 ?
TGU-851 Mendocino NF MNF_178 Franklin 04-02-2000 04-03-2000 USFS 400 na
LMU-630 Lassen NF PNF 151 (Robinson) 04-04-2000 04-05-2000 USFS 500 na
BDU-4016 Mono County Assist (Azusa) 05-29-2000 06-01-2000 USFS 740 Campfire
TUU-4863 Tulare Elephant 06-01-2000 06-01-2000 CDF 497 Control Burn
ANF-2059 Los Angeles Dry 06-06-2000 06-06-2000 USFS 356 Under Invest.
VNC-14831 Ventura Calabasas 06-11-2000 06-11-2000 CC 800 Under Invest.
LNU-3087 Napa Berryessa 06-13-2000 06-16-2000 CDF 5731 Equip. Use