conDet <- getExampleConnectionDetails()
connectionHandler <- ResultModelManager::ConnectionHandler$new(conDet)
ageData <- getCharacterizationDemographics(
connectionHandler = connectionHandler,
schema = 'main',
targetId = 1,
outcomeId = 3,
type = 'age'
)
plotAgeDistributions(ageData = ageData)
Run the code above in your browser using DataLab