Skip to content

Commit ffdfcbd

Browse files
author
Susan Vanderplas
committed
Fix qr code
1 parent ee5e752 commit ffdfcbd

File tree

6 files changed

+498
-10
lines changed

6 files changed

+498
-10
lines changed

_freeze/site_libs/revealjs/dist/theme/quarto.css

+2-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_freeze/slides/10-projects/execute-results/html.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
2-
"hash": "4132447fc476bfdcaf2d3eb7e9652ae2",
2+
"hash": "774d65a1399d6aa3301d6176afa14b08",
33
"result": {
4-
"engine": "knitr",
5-
"markdown": "---\ntitle: \"Projects\"\nauthor: Stat 251\ndate: April 6, 2023\ncategories: slides\nformat: revealjs\nengine: knitr\n---\n\n\n\n## Project Overview\n\n::: columns\n\n::: {.column width=\"70%\"}\n\n- Create a TidyTuesday style screencast \n[[Examples: https://www.rscreencasts.com/](https://www.rscreencasts.com/)]{.small}\n\n- Analyze a [TidyTuesday dataset from 2023](https://github.com/rfordatascience/tidytuesday) using R or Python\n\n- Approximately 45 minutes long\n\n- Show at least 4 different techniques you learned in Stat 251 this semester\n\n:::\n\n::: {.column width=\"5%\"}\n:::\n\n::: {.column width=\"20%\"}\n\n[GH link](https://classroom.github.com/a/ZxPi9guO)\n\n![](../project/qrcode.png)\n\n:::\n\n:::\n\n## Part 1 - Planning\n\nWork: In class, April 18\n\nDue: April 18, 6pm\n\nTell me: \n\n- What dataset you're using\n\n- What you're going to investigate\n\n- What Stat 251 topics you're going to cover\n\n\n## Part 2 - Script Outline\n\nWork: In class, April 20\n\nDue: April 24, 6pm\n\n- Provide a (rough) script for your screen cast\n \n - Explain how the techniques work\n \n - Discuss any challenges you had analyzing this data\n \n - Include the mistakes you made along the way!\n \n- Include pseudocode/actual code for each topic\n\n - Does not have to actually work at this point\n\n## Part 3 - Recording\n\nWork: On your own \n\nDue: May 4, 6pm\n\n- Screencast uploaded to YouTube or YuJa\n\n- Approximate time index provided for each technique you demonstrate (on GitHub)\n\n- Final code file uploaded to github repository\n\n## Part 4 - Peer Review\n\n- In place of the final exam:\n\n - Watch 2 screencasts\n \n - Peer evaluations - leave a comment on Canvas\n \n - I will provide a rubric\n\n- Take place between May 4 and Finals week\n",
4+
"markdown": "---\ntitle: Projects\nauthor: Stat 251\ndate: '2024-04-11'\ncategories:\n- slides\n- Project\n- Week12\n- Week11\nformat: revealjs\nengine: knitr\n---\n\n\n## Project Overview\n\n::: columns\n\n::: {.column width=\"70%\"}\n\n- Create a TidyTuesday style screencast \n[[Examples: https://www.rscreencasts.com/](https://www.rscreencasts.com/)]{.small}\n\n- Analyze a [TidyTuesday dataset from 2023](https://github.com/rfordatascience/tidytuesday) using R or Python\n\n- Approximately 45 minutes long\n\n- Show at least 4 different techniques you learned in Stat 251 this semester\n\n:::\n\n::: {.column width=\"5%\"}\n:::\n\n::: {.column width=\"20%\"}\n\n[GH link](https://classroom.github.com/a/ZxPi9guO)\n\n\n::: {.cell hash='10-projects_cache/revealjs/unnamed-chunk-1_64884a9e4534a94a7fa8d36cfa4a957c'}\n\n:::\n\n\n![](fig/proj_qr_code.svg)\n\n:::\n\n:::\n\n## Part 1 - Planning\n\nWork: In class, April 18\n\nDue: April 18, 6pm\n\nTell me: \n\n- What dataset you're using\n\n- What you're going to investigate\n\n- What Stat 251 topics you're going to cover\n\n\n## Part 2 - Script Outline\n\nWork: In class, April 20\n\nDue: April 24, 6pm\n\n- Provide a (rough) script for your screen cast\n \n - Explain how the techniques work\n \n - Discuss any challenges you had analyzing this data\n \n - Include the mistakes you made along the way!\n \n- Include pseudocode/actual code for each topic\n\n - Does not have to actually work at this point\n\n## Part 3 - Recording\n\nWork: On your own \n\nDue: May 4, 6pm\n\n- Screencast uploaded to YouTube or YuJa\n\n- Approximate time index provided for each technique you demonstrate (on GitHub)\n\n- Final code file uploaded to github repository\n\n## Part 4 - Peer Review\n\n- In place of the final exam:\n\n - Watch 2 screencasts\n \n - Peer evaluations - leave a comment on Canvas\n \n - I will provide a rubric\n\n- Take place between May 4 and Finals week\n",
65
"supporting": [],
76
"filters": [
87
"rmarkdown/pagebreak.lua"
98
],
10-
"includes": {},
9+
"includes": {
10+
"include-after-body": [
11+
"\n<script>\n // htmlwidgets need to know to resize themselves when slides are shown/hidden.\n // Fire the \"slideenter\" event (handled by htmlwidgets.js) when the current\n // slide changes (different for each slide format).\n (function () {\n // dispatch for htmlwidgets\n function fireSlideEnter() {\n const event = window.document.createEvent(\"Event\");\n event.initEvent(\"slideenter\", true, true);\n window.document.dispatchEvent(event);\n }\n\n function fireSlideChanged(previousSlide, currentSlide) {\n fireSlideEnter();\n\n // dispatch for shiny\n if (window.jQuery) {\n if (previousSlide) {\n window.jQuery(previousSlide).trigger(\"hidden\");\n }\n if (currentSlide) {\n window.jQuery(currentSlide).trigger(\"shown\");\n }\n }\n }\n\n // hookup for slidy\n if (window.w3c_slidy) {\n window.w3c_slidy.add_observer(function (slide_num) {\n // slide_num starts at position 1\n fireSlideChanged(null, w3c_slidy.slides[slide_num - 1]);\n });\n }\n\n })();\n</script>\n\n"
12+
]
13+
},
1114
"engineDependencies": {},
1215
"preserve": {},
1316
"postProcess": true

index.qmd

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ listing:
1616
- homework/05-graphics-results.qmd
1717
- homework/06-data-manip.qmd
1818
- homework/07-strings.qmd
19+
- homework/08-reshape.qmd
20+
- homework/09-join.qmd
21+
- homework/10-datetime.qmd
22+
- project/Dataset-Topics.qmd
23+
- project/index.qmd
24+
- project/pseudocode.qmd
1925
- slides/01-Syllabus-and-Introductions.qmd
2026
- slides/02-version-control.qmd
2127
- slides/03-review-topics.qmd
@@ -25,6 +31,7 @@ listing:
2531
- slides/07-input.qmd
2632
- slides/09-graphics.qmd
2733
- slides/10-graphics.qmd
34+
- slides/10-projects.qmd
2835
- slides/15-strings.qmd
2936
- syllabus.qmd
3037
- reading.yml

reading.yml

+30
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,33 @@
9898
type: reading
9999
image: figs/reading.svg
100100
is_live: true
101+
- path: https://srvanderplas.github.io/stat-computing-r-python/part-wrangling/06-data-join.html
102+
title: Joining Data
103+
date: '2024-04-01'
104+
pub.date: '2024-03-23'
105+
categories:
106+
- reading
107+
- Week10
108+
type: reading
109+
image: figs/reading.svg
110+
is_live: true
111+
- path: https://srvanderplas.github.io/stat-computing-r-python/part-wrangling/07-datetime.html
112+
title: Dates and Times
113+
date: '2024-04-08'
114+
pub.date: '2024-03-30'
115+
categories:
116+
- reading
117+
- Week11
118+
type: reading
119+
image: figs/reading.svg
120+
is_live: true
121+
- path: https://srvanderplas.github.io/stat-computing-r-python/part-wrangling/08-functional-prog.html
122+
title: Functional Programming and Lists
123+
date: '2024-04-22'
124+
pub.date: '2024-04-13'
125+
categories:
126+
- reading
127+
- Week13
128+
type: reading
129+
image: figs/reading.svg
130+
is_live: true

slides/10-projects.qmd

+8-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ engine: knitr
3535

3636
[GH link](https://classroom.github.com/a/ZxPi9guO)
3737

38-
![](../project/qrcode.png)
38+
```{r, echo = F}
39+
if (!file.exists("fig/proj_qr_code.svg")) {
40+
library(qrcode)
41+
generate_svg(qr_code("https://classroom.github.com/a/ZxPi9guO"), filename = "fig/proj_qr_code.svg")
42+
}
43+
```
44+
45+
![](fig/proj_qr_code.svg)
3946

4047
:::
4148

0 commit comments

Comments
 (0)