TidyTuesday: A Brief Overview of Dplyr and Tidyr

preview_player
Показать описание
In this week's #TidyTuesday video, I go over the basics of Dpylr and Tidyr. I explain the differences between the two packages and how they interact with each other in a Data Science workflow. I then go over the most commonly used functions from each package.

#Tidyverse #DataScience

Рекомендации по теме
Комментарии
Автор

This video was very helpful to see the basics broken down for these packages. Thanks!

TRXWentCold
Автор

Good work Andrew, this is the video I wish I had when I started.

Adam-ptdd
Автор

Thanks, Andrew. Your segment on "one-hot encoding" at 8:30 was an absolute game changer for the genomic data I analyse and has saved me countless hours of tedious work. Keep up the amazing content - big fan!

eddie
Автор

Great video, i've been using r for about 1 year now and some of the functions you explained were a completly new to me.

rank
Автор

Awesome video! Coming from Excel this is great info, the portion about case statements is very helpful. Looking forward to the future content.

happytrailsrm
Автор

Andrew,

Unless my eyes are getting wonky but it looks like there is an error in the example with the time series using the economics data. The two columns - unemploy and prev_unemploy are exactly the same. Should not the value for the first month just be default = 2944?

haraldurkarlsson
Автор

Andrew how you count distinct observation by column here

shreyaroraa
Автор

When I try to set the default to "unemploy". It gives an error saying default must be size 1 not 574. any ideas as to why is this happening?

Here is my code:
economics %>%
select(date, unemploy) %>%
mutate(prev_unemploy = lag(unemploy, n = 1, order_by = date, default = unemploy))

hemnfarhad
join shbcf.ru