Skip to content

Commit

Permalink
Add data description and subtitles to notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie-a-lee committed Jun 27, 2024
1 parent a9c3382 commit cc25d47
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 5 deletions.
Binary file added data_description.pdf
Binary file not shown.
Binary file added exercise-solutions.pdf
Binary file not shown.
5 changes: 4 additions & 1 deletion session1_notes.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Introduction to R with Tidyverse"
author: "Dr. Sophie Lee"
subtitle: "Session 1: Introduction to R and RStudio"
author: Sophie Lee
fontfamily: lmodern
output:
pdf_document:
Expand All @@ -15,6 +16,8 @@ header-includes:
fontsize: 12pt
mainfont: Cambria
sansfont: Cambria
linkcolor: blue
url_color: blue
---

```{r setup, include=FALSE}
Expand Down
Binary file modified session1_notes.pdf
Binary file not shown.
5 changes: 4 additions & 1 deletion session2_notes.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Introduction to R with Tidyverse"
author: "Dr. Sophie Lee"
subtitle: "Session 2: Introduction to tidyverse and data wrangling"
author: "Sophie Lee"
fontfamily: lmodern
output:
pdf_document:
Expand All @@ -13,6 +14,8 @@ header-includes:
fontsize: 12pt
mainfont: Cambria
sansfont: Cambria
linkcolor: blue
url_color: blue
---

```{r setup, include=FALSE}
Expand Down
Binary file modified session2_notes.pdf
Binary file not shown.
5 changes: 4 additions & 1 deletion session3_notes.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Introduction to R with Tidyverse"
author: "Dr. Sophie Lee"
subtitle: "Session 3: Data preparation and manipulation"
author: "Sophie Lee"
fontfamily: lmodern
output:
pdf_document:
Expand All @@ -15,6 +16,8 @@ header-includes:
fontsize: 12pt
mainfont: Cambria
sansfont: Cambria
linkcolor: blue
url_color: blue
---

```{r setup, include=FALSE}
Expand Down
Binary file modified session3_notes.pdf
Binary file not shown.
7 changes: 5 additions & 2 deletions session4_notes.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Introduction to R with Tidyverse"
author: "Dr. Sophie Lee"
subtitle: "Session 4: Data visualisation with ggplot2"
author: "Sophie Lee"
fontfamily: lmodern
output:
pdf_document:
Expand All @@ -15,6 +16,8 @@ header-includes:
fontsize: 12pt
mainfont: Cambria
sansfont: Cambria
linkcolor: blue
url_color: blue
---


Expand Down Expand Up @@ -199,7 +202,7 @@ ggplot(csp_nolon_2020) +
geom_point(aes(x = sfa_2020, y = ct_total_2020, shape = "*"))
```

2. Add a line of best fit to the scatterplot showing the relationship between SFA and council tax total (hint: use ```?geom_smooth```).
2. Add a line of best fit to the scatterplot showing the relationship between SFA and council tax total (hint: use `?geom_smooth`).

3. Add a line of best fit for each region (hint: make each line a different colour).

Expand Down
Binary file modified session4_notes.pdf
Binary file not shown.

0 comments on commit cc25d47

Please sign in to comment.