In this repository, you will find introductions to both the R programming language and to a simple analysis with R using CMS Open Data from the CERN Open Data portal. The tutorial is available in interactive form as a Jupyter notebook using the IR Kernel (in English only, for the moment) and as a PDF (in English and Spanish). You can run the Jupyter notebook in your browser without installing any software on your machine, through the power of Binder. However, installation instructions are available below if you wish to play with the notebook files offline. Note that the data will require at least a temporary connection to the CERN Open Data portal.
Language | Jupyter notebook | For print |
---|---|---|
English (EN) | View PDF | |
Spanish (ES) | Coming soon! | View PDF |
- Install Jupyter.
- Install R.
- Make the IR kernel available to Jupyter.
- In the terminal, clone this repo onto your machine, and change directories so you're inside the repo.
- Still in the terminal, type
$ jupyter notebook
. Your default browser will open with the Jupyter interface. - Click on the file ending with
.ipynb
to begin the interactive tutorial.
- Original text and code: Edith Villegas Garcia
- Additions and suggestions (the
tidyverse
example): Andrew John Lowe - Editing and conversion to Jupyter notebook by Achintya Rao
You can use Binder to interact with any such notebook via a browser without installing Jupyter or R, by hosting your notebooks on GitHub.
To do so, make sure that your GitHub repository contains the Dockerfile shown here: https://github.com/binder-examples/dockerfile-r.
Install any additional packages you want to interact with (e.g. tidyverse
) by including them in the Dockerfile.
Coming soon!