Create HTML protocol document using the Strategus json specification
# install dependencies
remotes::install_github('ohdsi/ProtocolGenerator')
library(ProtocolGenerator)
# to run the protocol generator with a demo json specification
test <- generateProtocol(
jsonLocation = getDemoLoc(),
webAPI = 'https://api.ohdsi.org/WebAPI',
outputLocation = './protocol'
)
# to run with your own json spec
test <- generateProtocol(
jsonLocation = '<insert location to json specification file>',
webAPI = 'https://api.ohdsi.org/WebAPI',
outputLocation = './protocol'
)
ProtocolGenerator is an R package.
Running the package requires R.
- In R, use the following commands to download and install ProtocolGenerator:
install.packages("remotes")
remotes::install_github("ohdsi/ProtocolGenerator")
Documentation can be found on the package website.
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
Read here how you can contribute to this package.
ProtocolGenerator is licensed under Apache License 2.0.
ProtocolGenerator is being developed in R Studio.
Under development