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

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

Riffomonas Project

2 года назад

5,540 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Haraldur Karlsson
Haraldur Karlsson - 30.07.2023 08:37

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.

Ответить
NiceDay美好的一天
NiceDay美好的一天 - 14.03.2023 00:49

Always great.

Ответить
James Leleji
James Leleji - 05.01.2023 13:54

How do you combine two data frames with different column names with the union function

Ответить
Timmy Tesla
Timmy Tesla - 20.07.2022 18:41

Super useful explanation. The Anti-join function here is easier than that in SQL. Thanks for the video.

Ответить
Sohila Usama Rabie
Sohila Usama Rabie - 17.04.2022 02:48

Amazing explanation! Thank you!!

Ответить
ieliemielio
ieliemielio - 20.02.2022 14:33

The joins are also the way to mimic Excel’s much-loved VLOOKUP function

Ответить
Daniel Johansson
Daniel Johansson - 16.12.2021 19:44

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....

Ответить
russtin1
russtin1 - 22.11.2021 04:49

I remember really struggling to get merge to perform a left_join in my pre-tidyverse days

Ответить
Peter Alfred
Peter Alfred - 19.11.2021 17:12

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.

Ответить
Hans Meiser
Hans Meiser - 19.11.2021 01:29

What is the difference between merge(all=TRUE) and full_join()?

Ответить
Hans Meiser
Hans Meiser - 18.11.2021 22:58

Cool.

Ответить
John Schloss
John Schloss - 18.11.2021 20:05

Cool video

Ответить
lich accakaven
lich accakaven - 18.11.2021 20:03

超喜欢你的讲解!!^_^

Ответить