Manipulating Data in R with "dplyr" | R Tutorial (2020)

Ғылым және технология

Subscribe to RichardOnData here: / @richardondata
GitHub: github.com/RichardOnData/YouT...
In this video I show you how to manipulate data with R, using the package "dplyr" from the tidyverse. Manipulating data with R is typically an important first step before other things like visualization and modeling can be done. And "dplyr" is an extremely useful package for beginners, which will quickly help you filter rows, arrange rows, select and rename columns, mutate the dataset to add new columns, created grouped summaries, and join to other datasets.
Please note that code in this tutorial was adapted from Chapters 5 and 13 of the book "R for Data Science" by Hadley Wickham and Garrett Grolemund. The full book can be found at: r4ds.had.co.nz/#
Amazon link: amzn.to/2HEoj5Z
A good cheat sheet for dplyr functions can be found at: 4.files.edl.io/b9e2/07/12/19/...
PayPal: richardondata@gmail.com
Patreon: / richardondata
BTC: 3LM5d1vibhp1F7pcxAFX8Ys1DM6XLUoNVL
ETH: 0x3CfC599C4c1040963B644780a0E62d45999bE9D8
LTC: MH8yPjvSmKvpmRRmufofjRB9hnRAFHfx32

Пікірлер: 37

  • @desm2467
    @desm2467 Жыл бұрын

    I'm new in data analytics and R programming. Thank you for being "newbie" friendly.

  • @spencerantoniomarlen-starr3069
    @spencerantoniomarlen-starr3069 Жыл бұрын

    Ohhhhhh, your analogy to the word "then" just FINALLY helped me understand how simple the pipe operator is! And a second afterward I also realized it works the same way as adding layers of geoms in ggplot2! Which means I am also adding layers of understanding lol

  • @ichhabdochkeeahnung
    @ichhabdochkeeahnung3 жыл бұрын

    I like how you quckly went through the topics and examples while keeping everything easily understandable for beginners.

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    That's precisely the idea! Glad you liked the format.

  • @ethandiamond6542
    @ethandiamond65422 жыл бұрын

    Flawless video! You’re 10000x better than my university lecturers. Life saver.

  • @MatBR10
    @MatBR102 жыл бұрын

    Thanks Richard, whenever i have a doubt i go to your channel, never fails

  • @niceday2015
    @niceday20152 жыл бұрын

    Super cool, very informative! Thank you!

  • @RichardOnData

    @RichardOnData

    2 жыл бұрын

    My pleasure!

  • @SauranSarbassov
    @SauranSarbassov3 жыл бұрын

    Richard, thank you very much! It is an extremely helpful video. Please do more videos in such format.

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    Many, many more to come! I'm glad you enjoyed!

  • @Rumil_
    @Rumil_3 жыл бұрын

    This is such a great overview of these very important functions. I wish I had found this sooner back when I was starting up, it would've been so helpful. Really appreciate how you explained each line of code and went through how to read the pipeline symbol as "then". Also found it helpfull how you did not further complicate things with your explanations and went straight to the meat of these functions!

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    Thank you! Yes, I was trying to keep this to the absolute CORE functionalities, and wanted to keep this video to under 15 minutes. Sadly that didn't happen, but I'll take under 20.

  • @optimizacioneningenieria3385
    @optimizacioneningenieria33853 жыл бұрын

    Amaizing video! Thank you so much. Please, do more videos like this.

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    Many more on the way! ggplot2 and ggThemeAssist video is coming on Sunday.

  • @izzthewizz6
    @izzthewizz63 жыл бұрын

    Thanks man! Your videos are awesome

  • @RichardOnData

    @RichardOnData

    2 жыл бұрын

    I appreciate that!

  • @spokbro
    @spokbro3 жыл бұрын

    Thank you for video. Just what I need now

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    My pleasure! I have many more similar videos planned - if you have any particular functionality of R you'd definitely like to see covered, let me know.

  • @fabioafdo
    @fabioafdo3 жыл бұрын

    Good job! I liked how you use R Markdown. I got used to having the script editor on the left and the console on the right (a habit I picked up with Matlab), and only use markdown for generating a report. The layout you use seems more practical, with the code and results in rmd on the left and the environment and help open on the right. I'll give it a try!

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    I'm glad you enjoyed the format I was working with here! I personally love R Markdown because of the ability to keep everything in the same location.

  • @ruthreshmahadevan3023
    @ruthreshmahadevan30233 жыл бұрын

    Thank you Richard!

  • @RichardOnData

    @RichardOnData

    2 жыл бұрын

    Absolutely!

  • @spencerantoniomarlen-starr3069
    @spencerantoniomarlen-starr3069 Жыл бұрын

    LMAO 2:32, I literally decided to take a break from working my way through R for Data Science to watch this tutorial and the code just comes straight from the chapter on the same topic in that book.

  • @hangliu7512
    @hangliu75123 жыл бұрын

    Thank you so much, it really helps~

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    Glad it helped!

  • @Michaelmaggimee
    @Michaelmaggimee3 жыл бұрын

    Thanks Richard

  • @alijebrailzade7439
    @alijebrailzade74393 жыл бұрын

    Hello Richard I have a question does julia has a object oriented programming like python, and what is the miltiple dispatch is? Is it better than oop? By the way love you videos you are great person.

  • @davidstephenson1827
    @davidstephenson1827 Жыл бұрын

    I am new to this field and find your tutorials enlightening. I am working on the dataset NYC bike share which is similar to your dataset in many ways. Could you show the argument for how you would select only flights added from a previous year. I am trying to compare changes between the NYC bike share program for 2015 and 2020. I know that 307 new stations were added, but I would like to get the names of only those start_stations that are new from 2015. How would I write the code to get this information?

  • @JanKowalski-hk5cg
    @JanKowalski-hk5cg2 жыл бұрын

    Cool stuff ! Thank you. BTW does data analysis skills at entry level will enable me a sufficient salary to survival...?

  • @RichardOnData

    @RichardOnData

    2 жыл бұрын

    Yes, it does. Granted you don't want to stay in one place forever, but the thing with data analysis (or most other jobs) is that you don't stay in the same level forever. You'll over time learn new things and move up.

  • @mehmetkaya4330
    @mehmetkaya43303 жыл бұрын

    Thank you!

  • @RichardOnData

    @RichardOnData

    3 жыл бұрын

    My pleasure!

  • @salmanniaz91
    @salmanniaz912 жыл бұрын

    how can you teach like this for free ??? really love your channel

  • @russelllavery2281
    @russelllavery2281 Жыл бұрын

    larger fonts please

  • @kamilwhite8139
    @kamilwhite81393 жыл бұрын

    hit like button

  • @RichardOnData

    @RichardOnData

    2 жыл бұрын

    Smash it

  • @wbdill
    @wbdill2 жыл бұрын

    The mutate across seems like a step backwards. .fns? Seriously? Also the additional function call with nested parenthesis seems to needlessly complicate things.

Келесі