ct_read_results: Download the whole record of a single study

Description Usage Arguments Value Examples

View source: R/ct_read_results.R

Description

Returns the study record as an xml_document object.

Usage

1

Arguments

URL

The URL given after searching on ClinicalTrials.gov.

Value

A dataframe of the ClinicalTrials.gov results table.

Examples

1
2
3
4
5
6
7
## Not run: 
# Copy-paste the URL from the ClinicalTrials.gov website
URL <- "http://www.clinicaltrials.gov/ct2/results?cond=Heart+Failure"
# Download results table
results_table <- get_results_table(URL)

## End(Not run)

serghiou/clinicaltrialr documentation built on Dec. 27, 2021, 10:53 a.m.