Skip to content

Commit 0b7e5d9

Browse files
authored
Merge pull request #1 from fhdsl/week4
Week 4 lecture initial draft
2 parents 0289d4a + 3a55eb7 commit 0b7e5d9

File tree

12 files changed

+1506
-248
lines changed

12 files changed

+1506
-248
lines changed

OTTR_Quarto.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 4325c7e5-7cad-438b-b62d-bd9b1dde5b7e
23

34
RestoreWorkspace: Default
45
SaveWorkspace: Default

_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ book:
1616
- index.qmd
1717
- concepts.qmd
1818
- week1.qmd
19+
- week4.qmd
1920
- miscellaneous.qmd
2021
- references.qmd
2122

data/GiBleed_5.3_1.1.duckdb

0 Bytes
Binary file not shown.

docs/index.html

Lines changed: 21 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
33

44
<meta charset="utf-8">
5-
<meta name="generator" content="quarto-1.6.40">
5+
<meta name="generator" content="quarto-1.5.57">
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

@@ -37,10 +37,10 @@
3737
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
3838
<script src="site_libs/quarto-html/anchor.min.js"></script>
3939
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
40-
<link href="site_libs/quarto-html/quarto-syntax-highlighting-549806ee2085284f45b00abea8c6df48.css" rel="stylesheet" id="quarto-text-highlighting-styles">
40+
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
4141
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
4242
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
43-
<link href="site_libs/bootstrap/bootstrap-a1c1d0abbd8b67b8b47aad02bae1bfc9.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
43+
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
4444
<script id="quarto-search-options" type="application/json">{
4545
"location": "sidebar",
4646
"copy-button": false,
@@ -130,11 +130,23 @@
130130
<a href="./week1.html" class="sidebar-item-text sidebar-link">
131131
<span class="menu-text"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Week 1</span></span></a>
132132
</div>
133+
</li>
134+
<li class="sidebar-item">
135+
<div class="sidebar-item-container">
136+
<a href="./week4.html" class="sidebar-item-text sidebar-link">
137+
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Week 4</span></span></a>
138+
</div>
133139
</li>
134140
<li class="sidebar-item">
135141
<div class="sidebar-item-container">
136142
<a href="./miscellaneous.html" class="sidebar-item-text sidebar-link">
137-
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Miscellaneous Grabbag</span></span></a>
143+
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Miscellaneous Grabbag</span></span></a>
144+
</div>
145+
</li>
146+
<li class="sidebar-item">
147+
<div class="sidebar-item-container">
148+
<a href="./references.html" class="sidebar-item-text sidebar-link">
149+
<span class="menu-text">References</span></a>
138150
</div>
139151
</li>
140152
</ul>
@@ -151,10 +163,7 @@ <h2 id="toc-title">Table of contents</h2>
151163
<ul class="collapse">
152164
<li><a href="#course-description" id="toc-course-description" class="nav-link" data-scroll-target="#course-description">Course Description</a></li>
153165
<li><a href="#learning-objectives" id="toc-learning-objectives" class="nav-link" data-scroll-target="#learning-objectives">Learning Objectives</a></li>
154-
<li><a href="#instructors" id="toc-instructors" class="nav-link" data-scroll-target="#instructors">Instructors</a></li>
155166
<li><a href="#tentative-schedule" id="toc-tentative-schedule" class="nav-link" data-scroll-target="#tentative-schedule">Tentative Schedule</a></li>
156-
<li><a href="#format-of-class" id="toc-format-of-class" class="nav-link" data-scroll-target="#format-of-class">Format of Class</a></li>
157-
<li><a href="#posit-cloud-intro" id="toc-posit-cloud-intro" class="nav-link" data-scroll-target="#posit-cloud-intro">Posit Cloud Intro</a></li>
158167
<li><a href="#culture-of-the-course" id="toc-culture-of-the-course" class="nav-link" data-scroll-target="#culture-of-the-course">Culture of the course</a></li>
159168
<li><a href="#available-course-formats" id="toc-available-course-formats" class="nav-link" data-scroll-target="#available-course-formats">Available Course Formats</a></li>
160169
</ul></li>
@@ -195,81 +204,55 @@ <h2 class="anchored" data-anchor-id="learning-objectives">Learning Objectives</h
195204
<li><strong>Explain</strong> data sources such as Databases and how to connect to them</li>
196205
<li><strong>Query</strong> data sources using database engines and Structured Query Language (SQL) to <strong>filter</strong>, <strong>join</strong>, and <strong>aggregate</strong> data</li>
197206
<li><strong>Construct</strong> and <strong>calculate</strong> new fields using <code>SELECT</code> or <code>CASE WHEN</code></li>
198-
<li>(optional) <strong>Read</strong> and <strong>explain</strong> a sample OMOP query: <a href="https://github.com/OHDSI/OMOP-Queries/tree/master" class="uri">https://github.com/OHDSI/OMOP-Queries/tree/master</a></li>
199-
</ul>
200-
</section>
201-
<section id="instructors" class="level2">
202-
<h2 class="anchored" data-anchor-id="instructors">Instructors</h2>
203-
<p>If you need to schedule some time to talk, please schedule with Ted.</p>
204-
<ul>
205-
<li><a href="https://laderast.github.io">Ted Laderas</a>, Office of the Chief Data Officer, Director of Training and Community</li>
206-
<li><a href="https://viveksriram.com/">Vivek Sriram</a>, Data Scientist, Office of the Chief Data Officer</li>
207+
<li><strong>Read</strong> and <strong>explain</strong> a sample OMOP query: <a href="https://github.com/OHDSI/OMOP-Queries/tree/master" class="uri">https://github.com/OHDSI/OMOP-Queries/tree/master</a></li>
207208
</ul>
208209
</section>
209210
<section id="tentative-schedule" class="level2">
210211
<h2 class="anchored" data-anchor-id="tentative-schedule">Tentative Schedule</h2>
211-
<p>All classes are on Fridays from 12:00-1:30 PM PST. Connection details will be provided. Office hours related to each class day are posted below, and the invite will be sent to you.</p>
212+
<p>All classes with be Fridays from 12:00-1:30 PM PST. Connection details will be provided.</p>
212213
<p>In class we will be going through the Quarto Notebooks that are hosted on Posit.cloud. No knowledge of R is necessary, we’ll show you what you need to know in class.</p>
213-
<p>Classes will be recorded, and those recordings will be sent to you after each class.</p>
214214
<table class="caption-top table">
215215
<thead>
216216
<tr class="header">
217217
<th>Week</th>
218218
<th>Date</th>
219219
<th>Subject</th>
220-
<th>Office Hours</th>
221220
</tr>
222221
</thead>
223222
<tbody>
224223
<tr class="odd">
225224
<td>Pre-class</td>
226225
<td>—-</td>
227226
<td><a href="concepts.html">Concepts of Databases</a></td>
228-
<td></td>
229227
</tr>
230228
<tr class="even">
231229
<td>1</td>
232230
<td>Feb 7</td>
233231
<td><a href="week1.html">Intro to SQL; <code>SHOW TABLES</code>, <code>DESCRIBE</code>, <code>SELECT</code>, <code>WHERE</code></a></td>
234-
<td>Feb 11</td>
235232
</tr>
236233
<tr class="odd">
237234
<td>2</td>
238235
<td>Feb 14</td>
239236
<td><code>JOIN</code>ing tables, more <code>WHERE</code></td>
240-
<td>Feb 25</td>
241237
</tr>
242238
<tr class="even">
243239
<td>-</td>
244240
<td>Feb 21</td>
245241
<td>No class (school break week)</td>
246-
<td>No office hours</td>
247242
</tr>
248243
<tr class="odd">
249244
<td>3</td>
250245
<td>Feb 28</td>
251246
<td>Calculating new fields, <code>GROUP BY</code>, <code>CASE WHEN</code>, <code>HAVING</code></td>
252-
<td>Mar 4</td>
253247
</tr>
254248
<tr class="even">
255249
<td>4</td>
256250
<td>Mar 7</td>
257251
<td>Subqueries/Views, Recap of course / review OMOP queries</td>
258-
<td>No office hours</td>
259252
</tr>
260253
</tbody>
261254
</table>
262255
</section>
263-
<section id="format-of-class" class="level2">
264-
<h2 class="anchored" data-anchor-id="format-of-class">Format of Class</h2>
265-
<p>I will teach online only, though you have the option of attending in the DaSL Lounge (Arnold M1-B406), which will have snacks and drinks available. Either Chris Lo or Vivek Sriram will host in person.</p>
266-
<p>We will spend the first 20-25 minutes of each class on catching up on last week’s exercises if you haven’t had the opportunity to work on them. Followed by that, we will have a short lecture/lab, where we will go through the notebooks for the week.</p>
267-
</section>
268-
<section id="posit-cloud-intro" class="level2">
269-
<h2 class="anchored" data-anchor-id="posit-cloud-intro">Posit Cloud Intro</h2>
270-
<p>Here is a short video introducing you to the Posit Cloud interface.</p>
271-
<div class="quarto-video ratio ratio-16x9"><iframe data-external="1" src="https://www.youtube.com/embed/tHHhVeQgYOU?si=qphKLor9wQdBB6VX&amp;t=46" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div>
272-
</section>
273256
<section id="culture-of-the-course" class="level2">
274257
<h2 class="anchored" data-anchor-id="culture-of-the-course">Culture of the course</h2>
275258
<ul>
@@ -383,6 +366,8 @@ <h2 class="anchored" data-anchor-id="available-course-formats">Available Course
383366
});
384367
clipboard.on('success', onCopySuccess);
385368
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
369+
// For code content inside modals, clipBoardJS needs to be initialized with a container option
370+
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
386371
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
387372
text: getTextToCopy,
388373
container: window.document.getElementById('quarto-embedded-source-code-modal')
@@ -498,6 +483,7 @@ <h2 class="anchored" data-anchor-id="available-course-formats">Available Course
498483
if (window.Quarto?.typesetMath) {
499484
window.Quarto.typesetMath(note);
500485
}
486+
// TODO in 1.5, we should make sure this works without a callout special case
501487
if (note.classList.contains("callout")) {
502488
return note.outerHTML;
503489
} else {

0 commit comments

Comments
 (0)