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

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 25

  • @user-no9uy3vo4l
    @user-no9uy3vo4l 5 месяцев назад +1

    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 года назад +1

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

    • @Riffomonas
      @Riffomonas  2 года назад +1

      My pleasure! Thanks for watching Timmy

  • @j.knetsch3413
    @j.knetsch3413 5 месяцев назад

    omg thank you!

  • @sohilausamarabie9631
    @sohilausamarabie9631 2 года назад +1

    Amazing explanation! Thank you!!

    • @Riffomonas
      @Riffomonas  2 года назад

      Thanks for watching Sohila! 🤓

  • @hansmeiser6078
    @hansmeiser6078 2 года назад +1

    Cool.

  • @niceday2015
    @niceday2015 Год назад

    Always great.

  • @DanJohanssonJLB
    @DanJohanssonJLB 2 года назад +1

    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 года назад +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 года назад +1

      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 (ruclips.net/video/qaksmQabMUI/видео.html) or on the github repository at raw.githubusercontent.com/riffomonas/vaccination_attitudes/main/august_october_2020.csv

  • @ieliemielio
    @ieliemielio 2 года назад +1

    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 😂

  • @lichaccakaven146
    @lichaccakaven146 2 года назад +1

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

  • @johnschloss694
    @johnschloss694 2 года назад +1

    Cool video

  • @cristianjaviermena6955
    @cristianjaviermena6955 7 месяцев назад

    goatttttt

  • @russtin1
    @russtin1 2 года назад +1

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

  • @jamesleleji6984
    @jamesleleji6984 Год назад

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

  • @hansmeiser6078
    @hansmeiser6078 2 года назад +1

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

    • @Riffomonas
      @Riffomonas  2 года назад +1

      The *_join functions are the same functionality as provided by merge, but with a cleaner syntax

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