## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
## 
## Attaching package: 'reshape2'
## The following object is masked from 'package:tidyr':
## 
##     smiths
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ forcats   1.0.0     ✔ readr     2.1.4
## ✔ ggplot2   3.4.4     ✔ stringr   1.5.1
## ✔ lubridate 1.9.3     ✔ tibble    3.2.1
## ✔ purrr     1.0.2     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
## Warning: package 'kableExtra' was built under R version 4.3.3
## 
## Attaching package: 'kableExtra'
## 
## The following object is masked from 'package:dplyr':
## 
##     group_rows
## Warning: NAs introduced by coercion
## [1] 0
## [1] 0
## [1] 0
## [1] 0
## `summarise()` has grouped output by 'pmed_drug_name', 'pmed_drug_method'. You
## can override using the `.groups` argument.
drug name drug method SSD count ASD count
alprazolam oral 1 0
amphetamine and dextroamphetamine oral 0 2
apo-divalproex oral 0 1
aripiprazole depot 15 0
aripiprazole oral 38 7
atomoxetine oral 1 1
benztropine oral 28 0
bromazepam oral 1 0
bupropion oral 13 4
buproprion oral 1 0
buspirone oral 5 0
citalopram oral 13 3
clomipramine oral 5 0
clonazepam oral 25 0
clonidine hydrochloride oral 0 1
clozapine oral 74 0
desvenlafaxine oral 0 3
dextroamphetamine oral 2 0
divalproex oral 1 0
divalproex sodium oral 0 1
doxepin oral 1 0
duloxetine oral 4 1
escitalopram oral 20 6
eszopiclone oral 1 0
ethopropazine oral 1 0
fluoxetine oral 9 16
flupentixol depot 3 0
flupentixol oral 1 0
fluphenazine depot 7 0
fluphenazine oral 4 0
fluvoxamine oral 0 2
gabapentin oral 4 0
guanfacine oral 1 3
haloperidol depot 9 0
haloperidol oral 4 0
hydroxyzine oral 2 0
lamotrigine oral 12 0
lisdexamfetamine oral 1 8
lithium oral 15 0
lorazepam oral 11 0
loxapine oral 3 0
lurasidone oral 10 2
melatonin oral 0 1
methoprazine oral 1 0
methylphenidate oral 1 14
minocycline oral 1 0
naltrexone oral 1 0
olanzapine oral 40 0
oxazepam oral 0 1
oxcarbazepine oral 2 0
paliperidone depot 14 0
paliperidone oral 6 1
paroxetine oral 4 0
periciazine oral 1 0
perphenazine oral 5 0
propranolol oral 0 1
quetiapine oral 23 5
risperidone depot 4 0
risperidone oral 44 1
sertraline oral 26 13
taro-testosterone oral 0 1
thiothixene oral 2 0
tranzadone oral 0 1
trazodone oral 7 2
valproate oral 15 0
venlafaxine oral 11 2
vortioxetine oral 1 0
ziprasidone oral 5 0
zopiclone oral 2 0