Looking beyond this introduction

GitHub and GitPages

Jupyter notebooks stored in GitHub will be shown formatted (but unrendered) in the code view, but with GitPages it is possible to display the complete rendered version of the notebook on your own site…for free!

JSON Data

JSON (JavaScript Object Notation) is a serial data format which is widely used, particularly on the internet when obtaining data from API’s (Application Programming Interface).

It allows nested storage of data not possible with a two-dimensional table alone.

{
    "title": "Fruits",
    "details": "JSON example for R workshop",
    "fruits": [
    {
        "fruit": "Apples",
        "quantity": 7,
        "varieties": [
		{
            "variety": "Royal Gala",
			"supplier": "Apples'R'Us"
		},
		{
            "variety": "Fuji",
			"supplier": "The Orchard down the road"
		}]
    },
    {
        "fruit": "Oranges",
        "quantity": 14,
        "varieties": [
		{
            "variety": "Navel",
			"supplier": "The other Orchard"
		}]
    },
    {
        "fruit": "Lemons",
        "quantity": 21
    }]
}