Learn R Programming

⚠️There's a newer version (0.1.1) of this package.Take me there.

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

Enter the following in your console for installation (uncomment the first line if devtools is not already installed):

# install.packages("devtools")
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

131

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Aaron Conway

Last Published

August 10th, 2019

Functions in spiritR (0.1.0)

upload_ctxml

Upload an xml object to the clinicaltrials.gov registry
print_ctxml

Print xml document created using spiritR
%>%

Pipe operator
spiritR-package

spiritR: Template for Clinical Trial Protocol
add_functions

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

Creates xml document for upload to clinicaltrials.gov