Similar to Jupyter Notebooks, R Notebooks interweave Markdown text and R code to create updateable data documents to serve many purposes. These documents can be published in a wide variety of formats.
Create entire automatically generated data based websites with
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 (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
}]
}