spiritR (version 0.1.0)

upload_ctxml: Upload an xml object to the clinicaltrials.gov registry

Description

This function will make a http POST request to upload a XML document to the clinicaltrials.gov registry.

Usage

upload_ctxml(ctxml, org_name, user_name, password)

Arguments

ctxml

A xml document created using create_ctxml() and updated with any add_arms(), add_interventions(), add_pr_outcomes() and add_sec_outcomes() that may be required.

org_name

The organisation name associated with a clinicaltrials.gov account

user_name

Username for a clinicaltrials.gov account

password

Password for a clinicaltrials.gov account

Value

A message from a http post request to show that the upload was successful or unsuccesful

Examples

Run this code
# NOT RUN {
upload_ctxml(ctxml = ctxml, org_name ="UHNToronto", user_name = "aconway",
 password = "password")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab