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

Dowloand 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 stored query in register or its 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

dfMergeTwoVariablesRelevel()
Merge two variables (superseded)
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

Utility function (MS Windows)

installCygwinWindowsDoInstall()
Install necessary helper apps (Windows only)

Deprecated

dfListExtractKey()
Extract named element(s) from list(s) into long-format data frame