The docker folder has two sub-folders each with the docker builds:
packages
- a docker build with R4.0.0 and the package dependenciesrstudio
- a docker with RStudio and the packages dependencies for development environmentFor launching the RStudion on the docker environment use on the terminal:
docker run --rm -p 8787:8787 -e PASSWORD=YOUR_PASSWORD -e USER=YOUR_USERNAME-v ~/YOUR_coronavirus_PATH:/home/rstudio/coronavirus rkrispin/covid19italy_rstudio:dev
Where the PASSWORD
and USER
arguments set the password and username for login to RStudio, and ~/YOUR_coronavirus_PATH
is the corresponding path of the package on your machine. The docker is set to 8787
. Once the docker is launch you can login to RStudio on your browser using the following address http://localhost:8787/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.