Using dplyr's group_by for grouping data in R (CC163)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 26

  • @juliesong5575
    @juliesong5575 3 ปีที่แล้ว +2

    This is the best online instructions I found! I hope the channel can continue to run!

    • @Riffomonas
      @Riffomonas  3 ปีที่แล้ว

      Hi Julie - thanks! I hope to keep it going for as long as people keep watching :)

  • @tommy.h.descartes
    @tommy.h.descartes 3 ปีที่แล้ว +2

    I am really enjoying your TH-cam channel

    • @Riffomonas
      @Riffomonas  3 ปีที่แล้ว

      Hey Tommy - thanks!

  • @kuba37571
    @kuba37571 ปีที่แล้ว

    Ingenious tutorial. Thanks!

  • @mahmudurrahman9052
    @mahmudurrahman9052 3 ปีที่แล้ว +1

    Another great episode. Finally understood why "ungroup" is important. Thanks for the great videos .

  • @sven9r
    @sven9r 3 ปีที่แล้ว +1

    very nice approach! makes a lot of sense to touch online data like that! I really appreciate coming home after a long day in the lab and watching your videos :)

  • @erikrosdorff606
    @erikrosdorff606 2 ปีที่แล้ว +1

    You are an awesome instructor!

    • @Riffomonas
      @Riffomonas  2 ปีที่แล้ว

      Thanks Erik! 🤓

  • @niteshmishra9146
    @niteshmishra9146 3 ปีที่แล้ว +6

    Filtering can also be done using the %in% operator. For example, for the location filter, we can do owid %>% filter(location %in% c('Australia', 'Brazil', 'Canada', 'China', 'France', 'Germany')). Using the %in% just makes adding new filters without recalling the column variable if you want to later change something.

    • @Riffomonas
      @Riffomonas  3 ปีที่แล้ว +1

      Yep. I’ve done this in other episodes. In the next episode we’ll do this without needing the filter function at all. I hope you’ll stay tuned for that episode!

    • @niteshmishra9146
      @niteshmishra9146 3 ปีที่แล้ว

      @@Riffomonas Yes. I will. I came across the channel a month or so ago and since then I have watched almost all the videos available. You are a brilliant teacher.

    • @afonsoosorio2099
      @afonsoosorio2099 ปีที่แล้ว

      You are absolutely right. The code could look nicer and succinct

  • @pharmdmsphd
    @pharmdmsphd ปีที่แล้ว

    Thanks!

    • @Riffomonas
      @Riffomonas  9 หลายเดือนก่อน

      Thank you so much for your generosity!

    • @pharmdmsphd
      @pharmdmsphd 9 หลายเดือนก่อน

      Haha! I figure I owed you a coffee. This tutorial was a huge help! Not sure if you've tackled any videos on tidy r and their reshaping and the ins and outs of functions like separate_rows, but that's been where I've been spending my time these days. I know content creation can be a ton of work, so wanted to now that the it is much appreciated

  • @tommy.h.descartes
    @tommy.h.descartes 3 ปีที่แล้ว +1

    Hi can you show how to use quarterly or monthly data to calculate annual data and create a new annualized variable.

    • @Riffomonas
      @Riffomonas  3 ปีที่แล้ว +1

      Hi Tommy - That's something I might touch on in some future episodes with a different dataset that I'm thinking about using. Thanks for the suggestion

  • @desiertoalex
    @desiertoalex 3 ปีที่แล้ว +1

    This is great!

    • @Riffomonas
      @Riffomonas  3 ปีที่แล้ว

      Thanks for watching!

  • @hansmeiser6078
    @hansmeiser6078 3 ปีที่แล้ว +1

    Cool!

  • @herojoy9567
    @herojoy9567 ปีที่แล้ว

    thx you i find your intro code for hour in stack

  • @faezehtalebi4316
    @faezehtalebi4316 ปีที่แล้ว

    thx a lot