Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

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

  • @dataslice
    @dataslice  2 ปีที่แล้ว +6

    Watch part 2 here! th-cam.com/video/DiY8EqZDwoI/w-d-xo.html

  • @arcade_wizard
    @arcade_wizard 3 ปีที่แล้ว +5

    Thank you for the quality R education!

  • @Natural_Habit
    @Natural_Habit 3 ปีที่แล้ว +10

    Excellent way to summarise() the uses of dplyr with some great tips.

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

    I love the way you explain R code. Greetings from Chile

  • @Sams3dsReviews
    @Sams3dsReviews 3 ปีที่แล้ว +15

    Just when I thought you went on a hiatus, you're back with an excellent video. Thank you for your amazing tutorials!!

    • @dataslice
      @dataslice  3 ปีที่แล้ว +4

      Thanks! Work/life has been a little busier but I’m trying to upload more frequently now

  • @ashrafabir3274
    @ashrafabir3274 3 ปีที่แล้ว +5

    Best channel in R! Please don't stop making these.

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

    A shortcut in arrange() is to use a minus sign instead of desc().

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

    What is the difference between summarize and mutate?

    • @vitorrossatoify
      @vitorrossatoify 5 หลายเดือนก่อน

      They are very different. Mutate works even when the data frame is not grouped, but summarize will only work when the data frame is grouped, and it will use the logic of the pre selected group to arrange the data. To further understand the summarize function, first you will need to further understand what grouping does.

  • @shrirangjage999
    @shrirangjage999 3 หลายเดือนก่อน

    Anyone watching in 2024?
    the dataset had 50K rows when this video got out
    now it has whopping 330K rows

  • @Kayla-by4qb
    @Kayla-by4qb ปีที่แล้ว

    Wow this is a great video. Do you tutor for R programming by chance? LOL

  • @brucet4115
    @brucet4115 11 หลายเดือนก่อน

    somehow my brain just works better when watching UT than in the lecture..

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

    This video is amazing. You explain really well. Thank you !!

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

    Great to have you back :D

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

    Hey great video. I was wondering how you're opening the dataframe in the source editor? Is it because you are using R markdown? And why are you using R markdown as opposed to R script?

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

      Good question - I’m running each of the code chunks in the notebook with the keyboard shortcut control/command + shift + enter. This is how the data frame keeps showing up (because I’m printing it). I like using R markdown/R notebooks when I’m doing write ups or tutorials just because it’s easier to separate the code into blocks and add comments

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

    It would be cool if you did some videos on text analysis. I'm interested in learning how to use Quanteda and Tidytext but there just aren't many good tutorials on them.

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

      Good idea, I’ll try to cover that soon!

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

      @@dataslice Thanks! Your videos are so helpful.

  • @darcash1738
    @darcash1738 4 วันที่ผ่านมา

    3:48 shouldn’t u do -c() to concatenate instead of doing the - twice

  • @silvestrecamposano6317
    @silvestrecamposano6317 3 หลายเดือนก่อน

    Very nice explanation... Thank you...

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

    I am glad I found this channel. This is awesome. Also, R is very powerful when it comes to data cleaning and wrangling. Even plotting becomes really flexible with the use of tidyverse. I don’t understand the hype behind Python. Yes, python is good for Machine Learning and other stuff. But R has an upper hand in my opinion when it comes to data preparation.

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

      Even in the Machine Learning universe R is pretty useful and competitive. Python is more adopted and praised just because the companies are used to produce projects with it, so the cycle of usage and recommendation keeps going on. R can do everything that Python does, and sometimes with cleaner code and a more simplified syntax.

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

    cant thank you enough for these videos❤

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

    Welcome back. More Jekyll please 🙌🏽

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

    Succinct and well organized

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

    this is hands down the best dplyr breakdown

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

    Hey, I have an off-topic question. Please ignore it if you find it rude. I am German and I am still kind of trying to figure out subtle differences in how some English speakers speak. Are you Asian by any chance? Like I said, just ignore it if you find the question weird or annoying. Thanks for all the videos you make, they are exactly what I need to not lose my R skills as I don't need to use them that often

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

      I am in fact south Asian - what gave it away?

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

      ​@@dataslice​It took me a while to figure out, but there's a small fitness youtuber I follow called Ericliaoo. I feel like your voice or way of speaking is somehow similar.

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

    Thanks bro helped me a lot, can I have your e-mail for something, I can contact you if I have any further query

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

    How can I reduce question scales of a survey question? for example, the question has 10 options (1-10), but I want to reduce to 3 options (0 = 1 2 3) (1 = 4 5 6 7) (2 = 8 9 10). Could you please help or indicate any video?

  • @pranishshinde7432
    @pranishshinde7432 5 หลายเดือนก่อน

    very short but easy to understand video for data wrangling with R/Rstudio.

  • @angrybears26
    @angrybears26 4 หลายเดือนก่อน

    Wow, dude, thank you so much for this video and your clear explanations! You avoid most of the jargon and explain the concepts so well. Thank you so much!

  • @GreenNicole
    @GreenNicole 9 วันที่ผ่านมา

    Okuneva Port

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

    very much thank youuuuuuuuuu

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

    Great video! Yet, instead of using the rather unsemantic `.$song` in 7:49, you should use `pull(song)`

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

    Could you share what your themes and fonts you use for rstudio?

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

      RStudio Theme: Modern, Font: Monaco, Editor theme: Dracula

  • @puspitalestarikhanna8582
    @puspitalestarikhanna8582 11 หลายเดือนก่อน

    thank you, it helped me a lot :) and I like how you describe everything!

  • @neondemon5
    @neondemon5 6 หลายเดือนก่อน

    Thank You bro.

  • @md.hasanulbannasiam6239
    @md.hasanulbannasiam6239 2 ปีที่แล้ว

    Nicest tutorial on dplyr. Awesome teaching style.

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

    Thx

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

    Can you please use a light screen, it is very difficult to read what is written on the screen in dark mode.

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

    Nice

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

    Thanks for these videos, really improves my workflow.

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

    Start my new, first job working as an analyst. Thank you for the refresher sir

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

    Would anyone help me code something in R right now??

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

    SSS+ tutorial, short and clear explanation
    Good job 👍

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

    really great video i am using as a refresher since i don't get to use R at work much

  •  2 ปีที่แล้ว

    Excellent video, thanks!

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

    Wow you did great 👍.. May God grant you more.

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

    You're an excellent teacher. Subscribed!

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

    Great video! QQ - when I run the code in each section, I only see 10 rows populate. How are you generating your nice-looking table above the console?

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

      If you still don't find the answer, he used another file type that is called 'R markdown'. I just recently know that, too.

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

    Thanks for the great video. I thought I was actually pretty good with dplyr until I watched this. :) By the way, how do you get the data to show up in a "View like" thing right below your dplyr command??

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

      I'm using an R Notebook which you can access in RStudio from File > New. The R Notebook allows you to separate your code chunks (using control + alt + i) and then run a whole chunk of code with 'control + shift + enter', or just a single line with 'control + enter' -- the output will appear underneath.

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

    Really enjoyed this video.

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

    Great information, I love it!

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

    awesome video - thanks!

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

    Learned so much man!! Thanks

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

    Thanks for making this fun!

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

    Thanks! This is a great demo :)

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

    This is fantastic tutorial. Great job!

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

    Great video!

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

    A+