Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
emitanaka committed Apr 1, 2024
1 parent 5512ff8 commit 13038b5
Show file tree
Hide file tree
Showing 11 changed files with 1,433 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
92c45738
ea187853
44 changes: 29 additions & 15 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,42 +46,56 @@
"href": "slides/slide4.html#current-learning-objective",
"title": "Joining two datasets",
"section": " Current learning objective",
"text": "Current learning objective\n\n\n-Recognize the characteristics of tidy data\n\n\n-Differentiate between the Base and Tidyverse paradigms\n\n\n-Acquire the skills to add/modify columns, subset data by rows and columns, rename column names, and perform group operations using dplyr\n\n\n-Pivot data into longer or wider format using tidyr\n\n\nJoin datasets using dplyr"
"text": "Current learning objective\n\nPlease enable JavaScript to experience the dynamic code cell content on this page.\n\n\n-Recognize the characteristics of tidy data\n\n\n-Differentiate between the Base and Tidyverse paradigms\n\n\n-Acquire the skills to add/modify columns, subset data by rows and columns, rename column names, and perform group operations using dplyr\n\n\n-Pivot data into longer or wider format using tidyr\n\n\nJoin datasets using dplyr"
},
{
"objectID": "slides/slide4.html#relational-data-models",
"href": "slides/slide4.html#relational-data-models",
"objectID": "slides/slide4.html#relational-model",
"href": "slides/slide4.html#relational-model",
"title": "Joining two datasets",
"section": "Relational data models",
"text": "Relational data models\n\nRelational database consists of multiple, linked tables.\nIn tidy data, we considered each:\n\nvariable is a column, and\nobservation is a row.\n\nIn relational data model,\n\ncolumn is often referred to as attribute or field, and\nrow is often referred to as tuple or record."
},
{
"objectID": "slides/slide4.html#portals-database",
"href": "slides/slide4.html#portals-database",
"title": "Joining two datasets",
"section": "Portals database",
"text": "Portals database\n\n\n\n\n\n\n\nErnest, Morgan; Brown, James; Valone, Thomas; White, Ethan P. (2018). Portal Project Teaching Database. figshare. Dataset. https://doi.org/10.6084/m9.figshare.1314459.v10"
"section": "Relational model",
"text": "Relational model\n\n\n\n\n\n\n\n\n\n\nA relational model organizes data into one or more tables of columns and rows, with a unique key identifying each row based on Codd (1969, 1970).\nGenerally, each table represents one entity type.\nRelational database is a database based on the relational model of data.\n\n\n\n\n\nType\nTidy data\nRelational model\n\n\n\n\nvariable\ncolumn\nattribute/field\n\n\nobservation\nrow\ntuple/record\n\n\n\n\n\n\n\n\nCodd, E.F (1969), Derivability, Redundancy, and Consistency of Relations Stored in Large Data Banks, Research Report, IBM.\nCodd, E.F (1970). “A Relational Model of Data for Large Shared Data Banks”. Communications of the ACM. Classics. 13 (6): 377–87. doi:10.1145/362384.362685. S2CID 207549016. Archived from the original on 2007-06-12."
},
{
"objectID": "slides/slide4.html#primary-key",
"href": "slides/slide4.html#primary-key",
"title": "Joining two datasets",
"section": "Primary key",
"text": "Primary key"
"text": "Primary key\n\n\n\nA primary key (sometimes called candidate key) is the smallest subset of columns that uniquely identifies each row in a table.\n\n\nPlease enable JavaScript to experience the dynamic code cell content on this page.\n\n\n\n\n\n\n\n\n\n\n\nData from Ernest, Morgan; Brown, James; Valone, Thomas; White, Ethan P. (2018). Portal Project Teaching Database. figshare. Dataset. https://doi.org/10.6084/m9.figshare.1314459.v10"
},
{
"objectID": "slides/slide4.html#simple-key-compound-key",
"href": "slides/slide4.html#simple-key-compound-key",
"title": "Joining two datasets",
"section": "Simple key & Compound key",
"text": "Simple key & Compound key\n\n\n\nIf only a single column then it is called a simple key.\nIf a key consists of more than one column then it is called a compound key.\nA table can also have no key (violating the relational model).\n\n\nPlease enable JavaScript to experience the dynamic code cell content on this page."
},
{
"objectID": "slides/slide4.html#foreign-key",
"href": "slides/slide4.html#foreign-key",
"title": "Joining two datasets",
"section": "Foreign key",
"text": "Foreign key"
"text": "Foreign key\n\n\n\nA foreign key is a column in one table that uniquely identifies a row in another table.\n\n\nPlease enable JavaScript to experience the dynamic code cell content on this page."
},
{
"objectID": "slides/slide4.html#joining-tables",
"href": "slides/slide4.html#joining-tables",
"title": "Joining two datasets",
"section": "Joining tables",
"text": "Joining tables\n\nTo join tables, we use the primary key in one table and the foreign key in another table.\nIn a relational model, a database has referential integrity if all relations between tables are valid. E.g.,\n\nAll primary key values must be unique and not missing.\nEach foreign key value must have a corresponding primary key value.\n\nIn a relational model, normalization aims to keep data organization as clean and simple as possible by avoiding redundant data entries."
},
{
"objectID": "slides/slide4.html#relationships",
"href": "slides/slide4.html#relationships",
"title": "Joining two datasets",
"section": "Relationships",
"text": "Relationships\n\nOne-to-one\nOne-to-many\nMany-to-many"
"text": "Relationships\n\nOne-to-one\nOne-to-many\nMany-to-one\nMany-to-many"
},
{
"objectID": "slides/slide4.html#joins-from-dplyr",
"href": "slides/slide4.html#joins-from-dplyr",
"title": "Joining two datasets",
"section": "Joins from dplyr",
"text": "Joins from dplyr\n\nPlease enable JavaScript to experience the dynamic code cell content on this page."
},
{
"objectID": "slides/slide4.html#summary",
Expand Down
2 changes: 1 addition & 1 deletion sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</url>
<url>
<loc>https://anu-bdsi.github.io/workshop-data-wrangling-R1/slides/slide4.html</loc>
<lastmod>2024-04-01T04:44:24.990Z</lastmod>
<lastmod>2024-04-01T08:13:15.615Z</lastmod>
</url>
<url>
<loc>https://anu-bdsi.github.io/workshop-data-wrangling-R1/slides/slide2.html</loc>
Expand Down
33 changes: 33 additions & 0 deletions slides/images/chickweight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions slides/images/chickwts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 19 additions & 23 deletions slides/images/unnamed-chunk-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions slides/images/unnamed-chunk-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion slides/slide1.html
Original file line number Diff line number Diff line change
Expand Up @@ -6067,7 +6067,7 @@ <h2>Summary</h2>
<section id="exercise-time" class="title-slide slide level1 center" data-background-color="#F5EDDE">
<h1>Exercise time</h1>
<p><a href="https://anu-bdsi.github.io/workshop-data-wrangling-R1/materials.html#tabset-1-1-tab" class="f-headline"><i class="fas fa-laptop-code"></i></a></p>
<p></p><div class="countdown" id="timer_4872de00" data-update-every="1" tabindex="0" style="right:0;bottom:0;font-size:3em;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <code class="countdown-time"><span class="countdown-digits minutes">20</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code> </div><p></p>
<p></p><div class="countdown" id="timer_1bd0275e" data-update-every="1" tabindex="0" style="right:0;bottom:0;font-size:3em;"> <div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div> <code class="countdown-time"><span class="countdown-digits minutes">20</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code> </div><p></p>

<div class="quarto-auto-generated-content">
<p><img src="_extensions/anu-links/anu-light/logo/ANU_ Crest_Gold.png" class="slide-logo"></p>
Expand Down
Loading

0 comments on commit 13038b5

Please sign in to comment.