Skip to content

Commit

Permalink
cran release and website update
Browse files Browse the repository at this point in the history
  • Loading branch information
shug0131 committed Jan 17, 2022
1 parent 37c1206 commit 5b67fd2
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 107 deletions.
57 changes: 0 additions & 57 deletions ClinicalTrialsDotGov/Readme.md

This file was deleted.

Binary file removed R/eudract_0.1.0.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.1.0.zip
Binary file not shown.
Binary file removed R/eudract_0.10.0.9000.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.11.0.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.11.0.zip
Binary file not shown.
Binary file removed R/eudract_0.2.0.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.2.0.zip
Binary file not shown.
Binary file removed R/eudract_0.9.0.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.9.0.zip
Binary file not shown.
Binary file removed R/eudract_0.9.1.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.9.1.zip
Binary file not shown.
Binary file removed R/eudract_0.9.2.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.9.2.zip
Binary file not shown.
Binary file removed R/eudract_0.9.3.tar.gz
Binary file not shown.
Binary file removed R/eudract_0.9.3.zip
Binary file not shown.
47 changes: 0 additions & 47 deletions bak_.travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions bak_codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is a document giving the specification for the project and will be used to

* Within the R package a [reference manual](https://cran.r-project.org/web/packages/eudract/eudract.pdf) is included that documents all the functions and data.
* Background, explanation and a worked example is provided in a [vignette](https://cran.r-project.org/web/packages/eudract/vignettes/eudract.html) to compliment the reference manual.
* The [FAQ](faq) section of the website is another piece of training material.
* The [FAQ](faq.html) section of the website is another piece of training material.

## Testing

Expand Down
27 changes: 27 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,33 @@ toc: true
* toc
{:toc}

## Worked Example

The [vignette](https://cran.r-project.org/web/packages/eudract/vignettes/eudract.html) from the R package gives a fully worked example. The canonical example given in the R package's help pages gives the key commands to create XML files suitable for upload to either EudraCT or ClinicalTrials (note the final `clintrials_gov_upload` command is based on a fictitious user account and will not work).

~~~
safety_statistics <- safety_summary(safety,
exposed=c("Experimental"=60,"Control"=67))
simple <- tempfile(fileext = ".xml")
eudract <- tempfile(fileext = ".xml")
ct <- tempfile(fileext = ".xml")
simple_safety_xml(safety_statistics, simple)
eudract_convert(input=simple,
output=eudract)
clintrials_gov_convert(input=simple,
original=system.file("extdata", "1234.xml", package ="eudract"),
output=ct)
# This needs a real user account to work
clintrials_gov_upload(
input=simple,
orgname="CTU",
username="Student",
password="Guinness",
studyid="1234"
)
~~~

For SAS and Stata, the example script is the starting point that should work and allow you to adapt to your needs.

## What do the variables mean in the input data?

Expand Down

0 comments on commit 5b67fd2

Please sign in to comment.