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
I'm new in data analytics and R programming. Thank you for being "newbie" friendly.
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
I like how you quckly went through the topics and examples while keeping everything easily understandable for beginners.
@RichardOnData
3 жыл бұрын
That's precisely the idea! Glad you liked the format.
Flawless video! You’re 10000x better than my university lecturers. Life saver.
Thanks Richard, whenever i have a doubt i go to your channel, never fails
Super cool, very informative! Thank you!
@RichardOnData
2 жыл бұрын
My pleasure!
Richard, thank you very much! It is an extremely helpful video. Please do more videos in such format.
@RichardOnData
3 жыл бұрын
Many, many more to come! I'm glad you enjoyed!
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
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.
Amaizing video! Thank you so much. Please, do more videos like this.
@RichardOnData
3 жыл бұрын
Many more on the way! ggplot2 and ggThemeAssist video is coming on Sunday.
Thanks man! Your videos are awesome
@RichardOnData
2 жыл бұрын
I appreciate that!
Thank you for video. Just what I need now
@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.
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
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.
Thank you Richard!
@RichardOnData
2 жыл бұрын
Absolutely!
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.
Thank you so much, it really helps~
@RichardOnData
3 жыл бұрын
Glad it helped!
Thanks Richard
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.
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?
Cool stuff ! Thank you. BTW does data analysis skills at entry level will enable me a sufficient salary to survival...?
@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.
Thank you!
@RichardOnData
3 жыл бұрын
My pleasure!
how can you teach like this for free ??? really love your channel
larger fonts please
hit like button
@RichardOnData
2 жыл бұрын
Smash it
The mutate across seems like a step backwards. .fns? Seriously? Also the additional function call with nested parenthesis seems to needlessly complicate things.