Skip to contents
ctrdata-registers
ctrdata: information on clinical trial registers
ctrdata-package ctrdata
ctrdata: get started, database connection, function overview

Download information from clinical trial registers

ctrFindActiveSubstanceSynonyms()
Find synonyms of an active substance
ctrGetQueryUrl()
Get query details
ctrLoadQueryIntoDb()
Load and store register trial information
ctrOpenSearchPagesInBrowser()
Open reigster to show query results or search page

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