Skip to content

Commit

Permalink
update hw5.Rmd link to lab12
Browse files Browse the repository at this point in the history
  • Loading branch information
ksiegmund committed Nov 15, 2022
1 parent 8c01db6 commit ba48311
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 18 deletions.
2 changes: 1 addition & 1 deletion website/content/assignment/13-hw5.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ This assignment is due by midnight Pacific time, December 2nd, 2022

3. Rename your final project website by modifying the relevant text in the `.yml` configuration file and the YAML header in the `index.Rmd` file. You may also modify the name of your GitHub repo so that the website url also provides a descriptive name.

**Extra Credit**: Create content across 2 pages on your website. You can use the example content from [Lab 12](https://github.com/AbigailHorn/PM566-final-project) as an example.
**Extra Credit**: Create content across 2 pages on your website. You can use the example content from [Lab 12](https://github.com/ksiegmund/PM566-lab12-example) as an example.
2 changes: 1 addition & 1 deletion website/content/assignment/13-hw5.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ <h2>Interactive Visualization I and II</h2>
<li><p>Include the visualizations created in (1) on your final project website hosted on <code>GitHub Pages</code>.</p></li>
<li><p>Rename your final project website by modifying the relevant text in the <code>.yml</code> configuration file and the YAML header in the <code>index.Rmd</code> file. You may also modify the name of your GitHub repo so that the website url also provides a descriptive name.</p></li>
</ol>
<p><strong>Extra Credit</strong>: Create content across 2 pages on your website. You can use the example content from <a href="https://github.com/AbigailHorn/PM566-final-project">Lab 12</a> as an example.</p>
<p><strong>Extra Credit</strong>: Create content across 2 pages on your website. You can use the example content from <a href="https://github.com/ksiegmund/PM566-lab12-example">Lab 12</a> as an example.</p>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ a, a > code {
float: right;
width: 47%;
}
.pull-right ~ * {
.pull-right + * {
clear: both;
}
img, video, iframe {
Expand Down
14 changes: 7 additions & 7 deletions website/static/slides/12-interactive-viz2/slides.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ opts_chunk$set(

# Schedule

**11/12 Lecture 11 (Last week)**:
**Lecture 11 (Last week)**:
- Creating interactive graphs with **plotly** for R package and tables with **DataTable**

**11/19 Lecture 12 (Today)**:
- Create a website using R Markdown and GitHub Pages (like [this](https://abigailhorn.github.io/PM566-final-project/)!)
**Lecture 12 (Today)**:
- Create a website using R Markdown and GitHub Pages (like [this](https://ksiegmund.github.io/PM566-lab12-example/)!)
- Share interactive plots on the website
- Note: [Assignment due (hpc and sql)](PM566/content/assignment/11-hw4.html)
- Note: [Assignment due Friday (hpc and sql)](https://uscbiostats.github.io/PM566/assignment/11-hw4/)

**11/26 Thanksgiving Holiday**
**11/23 Thanksgiving Holiday**

**12/3 Lecture 13 Final Project Workshop**
- Note: [Assignment due (interactive viz I and II)](PM566/content/assignment/13-hw5.html)
**11/30 Lecture 13 Final Project Workshop**
- Note: [Assignment due Dec 2 (interactive viz I and II)](https://uscbiostats.github.io/PM566/assignment/13-hw5/)

---

Expand Down
35 changes: 27 additions & 8 deletions website/static/slides/12-interactive-viz2/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@
<title>Interactive Visualization 2: Building Websites</title>
<meta charset="utf-8" />
<meta name="author" content="Abigail Horn" />
<script src="libs/header-attrs-2.11/header-attrs.js"></script>
<script src="libs/header-attrs-2.14/header-attrs.js"></script>
<link href="libs/remark-css-0.0.1/default.css" rel="stylesheet" />
<link href="libs/remark-css-0.0.1/default-fonts.css" rel="stylesheet" />
</head>
<body>
<textarea id="source">
class: center, middle, title-slide

.title[
# Interactive Visualization 2: Building Websites
]
.subtitle[
## PM 566: Introduction to Health Data Science
]
.author[
### Abigail Horn
]

---

Expand Down Expand Up @@ -56,18 +62,18 @@

# Schedule

**11/12 Lecture 11 (Last week)**:
**Lecture 11 (Last week)**:
- Creating interactive graphs with **plotly** for R package and tables with **DataTable**

**11/19 Lecture 12 (Today)**:
- Create a website using R Markdown and GitHub Pages (like [this](https://abigailhorn.github.io/PM566-final-project/)!)
**Lecture 12 (Today)**:
- Create a website using R Markdown and GitHub Pages (like [this](https://ksiegmund.github.io/PM566-lab12-example/)!)
- Share interactive plots on the website
- Note: [Assignment due (hpc and sql)](PM566/content/assignment/11-hw4.html)
- Note: [Assignment due Friday (hpc and sql)](https://uscbiostats.github.io/PM566/assignment/11-hw4/)

**11/26 Thanksgiving Holiday**
**11/23 Thanksgiving Holiday**

**12/3 Lecture 13 Final Project Workshop**
- Note: [Assignment due (interactive viz I and II)](PM566/content/assignment/13-hw5.html)
**11/30 Lecture 13 Final Project Workshop**
- Note: [Assignment due Dec 2 (interactive viz I and II)](https://uscbiostats.github.io/PM566/assignment/13-hw5/)

---

Expand Down Expand Up @@ -916,6 +922,19 @@
deleted = true;
});
})();
// add `data-at-shortcutkeys` attribute to <body> to resolve conflicts with JAWS
// screen reader (see PR #262)
(function(d) {
let res = {};
d.querySelectorAll('.remark-help-content table tr').forEach(tr => {
const t = tr.querySelector('td:nth-child(2)').innerText;
tr.querySelectorAll('td:first-child .key').forEach(key => {
const k = key.innerText;
if (/^[a-z]$/.test(k)) res[k] = t; // must be a single letter (key)
});
});
d.body.setAttribute('data-at-shortcutkeys', JSON.stringify(res));
})(document);
(function() {
"use strict"
// Replace <script> tags in slides area to make them executable
Expand Down

0 comments on commit ba48311

Please sign in to comment.