From d224040928b0ddddc5239dec170c068b58c6dd44 Mon Sep 17 00:00:00 2001 From: Daniel Roelfs Date: Tue, 7 Nov 2023 18:08:34 +0100 Subject: [PATCH] update post --- content/blog/2019-analyzing-bach/index.md | 4 ++++ content/blog/2019-analyzing-bach/index.qmd | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/content/blog/2019-analyzing-bach/index.md b/content/blog/2019-analyzing-bach/index.md index 335a7a7..9cb7177 100644 --- a/content/blog/2019-analyzing-bach/index.md +++ b/content/blog/2019-analyzing-bach/index.md @@ -305,6 +305,10 @@ merged_data <- data |> ) ``` +{{< sidenote br="7em" >}} +Click on "Show code" to show the code. I hid it by default because it's quite a long chunk +{{< /sidenote >}} + I noticed that some entries in the `year` column exceeded the year of Bach's death. Bach died in 1750. I assumed that these years indicated the year of first performance or publication. In this scenario, it would be possible that certain pieces were lost and rediscovered at a later date and only then published. I thought to make a barplot of the number of compositions Bach over the course of his life, trying to see if there was any period where he was particularly productive. I also added some annotations to give the plot some context.
diff --git a/content/blog/2019-analyzing-bach/index.qmd b/content/blog/2019-analyzing-bach/index.qmd index bca65b7..c363176 100644 --- a/content/blog/2019-analyzing-bach/index.qmd +++ b/content/blog/2019-analyzing-bach/index.qmd @@ -334,6 +334,10 @@ merged_data <- data |> ) ``` +{{{< sidenote br="7em" >}}} +Click on "Show code" to show the code. I hid it by default because it's quite a long chunk +{{{< /sidenote >}}} + I noticed that some entries in the `year` column exceeded the year of Bach's death. Bach died in 1750. I assumed that these years indicated the year of first performance or publication. In this scenario, it would be possible that certain pieces were lost and rediscovered at a later date and only then published. I thought to make a barplot of the number of compositions Bach over the course of his life, trying to see if there was any period where he was particularly productive. I also added some annotations to give the plot some context. ```{r}