From 316c729b999ee02fb228cfeb8b7571b52b0e793e Mon Sep 17 00:00:00 2001 From: gabrielodom Date: Wed, 3 Jan 2024 09:36:11 -0600 Subject: [PATCH] Built site for gh-pages --- .nojekyll | 2 +- _figures/dplyr_joins_venn.svg | 282 ++++++++++++++++++++++++++++++++++ lessons/lesson09_dplyr.html | 6 +- sitemap.xml | 36 ++--- 4 files changed, 305 insertions(+), 21 deletions(-) create mode 100644 _figures/dplyr_joins_venn.svg diff --git a/.nojekyll b/.nojekyll index 0bfde48..7b79c48 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -619fe22f \ No newline at end of file +80dfce92 \ No newline at end of file diff --git a/_figures/dplyr_joins_venn.svg b/_figures/dplyr_joins_venn.svg new file mode 100644 index 0000000..ce176c7 --- /dev/null +++ b/_figures/dplyr_joins_venn.svg @@ -0,0 +1,282 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + left_join(x, y) + + right_join(x, y) + inner_join(x, y) + full_join(x, y) + anti_join(x, y) + anti_join(y, x) + + diff --git a/lessons/lesson09_dplyr.html b/lessons/lesson09_dplyr.html index e7b20f7..b402fb6 100644 --- a/lessons/lesson09_dplyr.html +++ b/lessons/lesson09_dplyr.html @@ -1575,13 +1575,15 @@

Grouping by

Using *_join() to Merge Tibbles

If you have two or more tables which share one or more columns, then you can join these tables using the *_join() family of functions. For two data tables A and B with a shared column named "x", these functions are

+

There is a Data Carpentry lesson on dplyr:: joins that may be helpful to you, and I copied this Venn diagram from that lesson.

+

Carrier Name Data

Take a look at the names of the airlines in the flights data set (the unique() function does what you think it does)

diff --git a/sitemap.xml b/sitemap.xml index fcd34d5..ced0ba8 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,74 +2,74 @@ https://gabrielodom.github.io/PHC6701_r4ds/index.html - 2024-01-01T16:21:04.719Z + 2024-01-03T15:34:37.505Z https://gabrielodom.github.io/PHC6701_r4ds/about.html - 2024-01-01T16:21:05.107Z + 2024-01-03T15:34:38.027Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson01_greater_data_science.html - 2024-01-01T16:21:07.118Z + 2024-01-03T15:34:40.506Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson10_stringr.html - 2024-01-01T16:21:11.079Z + 2024-01-03T15:34:45.629Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson07_lists_and_tibbles.html - 2024-01-01T16:21:14.826Z + 2024-01-03T15:34:50.632Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson06_atomic_vectors.html - 2024-01-01T16:21:17.415Z + 2024-01-03T15:34:53.957Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson04s_examples.html - 2024-01-01T16:21:30.156Z + 2024-01-03T15:35:10.541Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson11_functions.html - 2024-01-01T16:21:32.259Z + 2024-01-03T15:35:13.274Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson09s_dplyr_v_base.html - 2024-01-01T16:21:35.680Z + 2024-01-03T15:35:17.787Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson04_ggplot.html - 2024-01-01T16:21:44.226Z + 2024-01-03T15:35:28.711Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson12_purrr.html - 2024-01-01T16:21:50.212Z + 2024-01-03T15:35:35.254Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson05_RStudio_projects.html - 2024-01-01T16:21:52.300Z + 2024-01-03T15:35:37.803Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson02s_scripts.html - 2024-01-01T16:21:53.418Z + 2024-01-03T15:35:39.256Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson08_Data_Read_Write.html - 2024-01-01T16:21:57.296Z + 2024-01-03T15:35:43.952Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson13_eda_w_tidyverse.html - 2024-01-01T16:22:04.347Z + 2024-01-03T15:35:51.889Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson02_introduction_to_R.html - 2024-01-01T16:22:06.356Z + 2024-01-03T15:35:54.467Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson03_introduction_to_Quarto.html - 2024-01-01T16:22:06.907Z + 2024-01-03T15:35:55.156Z https://gabrielodom.github.io/PHC6701_r4ds/lessons/lesson09_dplyr.html - 2024-01-01T16:22:18.949Z + 2024-01-03T15:36:09.833Z