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

Description Usage Arguments Value Examples

View source: R/upload_ctxml.R

Description

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

Usage

1
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

1
2
3
4
5
## Not run: 
upload_ctxml(ctxml = ctxml, org_name ="UHNToronto", user_name = "aconway",
 password = "password")

## End(Not run)

spiritR documentation built on Aug. 19, 2019, 5:03 p.m.