Skip to content

Commit

Permalink
Thursday pending
Browse files Browse the repository at this point in the history
Switched designation to confirmatory for list of samples for NYS as requested
  • Loading branch information
nabarunDG committed Oct 25, 2024
1 parent 1b8d6e9 commit f0a6c6b
Show file tree
Hide file tree
Showing 93 changed files with 20,874 additions and 20,771 deletions.
378 changes: 189 additions & 189 deletions chemdictionary/substances_detected.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datasets/analysis_dataset.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ 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"
"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"
"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"
"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"
Expand Down
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 @@ -21,67 +21,67 @@ substance,samples,rank
"diphenhydramine",24,20
"tramadol",24,21
"procaine",20,22
"quinine",17,23
"non-specific sugars",17,24
"non-specific sugars",17,23
"quinine",17,24
"phenethyl bromide",14,25
"bromazolam",12,26
"1-phenethyl-4-propionyloxypiperidine",11,27
"N-butyl-aniline",11,28
"menthol",9,29
"mannitol",9,30
"papaverine",7,31
"medetomidine",7,32
"mannitol",9,29
"menthol",9,30
"medetomidine",7,31
"papaverine",7,32
"bis(2,2,6,6-tetramethyl-4-piperidyl) sebacate",7,33
"despropionyl ortho-methylfentanyl",6,34
"methyl ecgonidine (MED)",6,35
"1-phenyl-1-propanamine",5,36
"N-propionyl norfentanyl",5,36
"gabapentin",5,37
"N-propionyl norfentanyl",5,38
"metonitazene",4,39
"phenacetin",4,40
"benzocaine",4,41
"tiletamine",4,42
"2-Fluoro-2-oxo PCE",4,43
"4-anilinopiperidine",4,44
"ortho-methylfentanyl",4,45
"erythritol",4,46
"xylitol",3,47
"non-specific sugar",3,48
"acetyl fentanyl",3,49
"melatonin",3,50
"tropacocaine",3,51
"N-phenethyl-N-phenylpropionamide",3,52
"sucrose",2,53
"delta-9-THC",2,54
"levamisole",2,55
"inositol",2,56
"4-Anilino-1-Boc-piperidine",2,57
"N,N-dimethylpentylone",2,58
"non-specific phthalate",2,59
"benzyl benzoate",2,60
"hydrocotarnine",2,61
"valeryl fentanyl",2,62
"ketamine",2,63
"phenethyl chloride",2,64
"1-phenyl-1-propanamine",5,38
"ortho-methylfentanyl",4,39
"4-anilinopiperidine",4,40
"tiletamine",4,41
"erythritol",4,42
"phenacetin",4,43
"benzocaine",4,44
"2-Fluoro-2-oxo PCE",4,45
"metonitazene",4,46
"tropacocaine",3,47
"melatonin",3,48
"N-phenethyl-N-phenylpropionamide",3,49
"acetyl fentanyl",3,50
"xylitol",3,51
"non-specific sugar",3,52
"urea",2,53
"ketamine",2,54
"delta-9-THC",2,55
"N,N-dimethylpentylone",2,56
"1-propionyl-4-anilinopiperidine",2,57
"levamisole",2,58
"4-Anilino-1-Boc-piperidine",2,59
"valeryl fentanyl",2,60
"inositol",2,61
"hydrocotarnine",2,62
"phenethyl chloride",2,63
"non-specific phthalate",2,64
"benzoylecgonine (BZ)",2,65
"meconin",2,66
"urea",2,67
"1-propionyl-4-anilinopiperidine",2,68
"eutylone",1,69
"methylparaben",1,70
"norcocaine",1,71
"flualprazolam",1,72
"benzyl benzoate",2,67
"sucrose",2,68
"naproxen",1,69
"non-specific organic acids",1,70
"ibuprofen",1,71
"eutylone",1,72
"p-fluoroacetyl fentanyl",1,73
"benzoic acid",1,74
"ibuprofen",1,75
"protonitazene",1,76
"niacinamide",1,77
"lactose",1,78
"1-phenethyl-4-hydroxypiperidine",1,79
"norcocaine",1,74
"benzoic acid",1,75
"1-phenethyl-4-hydroxypiperidine",1,76
"ecgonine methylester (EME)",1,77
"PMK ethyl glycidate",1,78
"noscapine",1,79
"nicotine",1,80
"naproxen",1,81
"PMK ethyl glycidate",1,82
"tetracaine",1,83
"noscapine",1,84
"ecgonine methylester (EME)",1,85
"non-specific organic acids",1,86
"tetracaine",1,81
"protonitazene",1,82
"methylparaben",1,83
"flualprazolam",1,84
"niacinamide",1,85
"lactose",1,86
14 changes: 14 additions & 0 deletions datasets/code/completed.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
title
"807983"
"807370"
"807369"
"807367"
"807103"
"807084"
"807013"
"807010"
"805458"
"805100"
"804967"
"804811"
"804752"
"602028"
"807374"
"903171"
"807375"
Expand Down
5 changes: 5 additions & 0 deletions datasets/code/result_processing.do
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,11 @@ replace confirmatory=1 if regexm(sampleid,"300555|300561|300572|300577|300593|30
replace confirmatory=1 if regexm(sampleid,"300851|300839300848|300831|300821|300810|300878|300873|300887|300885|300672|300613|300644|300674|300736|300382|300804|300807|300839|300840|300880|300902|300916|300920|300921|300926|300931|300934|300935|300937|300938|300940|300947|300948|300949|300951|300958|300960|300961|300964|900047|900055|900065|900066|900081|600528|600514")
******* Errors found by Cole in June 2024
replace confirmatory=1 if regexm(sampleid, "500732|500254|500405|500543|500931|500001|500935|500732")

******* Requested by Emily Payne Oct 2024
replace confirmatory=1 if regexm(sampleid, "600539|600541|600555|600557|600559|600562|600564|600565|600569|600577")


******* Add NC Survivors Union to confirmatory going forward
do "/Users/nabarun/Documents/dc_internal/confirmatory_program_switch.do"

Expand Down
Loading

0 comments on commit f0a6c6b

Please sign in to comment.