View source: R/extract_outcomes.R
extract_outcome | R Documentation |
Function to extract the primary and secondary outcomes.
extract_outcome(trial_path, primary_outcome = TRUE, secondary_outcome = TRUE)
trial_path |
An absolute or relative path to the XML file |
primary_outcome |
Logical. If TRUE the primary outcome is extracted. |
secondary_outcome |
Logical. If TRUE the secondary outcome is extracted. |
Returns a tidy dataframe with the basic trial metadata (a trial's NCT number, trial status, phase and title) with the primary and/or secondary outcome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.