parse_study_xml: Parses study information for a trial downloaded from
clinicaltrials.gov
Description
Results of a clinical study are stored in a particular way. This reads and
organizes the from a trial xml file (stored in a temporary directory)
and returns it as a list of dataframes. Optionally includes long textblock
fields and results fields stored as separate data frames.
Logical, include long textblock fields in the
results
include_results
Logical, include results data, if available
Value
A list of data.frames, study information, locations,
interventions, arms, outcomes, results, and textblocks. Results and textblock
frames will be NULL if not requested.