Function reference
-
generateAtcCohortSet()
- Generates a cohort of the drug use of ATC name(s) of interest.
-
generateDrugUtilisationCohortSet()
- Generates a cohort of the drug use of a certain list of concepts.
-
generateIngredientCohortSet()
- Generates a cohort of the drug use of ingredient name(s) of interest.
Indication functions
Indication functions are used to summarise and obtain the indication information
-
addIndication()
- Get indication for a target cohort
-
indicationToStrata()
- Create new variables summarising the data of indication that can be used as stratification columns
-
summariseIndication()
- This function is used to summarise the indication table over multiple cohorts.
-
addDailyDose()
- add daily dose information to a drug_exposure table
-
addRoute()
- add route column to a table containing drug_exposure information
-
dailyDoseCoverage()
- Check coverage of daily dose computation in a sample of the cdm for selected concept sets and ingredient
-
patternTable()
- Function to create a tibble with the patterns from current drug strength table
-
patternsWithFormula
- Patterns valid to compute daily dose with the associated formula.
-
stratifyByUnit()
- Function to stratify a conceptSet by unit
-
addDrugUse()
- Add new columns with drug use related information
-
summariseDrugUse()
- This function is used to summarise the dose table over multiple cohorts.
Summarise treatments during certain windows
Summarise the use of different treatments during certain windows
-
summariseTreatmentFromCohort()
- This function is used to summarise the dose table over multiple cohorts.
-
summariseTreatmentFromConceptSet()
- This function is used to summarise the dose table over multiple cohorts.
Charcterise a cohort
Different functions to characterize cohort, these functions may be moved to more focused into characterization packages within DARWIN-EU framework
-
mockDrugUtilisation()
- It creates a mock database for testing drugutilisation package
-
readConceptList()
- Get concept ids from a provided path to json files
-
benchmarkDUS()
- Run benchmark of drug utilisation cohort generation