Skip to contents
ctrdata-registers
Information on clinical trial registers
ctrdata-trial-concepts
Trial concepts implemented across registers
ctrdata
Getting started, database connection, function overview

Download information from clinical trial registers

ctrFindActiveSubstanceSynonyms()
Find synonyms of an active substance
ctrGenerateQueries()
Generates queries that work across registers
ctrGetQueryUrl()
Get register name and query parameters from search URL
ctrLoadQueryIntoDb()
Load and store register trial information
ctrOpenSearchPagesInBrowser()
Open register to show query results or search page
ctrShowOneTrial()
Show full structure and all data of a trial

Using database with downloaded trial information

dbFindFields()
Find names of fields in the database collection
dbFindIdsUniqueTrials()
Get identifiers of deduplicated trial records
dbGetFieldsIntoDf()
Create data frame of specified fields from database collection
dbQueryHistory()
Show history of queries loaded into a database collection

Operate on data frame from dbGetFieldsIntoDf

dfMergeVariablesRelevel()
Merge variables, keeping type, and optionally relevel factors
dfName2Value()
Get value for variable of interest
dfTrials2Long()
Convert data frame with trial records into long format

Calculate trial concepts

f.controlType()
Calculate type of control data collected in a study
f.isMedIntervTrial()
Calculate if study is a medicine-interventional study
f.isUniqueTrial()
Calculate if record is unique for a study
f.likelyPlatformTrial()
Calculate if study is likely a platform trial or not
f.numSites()
Calculate number of sites of a study
f.numTestArmsSubstances()
Calculate type of control data collected in a study
f.primaryEndpointDescription()
Calculate details of a primary endpoint of a study
f.primaryEndpointResults()
Calculate type of control data collected in a study
f.resultsDate()
Calculate date of results of a study
f.sampleSize()
Calculate sample size of a study
f.sponsorType()
Calculate type of control data collected in a study
f.startDate()
Calculate start date of a study
f.statusRecruitment()
Calculate status of recruitment of a study
f.trialObjectives()
Calculate objectives of a study
f.trialPhase()
Calculate phase of a clinical trial
f.trialPopulation()
Calculate in- and exclusion criteria and age groups
f.trialTitle()
Calculate the title of a study