Skip to content

Instantly share code, notes, and snippets.

@1godfrey
1godfrey / 2020genderdemographicsopioiddeathsbystate
Created March 29, 2023 16:27
2020 Gender Demographics of Opioid Deaths by State
State,Death Total,,Male,Female,Unknown
AK,160,104,117,27,16
DE,444,288.6,352,64,28
DC,300,195,210,70,20
IL,3549,2306.85,2343,765,441
ND,114,74.1,79,26,9
WY,99,64.35,66,28,5
SC ,1739,1130.35,1523,160,56
CT,1371,891.15,820,324,227
RI,397,258.05,274,94,29
@1godfrey
1godfrey / CDC-opioiddeathsbystate
Created March 29, 2023 15:29
Opioid Deaths by State - CDC
YEAR,STATE,RATE,DEATHS,URL
2020,AL,22.3,1029,/nchs/pressroom/states/alabama/al.htm
2020,AK,22,160,/nchs/pressroom/states/alaska/ak.htm
2020,AZ,35.8,2550,/nchs/pressroom/states/arizona/az.htm
2020,AR,19.1,546,/nchs/pressroom/states/arkansas/ar.htm
2020,CA,21.8,8908,/nchs/pressroom/states/california/ca.htm
2020,CO,24.9,1492,/nchs/pressroom/states/colorado/co.htm
2020,CT,39.1,1371,/nchs/pressroom/states/connecticut/ct.htm
2020,DE,47.3,444,/nchs/pressroom/states/delaware/de.htm
2020,FL,35,7231,/nchs/pressroom/states/florida/fl.htm
@1godfrey
1godfrey / deathsbystate2020.csv
Last active March 22, 2023 05:05
Drug related deaths by state (2020)
YEAR STATE RATE DEATHS URL
2020 AL 22.3 1029 /nchs/pressroom/states/alabama/al.htm
2020 AK 22 160 /nchs/pressroom/states/alaska/ak.htm
2020 AZ 35.8 2550 /nchs/pressroom/states/arizona/az.htm
2020 AR 19.1 546 /nchs/pressroom/states/arkansas/ar.htm
2020 CA 21.8 8908 /nchs/pressroom/states/california/ca.htm
2020 CO 24.9 1492 /nchs/pressroom/states/colorado/co.htm
2020 CT 39.1 1371 /nchs/pressroom/states/connecticut/ct.htm
2020 DE 47.3 444 /nchs/pressroom/states/delaware/de.htm
2020 FL 35 7231 /nchs/pressroom/states/florida/fl.htm
@1godfrey
1godfrey / us-states.topojson
Created March 21, 2023 18:25
United States Map with State Names
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@1godfrey
1godfrey / us.json
Created March 21, 2023 16:15
United States Map
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@1godfrey
1godfrey / world.topojson
Created March 21, 2023 03:21
world topojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@1godfrey
1godfrey / data-table-2020.csv
Created March 20, 2023 06:16
Drug Overdose Mortalities By State (2020)
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
STATE DEATHS
AL 1029
AK 160
AZ 2550
AR 546
CA 8908
CO 1492
CT 1371
DE 444
FL 7231
@1godfrey
1godfrey / Falls_vs_Year_for_each_Age_Group.csv
Created March 14, 2023 20:36
Falls vs Year for each Age Group
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021
Under 18 149 206 203 273 513 695 1104 1455 1476 1134 249 46
Adult (18-64 years) 2833 3824 3877 4329 6218 10360 15944 19153 17762 14699 5290 1424
Mature adult (65-74 years) 1125 1559 1477 1860 2477 3975 6334 8103 7557 7322 2959 937
Older adult (75-84 years) 1159 1586 1476 1738 2225 3365 5443 6524 6377 6588 2850 1024
Aged adult (85+ years) 1128 1468 1282 1195 1432 2207 3524 4536 4099 4189 2173 960
UNK 390 825 862 990 415 666 601 3104 1127 322 363 189
@1godfrey
1godfrey / Falls_vs_Age_Group.csv
Created March 14, 2023 20:36
Falls vs Age Group Data
Age Group Reported Falls
Under 18 7503
Adult (18-64 years) 105713
Mature adult (65-74 years) 45685
Older adult (75-84 years) 40355
Aged adult (85+ years) 28193
UNK 9854
@1godfrey
1godfrey / Falls_vs_Gender.csv
Created March 14, 2023 20:35
Falls vs Gender Data
Male Female Unknown
Under 18 3605 3475 423
Adult (18-64 years) 51109 50768 3836
Mature adult (65-74 years) 22886 20907 1892
Older adult (75-84 years) 19696 18757 1902
Aged adult (85+ years) 10978 14551 2666
UNK 535 639 8680
Totals 108809 109097 19399