Learn R Programming

rclinicaltrials (version 1.4.7)

clinicaltrials_search: Search for clinical trials satisfying a query

Description

Searches for results and returns a data.frame with basic study information.

Usage

clinicaltrials_search(query = NULL, count = 20)

Arguments

query
Search pattern as a string; a vector of key-value pairs is interpreted as an advanced search and is therefore combined with '&'
count
Limit the results to a specified integer. Set to NULL to include all results.

Value

A data.frame with the following columns: NCT study identifier, url, study title, status, condition summary, and date last changed

Examples

Run this code
# count trials satisfying 'heart disease AND stroke AND California'
## Not run: clinicaltrials_search(query = 'heart disease AND stroke AND California')

# advanced search for open, interventional trials involving melanoma
## Not run: clinicaltrials_search(query = c('recr=Open', 'type=Intr', 'cond=melanoma'))

# limit to 10 results
## Not run: clinicaltrials_search(query = "colon cancer", count = 10)


Run the code above in your browser using DataLab