Skip to content

Commit

Permalink
Create automated build
Browse files Browse the repository at this point in the history
  • Loading branch information
RRC_GHA committed Oct 8, 2024
1 parent 491e0fe commit 15fff48
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 85 deletions.
2 changes: 1 addition & 1 deletion public/2024-10-coreR/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@
"href": "session_08.html#activity",
"title": "8  Tidy Data",
"section": "8.11 Activity",
"text": "8.11 Activity\nIn groups of 3-4 we will do two activities that will help us put into practice the concepts of tidy data, identifying keys and structuring relational data.\n\n8.11.1 Exercise 1:Identifying Tidy Data\n\n\n\n\n\n\nDoes the table follow the tidy data principles?\n\n\n\n\nLook at the tables on this file and determine if they follow the three tidy data principles. If not, which ones aren’t met?\nHow would you wrangle the data to make it tidy? Describe the steps you would take to tidy the data.\nSketch how would the tidy version look like.\n\n\n\n\n\n8.11.2 Excersice 2: Relational Databases\n\n\n\n\n\n\nPrompt\n\n\n\n\nOur funding agency requires that we take surveys of individuals who complete our training courses so that we can report on the demographics of our trainees and how effective they find our courses to be.\n\n\n\n\n\n\n\n\n\nDesign data collection tables\n\n\n\n\nIn your small groups, design a set of tables that will capture information collected in a participant survey that would apply to many courses.\nDon’t focus on designing a comprehensive set of questions for the survey, one or two simple questions would be sufficient (eg: “Did the course meet your expectations?”, “What could be improved?”, “To what degree did your knowledge increase?”).\nInclude variables (columns) with basic set of information from the surveys and about the courses, such as the date of the course and name of the course, etc.\n\n\n\n\n\n\n\n\n\nCreate entity relationsip model\n\n\n\nAfter you have thought about what kind of information you care collecting, let’s break it down and build the entity-relationship model.\n\nIdentify the entities in the relational database and add each one in a box.\nAdd variables for each entity.\nIdentify the primary and foreign keys for those entities that relate to each other.\nAdd “words” describing how each entity relates\nAdd cardinality to every relationship in the diagram. This mean, use the EDR Crow’s Foot Quick Reference to quantify how many items in an entity are related to another entity.",
"text": "8.11 Activity\n\n\n\n\n\n\n\n\nTidy data, keys and joins\n\n\n\n\nGet together in pairs or small groups\nObtain materials from instructors including activity handout and blank paper(s).\nFollow instructions in activity handout.",
"crumbs": [
"<span class='chapter-number'>8</span>  <span class='chapter-title'>Tidy Data</span>"
]
Expand Down
96 changes: 28 additions & 68 deletions public/2024-10-coreR/session_08.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,7 @@ <h2 id="toc-title">Table of contents</h2>
</ul></li>
<li><a href="#best-practices-summary" id="toc-best-practices-summary" class="nav-link" data-scroll-target="#best-practices-summary"><span class="header-section-number">8.9</span> Best Practices Summary</a></li>
<li><a href="#more-on-data-management" id="toc-more-on-data-management" class="nav-link" data-scroll-target="#more-on-data-management"><span class="header-section-number">8.10</span> More on Data Management</a></li>
<li><a href="#activity" id="toc-activity" class="nav-link" data-scroll-target="#activity"><span class="header-section-number">8.11</span> Activity</a>
<ul class="collapse">
<li><a href="#exercise-1identifying-tidy-data" id="toc-exercise-1identifying-tidy-data" class="nav-link" data-scroll-target="#exercise-1identifying-tidy-data"><span class="header-section-number">8.11.1</span> Exercise 1:Identifying Tidy Data</a></li>
<li><a href="#excersice-2-relational-databases" id="toc-excersice-2-relational-databases" class="nav-link" data-scroll-target="#excersice-2-relational-databases"><span class="header-section-number">8.11.2</span> Excersice 2: Relational Databases</a></li>
</ul></li>
<li><a href="#activity" id="toc-activity" class="nav-link" data-scroll-target="#activity"><span class="header-section-number">8.11</span> Activity</a></li>
</ul>
</nav>
</div>
Expand Down Expand Up @@ -717,85 +713,49 @@ <h2 data-number="8.10" class="anchored" data-anchor-id="more-on-data-management"
</section>
<section id="activity" class="level2" data-number="8.11">
<h2 data-number="8.11" class="anchored" data-anchor-id="activity"><span class="header-section-number">8.11</span> Activity</h2>
<p>In groups of 3-4 we will do two activities that will help us put into practice the concepts of tidy data, identifying keys and structuring relational data.</p>
<section id="exercise-1identifying-tidy-data" class="level3" data-number="8.11.1">
<h3 data-number="8.11.1" class="anchored" data-anchor-id="exercise-1identifying-tidy-data"><span class="header-section-number">8.11.1</span> Exercise 1:Identifying Tidy Data</h3>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Does the table follow the tidy data principles?
</div>
</div>
<div class="callout-body-container callout-body">
<ul>
<li><p>Look at the tables on <a href="files/recognizing-tidy-data-activity.pdf">this file</a> and determine if they follow the three tidy data principles. If not, which ones aren’t met?</p></li>
<li><p>How would you wrangle the data to make it tidy? Describe the steps you would take to tidy the data.</p></li>
<li><p>Sketch how would the tidy version look like.</p></li>
</ul>
</div>
</div>
</section>
<section id="excersice-2-relational-databases" class="level3" data-number="8.11.2">
<h3 data-number="8.11.2" class="anchored" data-anchor-id="excersice-2-relational-databases"><span class="header-section-number">8.11.2</span> Excersice 2: Relational Databases</h3>
<!-- In groups of 2-3 we will do two activities that will help us put into practice the concepts of tidy data, identifying keys and structuring relational data. -->
<!-- ### Exercise 1:Identifying Tidy Data -->
<div class="callout callout-style-default callout-tip callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Prompt
</div>
</div>
<div class="callout-body-container callout-body">
<blockquote class="blockquote">
<p>Our funding agency requires that we take surveys of individuals who complete our training courses so that we can report on the demographics of our trainees and how effective they find our courses to be.</p>
</blockquote>
</div>
</div>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Design data collection tables
Tidy data, keys and joins
</div>
</div>
<div class="callout-body-container callout-body">
<ul>
<li><p>In your small groups, design a set of tables that will capture information collected in a participant survey that would apply to many courses.</p></li>
<li><p>Don’t focus on designing a comprehensive set of questions for the survey, one or two simple questions would be sufficient (eg: “Did the course meet your expectations?”, “What could be improved?”, “To what degree did your knowledge increase?”).</p></li>
<li><p>Include variables (columns) with basic set of information from the surveys and about the courses, such as the date of the course and name of the course, etc.</p></li>
<li>Get together in pairs or small groups</li>
<li>Obtain materials from instructors including activity handout and blank paper(s).</li>
<li>Follow instructions in activity handout.</li>
</ul>
</div>
</div>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Create entity relationsip model
</div>
</div>
<div class="callout-body-container callout-body">
<p>After you have thought about what kind of information you care collecting, let’s break it down and build the entity-relationship model.</p>
<ol type="1">
<li><p>Identify the <strong>entities</strong> in the relational database and add each one in a box.</p></li>
<li><p>Add <strong>variables</strong> for each entity.</p></li>
<li><p>Identify the primary and foreign <strong>keys</strong> for those entities that relate to each other.</p></li>
<li><p>Add “words” describing how each entity relates</p></li>
<li><p>Add cardinality to every relationship in the diagram. This mean, use the <strong>EDR Crow’s Foot</strong> <a href="https://learning.nceas.ucsb.edu/2024-02-arctic/session_07.html#edr-crows-foot">Quick Reference</a> to quantify how many items in an entity are related to another entity.</p></li>
</ol>
</div>
</div>
<!-- ### Excersice 2: Relational Databases -->
<!-- ::: callout-tip -->
<!-- ## Prompt -->
<!-- > Our funding agency requires that we take surveys of individuals who complete our training courses so that we can report on the demographics of our trainees and how effective they find our courses to be. -->
<!-- ::: -->
<!-- ::: callout-note -->
<!-- ## Design data collection tables -->
<!-- - In your small groups, design a set of tables that will capture information collected in a participant survey that would apply to many courses. -->
<!-- - Don't focus on designing a comprehensive set of questions for the survey, one or two simple questions would be sufficient (eg: "Did the course meet your expectations?", "What could be improved?", "To what degree did your knowledge increase?"). -->
<!-- - Include variables (columns) with basic set of information from the surveys and about the courses, such as the date of the course and name of the course, etc. -->
<!-- ::: -->
<!-- ::: callout-note -->
<!-- ## Create entity relationsip model -->
<!-- After you have thought about what kind of information you care collecting, let's break it down and build the entity-relationship model. -->
<!-- 1. Identify the **entities** in the relational database and add each one in a box. -->
<!-- 2. Add **variables** for each entity. -->
<!-- 3. Identify the primary and foreign **keys** for those entities that relate to each other. -->
<!-- 4. Add "words" describing how each entity relates -->
<!-- 5. Add cardinality to every relationship in the diagram. -->
<!-- This mean, use the **EDR Crow's Foot** [Quick Reference](https://learning.nceas.ucsb.edu/2024-02-arctic/session_07.html#edr-crows-foot) to quantify how many items in an entity are related to another entity. -->
<!-- ::: -->
<!-- {{< include /sections/r-practice-tidy-data-joins.qmd >}} -->


</section>
</section>

</main> <!-- /main -->
Expand Down
Loading

0 comments on commit 15fff48

Please sign in to comment.