dplyr: Joins

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

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

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

    Thank you! Excellent explanation and coverage of the joins in dplyr. I learnt a lot from coding along with you. I hope you make more videos to share your knowledge of R, and data science.

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

    This is awesome! You have a gift for teaching. Thank you

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

    Thank you so much!! The join multiple columns was really helpful.

  • @walterbondzie2464
    @walterbondzie2464 4 года назад +3

    Please what if you have two datasets with different colnames and rows but you are asked to merge the two

    • @DataDaft
      @DataDaft  4 года назад +3

      If you have two columns with different names but that contain the same information/unique identifiers, such as "P_ID" in one data set and "Patient_ID" in the other, you can use the argument by = c("P_ID" = "Patient_ID") to join on that column despite the different column names.
      If the data sets don't have any variables in common (regardless of whether they actually have the column names) I'm not sure how they can be joined/merged in a meaningful way.

  • @mariamaroni8104
    @mariamaroni8104 3 года назад +1

    Thank you so much! This was really helpful. Hugs from Argentina!

  • @Timska
    @Timska 4 года назад +2

    Thank you for making these videos on dplyr and R studio, its really helping me out!
    If also may ask why is it that the full_join is the only command of the joins that uses by=c( ) instead of by=

    • @DataDaft
      @DataDaft  4 года назад

      When joining on only one column, you can pass in that single column name using --> by = "join_col"
      In the full_join example where we are joining on two columns, we have to pass a vector of columns so we use --> by = c("join_col1", "join_col2")

  • @lichaccakaven146
    @lichaccakaven146 4 года назад +5

    very basic ,very good.

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

    Great video on joins. Thanks

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

    which IDE are you using to run the codes? Thanks

  • @svendavidsson
    @svendavidsson 4 года назад

    Straight to the point! Very helpful. cheers

  • @carolwrezende
    @carolwrezende 3 года назад

    FINALLY A VIDEO ABOUT THIS SUBJECT IN AMERICAN ENGLISH

  • @joankettfield6194
    @joankettfield6194 3 года назад

    Thank you very clear presentation. Can dplyr replace SQL?

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

    THANK YOU

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

    Thank you genius :)

  • @KirtiTewari
    @KirtiTewari 3 года назад

    Very helpful

  • @nitufahmidakhalique2698
    @nitufahmidakhalique2698 3 года назад

    thank you

  • @shantileitch
    @shantileitch 3 года назад

    awesome

  • @jhonataoliveira2175
    @jhonataoliveira2175 3 года назад

    i fucking love u
    you saved me

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

    which IDE are you using to run the codes? Thanks