# Retrieve and Analyze Clinical Trials Data from Public Registers

## Documentation for package ‘ctrdata’ version 1.26.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

ctrdata | Getting started, database connection, function overview
ctrdata-registers | Information on clinical trial registers
ctrdata-trial-concepts | Trial concepts implemented across 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
dbFindFields | Find names of fields in the database collection
dbFindIdsUniqueTrials | Get identifiers of deduplicated trial records
dbGetFieldsIntoDf | Create data frame of specified fields or trial concepts from database collection
dbQueryHistory | Show history of queries loaded into collection
dfMergeVariablesRelevel | Merge variables, keeping type where possible, optionally relevel factors
dfName2Value | Get value for variable of interest
dfTrials2Long | Convert data frame with trial records into long format
f.assignmentType | Calculate type of assignment to intervention in a study
f.controlType | Calculate type of control data collected in a study
f.externalLinks | Calculate the external references from a study's register record
f.hasResults | Calculate if a study's results are available
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 number of arms or groups with investigational medicines in a study
f.primaryEndpointDescription | Calculate details of a primary endpoint of a study
f.primaryEndpointResults | Calculate details of a study's primary endpoint statistical testing
f.resultsDate | Calculate date of results of a study
f.sampleSize | Calculate sample size of a study
f.sponsorType | Calculate type of sponsor of 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