SQL-Like Joins in Base R: Livestream Recording

Published 2023-12-04
*Note: I may be compensated, but you will not be charged, if you click on the links below.
🔵Download the slides from the lectures in the series here: buff.ly/46OwiEu
🟠Want to participate in our upcoming free online workshop “Application Basics”? Details are here: buff.ly/43SfASM
🟢Check out all the lectures in the series: buff.ly/44AtKZv

This livestream event was originally recorded on November 28, 2023. See original LinkedIn event here: www.linkedin.com/events/sql-likejoinsinbaser713421…
To register for our live events , follow our company page on LinkedIn: www.linkedin.com/company/dethwench-professional-se…

đź’ˇ Read about all our online educational resources: buff.ly/45amjaQ
đź’ˇ Learn more about online group mentoring program: buff.ly/3Sw4Fsa
💡 Try the “Applications Basics” course 📣 USE DISCOUNT CODE lemon55 FOR 75% OFF REGULAR PRICE! 📣 buff.ly/3vyx7Ad
đź’ˇ EXCLUSIVE! Download 9-page list of applications terminology with definitions along with flash cards from the course! buff.ly/43yEUgT

WANT TO SUPPORT MONIKA ON SOCIAL MEDIA?
🔵Sign up for Monika’s weekly data science e-newsletter: buff.ly/2UYW60l
đźź Follow/connect with Monika on LinkedIn: www.linkedin.com/in/dethwench/
🟢Try Monika’s courses on LinkedIn Learning: linkedin-learning.pxf.io/NKN0JO
âš«Follow Monika on Twitter: twitter.com/dethwench
🟣Follow Monika on Instagram: www.instagram.com/dethwench/?hl=en
🟤Follow Monika on Facebook: www.facebook.com/DWProfSvcs

💜Intro and outro by CJ Hutchings, recorded exclusively for DPS. Check out more of CJ’s music and art here: dethwench.com/cjhutchings/
❤️Got too much work? You can hire Ebenezer as YOUR executive assistant, too! He is highly competent and reliable. Contact him here: ebdado.netlify.app/

Links/Timestamps from Video:
00:50 What do I mean by “SQL-like joins” in base R? Compared to “merge” in SAS.
05:18 Register for Monika’s free online workshop, “Application Basics!”: buff.ly/43SfASM
7:48 Explanation of “join” terminology vs. “merge” terminology
9:01 Video on NHANES data:    • Working With NHANES Data: Livestream ...  
10:12 Explanation of scenario: Joining the NHANES demographic dataset with other NHANES datasets
11:00 Using foreign package to unpack SAS XPT file into R
12:40 Using colnames() and nrow() for column names and number of rows
15:44 Trimming off only the variables needed using a “keep” vector and brackets
18:56 Executing the join
21:30 Strategy: Adding flags along with joins to keep track of source data
24:04 Referring to variables using column numbers rather than names makes it easier to automate R code
27:04 Examples of calling up columns and rows using numerical reference
29:56 Using all.y instead of all.x to execute a right join
31:08 Syntax errors by using all.x or all.y incorrectly, or putting the dataframes in an incorrect order
31:30 Definition of inner join, and how to do it in base R
32:39 Big picture: Joins in public health data
34:00 Other uses of SQL-like joins are in data warehousing
37:52 More discussion on “which” and “grep” commands: u

All Comments (1)