No video

Using dplyr's join functions in R to filter and merge data frames (CC164)

  Рет қаралды 5,605

Riffomonas Project

Riffomonas Project

Күн бұрын

Пікірлер: 25
@user-no9uy3vo4l
@user-no9uy3vo4l 5 ай бұрын
I have been trying to join my data for the last 4 days and finally! Thank you! I have been starting from the way beginning of your videos from 3 years ago. Thank you for sharing and being so detailed and adding extra functions and ideas that someone else may need to use.
@Riffomonas
@Riffomonas 5 ай бұрын
Im so glad to hear they’ve been helpful!
@timmytesla9655
@timmytesla9655 2 жыл бұрын
Super useful explanation. The Anti-join function here is easier than that in SQL. Thanks for the video.
@Riffomonas
@Riffomonas 2 жыл бұрын
My pleasure! Thanks for watching Timmy
@j.knetsch3413
@j.knetsch3413 5 ай бұрын
omg thank you!
@sohilausamarabie9631
@sohilausamarabie9631 2 жыл бұрын
Amazing explanation! Thank you!!
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks for watching Sohila! 🤓
@hansmeiser6078
@hansmeiser6078 2 жыл бұрын
Cool.
@niceday2015
@niceday2015 Жыл бұрын
Always great.
@ieliemielio
@ieliemielio 2 жыл бұрын
The joins are also the way to mimic Excel’s much-loved VLOOKUP function
@Riffomonas
@Riffomonas 2 жыл бұрын
I feel like I need to do a “Pat relearns Excel” series 😂
@jamesleleji6984
@jamesleleji6984 Жыл бұрын
How do you combine two data frames with different column names with the union function
@DanJohanssonJLB
@DanJohanssonJLB 2 жыл бұрын
pat i love hadley so much for making my hard learned SQL skills relevant again by bringing them into R. As you mentioned, i also like to be explicit and always use the "by" argument, but this is also why i always use left_join. I feel like inner_join hides missing records from me and I want to know things are missing so I can handle those missing entries right away. Obviously you could look for missing data further along in your code but i'd rather just deal with it now. maybe there's a better way that I'm not aware of....
@Riffomonas
@Riffomonas 2 жыл бұрын
Hi Daniel - thanks for watching and writing. I *love* the joins. I get a lot out of seeing how other people use them
@peteralfred7006
@peteralfred7006 2 жыл бұрын
Hey Pat I am lost on the way. I want to know where did you come up with the ipsos dataset? I followed the link, I was totally lost on the way.
@Riffomonas
@Riffomonas 2 жыл бұрын
Hi Peter - I'm sorry the link above wasn't working but it is now. You can find it in the original video from this series (kzbin.info/www/bejne/p5LOpKCHlseAi6s) or on the github repository at raw.githubusercontent.com/riffomonas/vaccination_attitudes/main/august_october_2020.csv
@cristianjaviermena6955
@cristianjaviermena6955 6 ай бұрын
goatttttt
@johnschloss694
@johnschloss694 2 жыл бұрын
Cool video
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks dude
@russtin1
@russtin1 2 жыл бұрын
I remember really struggling to get merge to perform a left_join in my pre-tidyverse days
@lichaccakaven146
@lichaccakaven146 2 жыл бұрын
超喜欢你的讲解!!^_^
@haraldurkarlsson1147
@haraldurkarlsson1147 Жыл бұрын
Would location %in% c(“Australia”, “Brazil”, …) not have worked here? I guess that is mute since you filter with a join later but still good to know that there is a short-cut.
@Riffomonas
@Riffomonas 5 ай бұрын
Both would work
@hansmeiser6078
@hansmeiser6078 2 жыл бұрын
What is the difference between merge(all=TRUE) and full_join()?
@Riffomonas
@Riffomonas 2 жыл бұрын
The *_join functions are the same functionality as provided by merge, but with a cleaner syntax
Using dplyr's group_by for grouping data in R (CC163)
10:56
Riffomonas Project
Рет қаралды 4,7 М.
Using dplyr's group_by function with and without summarize (CC233)
25:54
Riffomonas Project
Рет қаралды 4,8 М.
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 22 МЛН
Indexing and looping over lists in R, a tutorial (CC174)
19:59
Riffomonas Project
Рет қаралды 4,9 М.
Combining Data Sets in R with left_join()
9:14
Equitable Equations
Рет қаралды 7 М.
Using dplyr's filter function to pick rows from a data frame in R (CC161)
18:02
Join data frames in R with inner_join and anti_join (CC254)
25:46
Riffomonas Project
Рет қаралды 1,7 М.
How to clean and join data from mothur with the dplyr R package (CC101)
25:48
Three approaches to organize your R project (CC178)
16:59
Riffomonas Project
Рет қаралды 8 М.
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 22 МЛН