Skip to content

Latest commit

 

History

History
218 lines (103 loc) · 4.98 KB

README.md

File metadata and controls

218 lines (103 loc) · 4.98 KB

dsMiscellaneous

License

Introduction

dsMiscellaneous is a set of miscellaneous development tools and beginner's resources for use in DataSHIELD.

DataSHIELD is a platform for privacy preserving federated analysis.

https://github.com/datashield

Files

installer_unix.sh Installer in UNIX (shell script)

installation_steps_workflow.md Installation steps for DataSHIELD

datashield_installer_basic.R R installation script to install R packages for DataSHIELD

baby_steps.R First coding project in DataSHIELD

ds.retStr.R First client side script to learn coding in DataSHIELD

     https://github.com/neelsoumya/dsBaseClient/blob/test_functions_branch/R/ds.retStr.R

retStrDS.R First server side script to learn coding in DataSHIELD

     https://github.com/neelsoumya/dsBase/blob/test_functions_branch/R/retStrDS.R

testthat.R Simple R script for using testthat for unit testing

teaching_resources.md Teaching resources using DataSHIELD

opal_instructions.txt Instructions for setting up and using Opal server (data warehouse)

Installation

Download and install VirtualBox

Install Ubuntu (in Virtual Box if necessary)

Clone the repository

git clone https://github.com/neelsoumya/dsMiscellaneous

cd dsMiscellaneous

Run installer_unix.sh

chmod 7555 installer_unix.sh

./installer_unix.sh

Run the following from the terminal

R --no-save < datashield_installer_basic.R

or type R at the terminal and at the R command prompt type the following

install.packages('devtools')
library(devtools)

devtools::install_github('neelsoumya/dsMiscellaneous')

Start RStudio Server by typing the following command at the Terminal

rstudio-server start

Go to Firefox, and type localhost:8787 to go to R Studio server

Download and install the development Virtual Machine in Virtual Box

Docker for DataSHIELD

Usage

From the Terminal run the following command

R --no-save < baby_steps.R

or in R Studio open and run the file baby_steps.R

Instructions for using DataSHIELD as a developer

Acknowledgements

We acknowledge the help and support of the DataSHIELD technical team. We are especially grateful to Tom RP Bishop, Elaine Smith, Eleanor Hyde, Stuart Wheater, Yannick Marcon, Paul Burton, Demetris Avraam, Patricia Ryser-Welch, Kevin Rue-Albrecht and Wolfgang Viechtbauer for fruitful discussions and feedback.

Contact

Soumya Banerjee

[email protected]

Citation

If you find this helpful, please cite the following DOI

10.5281/zenodo.5772830

DOI