Skip to content

Commit

Permalink
Monday results
Browse files Browse the repository at this point in the history
  • Loading branch information
nabarunDG committed Nov 26, 2024
1 parent 9f1ba2e commit 92a1669
Show file tree
Hide file tree
Showing 92 changed files with 32,452 additions and 32,217 deletions.
439 changes: 220 additions & 219 deletions chemdictionary/substances_detected.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions datasets/analysis_dataset.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ sampleid,program,location,county,state,full_state,date_collect,sampletype,collec
"196","redacted","Asheville","Buncombe County","NC","North Carolina",23Nov2022,"cotton","cotton",1,"methamphetamine",0,0,0,1,0,1,0,0,0,"",0,"",,,,,,,"normal","normal",,,,,,,,,,"","","not overdose related","not involved","",,0,01Dec2022,1,0,,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Buncombe County",35.6009498,-82.5540161,"35.6009498","-82.5540161","NC | BUNCOMBE","37","021","37021"
"473","redacted","Hickory","Catawba County","NC","North Carolina",01May2022,"syringe","syringe",1,"heroin; fentanyl",1,1,0,0,0,0,0,0,0,"clear",0,"powder",,,1,,,,"weird",,1,,,,,,,,,"heroin from powder","Ostensibly fentanyl. Thinks not but very weird","unknown",,"",,0,02Jun2022,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Catawba County",35.7333312,-81.3442915,"35.7333312","-81.3442915","NC | CATAWBA","37","035","37035"
"368","redacted","Gastonia","Gaston County","NC","North Carolina",01Aug2022,"unknown","unknown",1,"fentanyl",1,1,0,0,0,0,0,0,0,"tan",0,"powder; chunky",,,1,,,,"normal","normal",,,,,,,,,,"","different color than usual","not overdose related","not involved","",,0,14Sep2022,1,1,,15,3,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,"Catawba County",35.7333312,-81.3442915,"35.2622654","-81.1838186","NC | GASTON","37","071","37071"
"280","redacted","Greensboro","Guilford County","NC","North Carolina",20May2022,"pill","pill",0,"MDMA",0,0,0,0,0,0,0,0,1,"blue",1,"pill",,1,,,,,"",,,,,,,,,,,"","?","not overdose related","not involved","",,0,09Jun2022,1,1,,3,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,"Guilford County",36.0726355,-79.7919754,"36.0726355","-79.7919754","NC | GUILFORD","37","081","37081"
"424","redacted","Greensboro","Guilford County","NC","North Carolina",15Oct2021,"spatula","spatula",0,"heroin; fentanyl",1,1,0,0,0,0,0,0,0,"white",0,"powder",,,1,,,,"",,,,,,,,,,,"","","unknown",,"",,0,11Feb2022,1,0,,7,7,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,"Guilford County",36.0726355,-79.7919754,"36.0726355","-79.7919754","NC | GUILFORD","37","081","37081"
"280","redacted","Greensboro","Guilford County","NC","North Carolina",20May2022,"pill","pill",0,"MDMA",0,0,0,0,0,0,0,0,1,"blue",1,"pill",,1,,,,,"",,,,,,,,,,,"","?","not overdose related","not involved","",,0,09Jun2022,1,1,,3,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,"Guilford County",36.0726355,-79.7919754,"36.0726355","-79.7919754","NC | GUILFORD","37","081","37081"
"437","redacted","Pitt County","Pitt County","NC","North Carolina",01Oct2022,"swab","swab",0,"unknown",0,0,0,0,0,0,0,0,0,"unknown",1,"powder",,,1,,,,"",,,,,,,,,,,"","","not overdose related","not involved","",,0,11Oct2022,1,1,,3,2,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Pitt County",35.613224,-77.3724593,"35.611481","-77.3707461","NC | PITT","37","147","37147"
"701","redacted","Asheboro","Randolph County","NC","North Carolina",02Nov2022,"swab","swab",1,"heroin; fentanyl",1,1,0,0,0,0,0,0,0,"white",0,"powder",,,1,,,,"normal; stronger","stronger",,,,,,,,,,"","","not overdose related","not involved","",,0,29Nov2022,1,1,,9,4,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,"Randolph County",35.7079146,-79.8136446,"35.7079146","-79.8136446","NC | RANDOLPH","37","151","37151"
"101","redacted","Raleigh","Wake County","NC","North Carolina",15Apr2022,"unknown","unknown",1,"MDMA",0,0,0,0,0,0,0,0,1,"brown",0,"powder; chunky",,,1,,,,"weird",,1,,,,,,,,,"","","not overdose related","not involved","",,0,04Aug2022,1,1,,2,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Guilford County",36.0726355,-79.7919754,"35.7803977","-78.6390989","NC | WAKE","37","183","37183"
"193","redacted","Chimayo","Santa Fe County","NM","New Mexico",18Nov2022,"spatula","spatula",1,"cocaine",0,0,0,1,0,0,1,0,0,"white",0,"powder; chunky; shiny",,,1,,,"shiny","stronger; more up; unpleasant","stronger",1,,1,,,,,,1,"","","involved in OD","Overdose reported","seizures",,0,22Nov2022,1,1,,5,3,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,"Santa Fe County",35.7624272,-105.9323157,"36.0039088","-105.9468664","NM | SANTA FE","35","049","35049"
"253","redacted","Brooklyn","Kings County","NY","New York",26May2022,"swab","swab",1,"crack",0,0,0,1,0,0,1,0,0,"white",0,"powder",,,1,,,,"normal","normal",,,,,,,,,,"","","not overdose related","not involved","",,0,02Jun2022,1,1,,7,1,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,"",,,"40.6526006","-73.9497211","NY | KINGS","36","047","36047"
"299","redacted","Brooklyn","Kings County","NY","New York",14May2022,"swab; spatula","multiple methods",1,"heroin; fentanyl",1,1,0,0,0,0,0,0,0,"light gray",0,"powder",,,1,,,,"normal","normal",,,,,,,,,,"","","not overdose related","not involved","",,0,26May2022,1,1,,9,5,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,"",,,"40.6526006","-73.9497211","NY | KINGS","36","047","36047"
"253","redacted","Brooklyn","Kings County","NY","New York",26May2022,"swab","swab",1,"crack",0,0,0,1,0,0,1,0,0,"white",0,"powder",,,1,,,,"normal","normal",,,,,,,,,,"","","not overdose related","not involved","",,0,02Jun2022,1,1,,7,1,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,"",,,"40.6526006","-73.9497211","NY | KINGS","36","047","36047"
"644","redacted","Galway","Saratoga County","NY","New York",30Sep2022,"swab","swab",1,"heroin; fentanyl",1,1,0,0,0,0,0,0,0,"white",0,"powder; chunky",,,1,,,,"stronger","stronger",,,,1,,,,,,"","fast acting","involved in OD","Overdose reported","fall out v quickly ear ringing after reversal 80% who used OD'd",,1,06Oct2022,1,0,,6,6,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,"Albany County",42.6511674,-73.75496800000001,"43.0186858","-74.0315162","NY | SARATOGA","36","091","36091"
"340","redacted","Shirley","Suffolk County","NY","New York",07Aug2022,"cotton","cotton",1,"heroin",1,0,0,0,0,0,0,0,0,"gray; brown",0,"powder",,,1,,,,"weird",,1,,,,,,,,,"","","not overdose related","not involved","",,0,16Aug2022,1,1,,4,2,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,"Suffolk County",40.9465118,-73.0691257,"40.8012894","-72.8675941","NY | SUFFOLK","36","103","36103"
"555","redacted","Portland","Multnomah County","OR","Oregon",24Aug2022,"unknown","unknown",1,"methamphetamine",0,0,0,1,0,1,0,0,0,"clear",0,"crystals",,,,,1,,"stronger","stronger",,,,,,,,,,"brittle, opaque, crumbly","FTS = negative","not overdose related","not involved","",,1,30Aug2022,1,0,,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Multnomah County",45.5202471,-122.674194,"45.5202471","-122.674194","OR | MULTNOMAH","41","051","41051"
"836","redacted","Portland","Multnomah County","OR","Oregon",06Nov2022,"pill","pill",1,"fentanyl",1,1,0,0,0,0,0,0,0,"blue",1,"fake pill",,1,,,,,"nice; stronger; long","stronger",,,,,1,1,,,,"","strong blues","not overdose related","not involved","",,1,14Nov2022,1,1,,7,3,1,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,"Multnomah County",45.5202471,-122.674194,"45.5202471","-122.674194","OR | MULTNOMAH","41","051","41051"
"555","redacted","Portland","Multnomah County","OR","Oregon",24Aug2022,"unknown","unknown",1,"methamphetamine",0,0,0,1,0,1,0,0,0,"clear",0,"crystals",,,,,1,,"stronger","stronger",,,,,,,,,,"brittle, opaque, crumbly","FTS = negative","not overdose related","not involved","",,1,30Aug2022,1,0,,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Multnomah County",45.5202471,-122.674194,"45.5202471","-122.674194","OR | MULTNOMAH","41","051","41051"
"408","redacted","Del Rio","Cocke County","TN","Tennessee",09Jul2022,"cotton","cotton",1,"fentanyl",1,1,0,0,0,0,0,0,0,"brown",0,"powder",,,1,,,,"weird; weaker; unpleasant","weaker",1,,,1,,,,,,"","","involved in OD","Overdose reported","rapid fall out person sober for 3+ years. 2 doses naloxone",,1,29Jul2022,1,1,,15,11,1,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,1,1,0,1,0,0,"Madison County",35.7974807,-82.6839313,"35.9198223","-83.0257054","TN | COCKE","47","029","47029"
"256","redacted","Jackson","Madison County","TN","Tennessee",15Jun2022,"spatula","spatula",1,"fentanyl",1,1,0,0,0,0,0,0,0,"white",0,"powder",,,1,,,,"normal","normal",,,,,,,,,,"","","not overdose related","not involved","",,0,17Jul2022,1,1,,7,4,1,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,"",,,"35.6144446","-88.8177418","TN | MADISON","47","113","47113"
"249","redacted","South Austin","Eastland County","TX","Texas",18Jun2022,"unknown","unknown",1,"heroin",1,0,0,0,0,0,0,0,0,"light brown",0,"tar",,,,,,,"weird",,1,,,,,,,,,"","","not overdose related","not involved","",,0,16Jul2022,1,0,,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Harris County",29.7589382,-95.3676974,"32.4669645","-98.6853471","TX | EASTLAND","48","133","48133"
Binary file modified datasets/analysis_dataset.dta
Binary file not shown.
Binary file modified datasets/analysis_dataset.v8xpt
Binary file not shown.
Binary file modified datasets/analysis_dataset.xlsx
Binary file not shown.
104 changes: 52 additions & 52 deletions datasets/code/Streamlit/x_subs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ substance,samples,rank
"non-specific sugars",17,24
"phenethyl bromide",14,25
"bromazolam",12,26
"1-phenethyl-4-propionyloxypiperidine",11,27
"N-butyl-aniline",11,28
"N-butyl-aniline",11,27
"1-phenethyl-4-propionyloxypiperidine",11,28
"despropionyl ortho-methylfentanyl",10,29
"bis(2,2,6,6-tetramethyl-4-piperidyl) sebacate",10,30
"mannitol",9,31
Expand All @@ -35,56 +35,56 @@ substance,samples,rank
"papaverine",7,34
"methyl ecgonidine (MED)",6,35
"erythritol",5,36
"ketamine",5,37
"ortho-methylfentanyl",5,38
"N-propionyl norfentanyl",5,39
"4-anilinopiperidine",5,40
"1-phenyl-1-propanamine",5,41
"gabapentin",5,42
"1-phenyl-1-propanamine",5,37
"gabapentin",5,38
"ortho-methylfentanyl",5,39
"ketamine",5,40
"N-propionyl norfentanyl",5,41
"4-anilinopiperidine",5,42
"phenacetin",4,43
"benzocaine",4,44
"metonitazene",4,45
"tiletamine",4,46
"2-Fluoro-2-oxo PCE",4,47
"non-specific sugar",3,48
"xylitol",3,49
"acetyl fentanyl",3,50
"tiletamine",4,44
"2-Fluoro-2-oxo PCE",4,45
"metonitazene",4,46
"benzocaine",4,47
"tropacocaine",3,48
"N-phenethyl-N-phenylpropionamide",3,49
"xylitol",3,50
"melatonin",3,51
"tropacocaine",3,52
"N-phenethyl-N-phenylpropionamide",3,53
"urea",2,54
"meconin",2,55
"4-Anilino-1-Boc-piperidine",2,56
"sucrose",2,57
"non-specific phthalate",2,58
"1-propionyl-4-anilinopiperidine",2,59
"inositol",2,60
"hydrocotarnine",2,61
"ortho-chlorofentanyl",2,62
"benzoylecgonine (BZ)",2,63
"levamisole",2,64
"delta-9-THC",2,65
"phenethyl chloride",2,66
"benzyl benzoate",2,67
"N,N-dimethylpentylone",2,68
"valeryl fentanyl",2,69
"norcocaine",1,70
"p-fluoroacetyl fentanyl",1,71
"protonitazene",1,72
"1,4-Butanediol",1,73
"ecgonine methylester (EME)",1,74
"noscapine",1,75
"ibuprofen",1,76
"benzoic acid",1,77
"naproxen",1,78
"acetyl fentanyl",3,52
"non-specific sugar",3,53
"inositol",2,54
"levamisole",2,55
"non-specific phthalate",2,56
"N,N-dimethylpentylone",2,57
"valeryl fentanyl",2,58
"benzyl benzoate",2,59
"4-Anilino-1-Boc-piperidine",2,60
"sucrose",2,61
"urea",2,62
"meconin",2,63
"ortho-chlorofentanyl",2,64
"benzoylecgonine (BZ)",2,65
"1-propionyl-4-anilinopiperidine",2,66
"phenethyl chloride",2,67
"delta-9-THC",2,68
"hydrocotarnine",2,69
"niacinamide",1,70
"tetracaine",1,71
"lactose",1,72
"ecgonine methylester (EME)",1,73
"eutylone",1,74
"nicotine",1,75
"benzoic acid",1,76
"non-specific organic acids",1,77
"noscapine",1,78
"1-phenethyl-4-hydroxypiperidine",1,79
"eutylone",1,80
"PMK ethyl glycidate",1,81
"non-specific organic acids",1,82
"methylparaben",1,83
"lactose",1,84
"pending identification",1,85
"niacinamide",1,86
"flualprazolam",1,87
"nicotine",1,88
"tetracaine",1,89
"naproxen",1,80
"protonitazene",1,81
"1,4-Butanediol",1,82
"ibuprofen",1,83
"p-fluoroacetyl fentanyl",1,84
"flualprazolam",1,85
"PMK ethyl glycidate",1,86
"pending identification",1,87
"methylparaben",1,88
"norcocaine",1,89
51 changes: 50 additions & 1 deletion datasets/code/completed.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
title
"805427"
"807179"
"803255"
"804928"
"903138"
"808154"
"808153"
"808151"
"808145"
"808143"
"808060"
"808047"
"808019"
"808005"
"807992"
"807909"
"807892"
"807775"
"807484"
"807482"
"807480"
"807318"
"807313"
"807312"
"807184"
"807181"
"807178"
"807177"
"807106"
"806710"
"806658"
"806540"
"806434"
"806395"
"806286"
"805959"
"805950"
"805928"
"805925"
"805841"
"805801"
"805732"
"805643"
"805639"
"805627"
"805618"
"805579"
"805554"
"805525"
"805435"
"805724"
"805372"
"807973"
Expand Down Expand Up @@ -8414,7 +8464,6 @@ title
"807404"
"601855"
"805384"
"805427"
"805439"
"805867"
"806726"
Expand Down
Loading

0 comments on commit 92a1669

Please sign in to comment.