Skip to content

Commit

Permalink
2011 update
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanrongen committed Nov 20, 2024
1 parent 252ea4d commit c7e90ca
Show file tree
Hide file tree
Showing 12 changed files with 34,921 additions and 34,797 deletions.
1 change: 1 addition & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ project:
- "!materials/*/no_render"

format: courseformat-html

exercises:
number: true
hide-answers: false
Expand Down
4 changes: 1 addition & 3 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ date: today
number-sections: false
---

## Overview

These sessions provide an introduction to coding in R and Python. The aim is to get you comfortable with coding techniques commonly used in scientific research.

::: {.callout-tip}
### Learning Objectives
### Learning objectives

- Get familiar with the R or Python programming language
- Learn to visualise data
Expand Down
2 changes: 2 additions & 0 deletions materials/03-tabular-data.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ In the previous section we dealt with single objects and vectors. Here we expand
* LO: understand data frames; matrices
* LO: exploring structure of tabular data

!["Tabular data](images/tabular_data.png)

## Working with data

* LO: read in CSV file; TSV; specifying how to deal with missing data
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 11 additions & 7 deletions materials/_chapters.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
book:
chapters:
- part: "Getting started with coding"
- part: "S1: Getting started"
chapters:
- materials/01-intro-software.qmd
- materials/02-basic-objects-and-data-types.qmd
- part: "S2: Data & plotting"
chapters:
- materials/03-tabular-data.qmd
- materials/04-plotting.qmd
- part: "Data wrangling and visualisation"
- part: "S3: Manipulating data"
chapters:
- materials/05-data-types.qmd
- materials/06-manipulating-columns.qmd
- materials/07-chaining-operations.qmd
- materials/08-manipulating-rows.qmd
- materials/09-grouped-operations.qmd
- part: "S4: Organise and combine"
chapters:
- materials/05-manipulating-columns.qmd
- materials/06-chaining-operations.qmd
- materials/07-manipulating-rows.qmd
- materials/08-grouped-operations.qmd
- materials/09-data-types.qmd
- materials/10-reshaping-data.qmd
- materials/11-combining-data.qmd
119 changes: 119 additions & 0 deletions materials/data/diabetes_patients.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
patient_id,systolic_pressure,heart_rate,weight_kg,age,diabetic
N8805,113,NA,132.84,46,yes
N6558,85,NA,137.6,61,yes
N5556,89,48,131.66,31,yes
N2297,67,31,129.78,37,yes
N7318,154,118,84.78,61,yes
N6378,78,34,78.41,52,yes
N3615,102,75,131.97,40,yes
N9260,95,50,83.7,42,yes
N6710,159,124,127.76,37,yes
N0327,124,97,82.48,39,yes
N2729,113,82,128.07,44,yes
N3727,NA,77,119.39,42,yes
N4053,NA,102,126.92,57,yes
N9763,100,66,122.34,37,yes
N9370,86,56,88.51,52,yes
N3105,100,71,80.02,40,yes
N9493,147,118,122.74,34,yes
N9740,124,86,83.47,33,yes
N8578,118,87,106.43,36,yes
N2269,104,77,87.71,51,yes
N6540,104,67,124.81,34,yes
N8825,42,3,96.7,63,yes
N7768,82,47,118.4,44,yes
N7594,94,60,111.8,32,yes
N3321,103,80,106.74,44,yes
N3908,107,67,124.19,48,yes
N9885,97,69,81.97,58,yes
N5679,84,52,94.88,44,yes
N0492,136,98,96.19,57,yes
N9240,113,85,127.16,48,yes
N5541,107,93,126.02,43,yes
N9229,117,77,82.82,52,yes
N0768,93,66,124.57,41,yes
N2449,109,72,130.75,48,yes
N4585,NA,50,100.19,48,yes
N1874,NA,51,101.88,54,yes
N3514,117,86,105.35,57,yes
N1652,107,75,NA,39,yes
N0905,110,77,111,32,yes
N9827,93,52,111.67,33,yes
N0834,118,85,136.79,35,yes
N9997,85,51,79.67,50,yes
N9535,115,79,114.03,45,yes
N2257,86,NA,110.88,44,yes
N5462,135,103,96.03,42,yes
N5239,111,68,115.97,50,yes
N2877,79,45,117.45,39,yes
N5530,79,45,78.17,30,yes
N4203,110,78,108.83,48,yes
N4969,109,55,95.98,58,yes
N1967,127,107,113.35,38,yes
N8417,NA,NA,79.52,32,yes
N6410,88,48,92.52,34,yes
N2877,97,66,NA,27,yes
N9238,84,49,116.07,43,yes
N7212,121,90,104.29,43,yes
N9349,118,89,NA,59,yes
N0467,85,57,115.35,23,yes
N0621,104,69,116.82,33,yes
N0205,76,59,107.79,48,no
N6888,93,80,72.39,61,no
N4083,90,61,96.14,54,no
N9464,85,59,75.38,43,no
N7081,119,80,68.97,36,no
N3923,94,71,86.64,41,no
N7134,103,65,62.9,55,no
N8136,127,90,54.11,43,no
N5784,85,55,115.02,58,no
N5147,91,74,55.34,46,no
N8283,70,54,57.05,42,no
N9819,114,67,83.35,45,no
N2010,87,64,96.96,46,no
N2947,92,65,68.18,41,no
N3321,68,NA,91.82,40,no
N3918,99,NA,NA,55,no
N0936,79,51,71.75,36,no
N2960,69,53,106.67,41,no
N5935,96,77,110.95,47,no
N0142,87,72,100.01,38,no
N3181,94,79,79.38,53,no
N5442,92,58,75.09,43,no
N0926,101,60,98.7,41,no
N9785,102,81,66.85,37,no
N8086,99,70,97.93,46,no
N8125,134,79,52.75,31,no
N1462,69,59,102.41,53,no
N9748,88,46,101.17,52,no
N3518,91,49,NA,45,no
N2987,55,51,59.45,51,no
N1296,117,74,65.16,42,no
N3078,76,53,61.49,69,no
N4111,65,58,76.66,50,no
N9348,85,53,76.78,32,no
N8166,102,68,115.75,51,no
N4498,85,51,75.77,54,no
N6176,100,51,53.03,41,no
N9995,59,48,111.25,55,no
N0445,102,69,NA,51,no
N1699,126,76,58.78,37,no
N8807,82,64,100.09,30,no
N5871,79,54,86.5,45,no
N8369,128,76,63.83,38,no
N0487,94,57,53.92,40,no
N7382,97,72,NA,33,no
N9838,80,68,78.05,39,no
N2303,91,55,92.81,44,no
N7620,79,NA,64.88,47,no
N6609,82,62,98.83,44,no
N1186,50,46,113.33,33,no
N9751,115,92,75.42,52,no
N2265,NA,77,92.5,56,no
N8156,79,47,89.68,34,no
N7870,50,45,115.07,46,no
N6467,NA,82,52.57,44,no
N4159,110,84,75.99,53,no
N4453,96,74,105.11,33,no
N4513,71,65,59.39,50,no
N7071,92,72,58.77,60,no
Loading

0 comments on commit c7e90ca

Please sign in to comment.