Learn R Programming

spiritR

This package contains an Rmarkdown template for a clinical trial protocol adhering to the SPIRIT checklist. This package was inspired by the Spirit Electronic Protocol Tool & Resource SEPTRE software program.

Contained within the template is a section for each of the elements that should be adressed in a clinical trial protocol. Links to the SPIRIT statement guidance about what should be addressed in each element are provided.

Functions in this package provide the functionality to upload information from the protocol developed in your Rmardown file to a new record in the clinicaltrials.gov registry.

Installing the package

install.packages("spiritR")

# For devel version
devtools::install_github("awconway/spiritR")

Once installed, the template will be available within the RStudio IDE by selecing 'New File' > 'R Markdown' > 'From Template'.

Copy Link

Version

Install

install.packages('spiritR')

Monthly Downloads

140

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Aaron Conway

Last Published

August 19th, 2019

Functions in spiritR (0.1.1)

print_ctxml

Print xml document created using spiritR
create_ctxml

Creates xml document for upload to clinicaltrials.gov
upload_ctxml

Upload an xml object to the clinicaltrials.gov registry
%>%

Pipe operator
add_functions

Add arms, interventions and outcomes to an existing xml document for upload to clinicaltrials.gov
spiritR-package

spiritR: Template for Clinical Trial Protocol