Skip to content

This repository contains exercises in R programming language using CMS Open Data.

Notifications You must be signed in to change notification settings

cms-opendata-education/cms-rmaterial-multiple-languages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS Open Data: Plotting an Invariant Mass Histogram in R

Binder

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.

Tutorial files

Language Jupyter notebook For print
English (EN) Binder View PDF
Spanish (ES) Coming soon! View PDF

Instructions for offline use

  1. Install Jupyter.
  2. Install R.
  3. Make the IR kernel available to Jupyter.
  4. In the terminal, clone this repo onto your machine, and change directories so you're inside the repo.
  5. Still in the terminal, type $ jupyter notebook. Your default browser will open with the Jupyter interface.
  6. Click on the file ending with .ipynb to begin the interactive tutorial.

Credits

Technical information

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.

Licence

Coming soon!