Learn R Programming

ctrdata (version 1.5.2)

ctrdata: ctrdata: Overview on functions

Description

The ctrdata package provides functions to retrieve, and to prepare for analysis, information on clinical trials from public registers (EUCTR and CTGOV). There are three categories of functions, in sequence of their use in a workflow:

Arguments

Using the database that holds downloaded information

dbFindFields, dbQueryHistory

Get an R data frame from database, and operate on it

dbGetFieldsIntoDf, dfTrials2Long, dfName2Value. dfMergeTwoVariablesRelevel,

Deduplication

From the database, a vector of de-duplicated identifiers of clinical trial records can be obtained with dbFindIdsUniqueTrials and this can be used to select subsets of interest from R dataframes.