Discover 7 Hidden Gems in the R Package Ecosystem

  Рет қаралды 13,271

Tom Henry - data science with R

Tom Henry - data science with R

Күн бұрын

Пікірлер: 54
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
▶️ Tidyverse tips in R (my top 18 tips & tricks) - kzbin.info/www/bejne/kH6TZZ2kbpqMhpI 🎉 *Subscribe* if you want more videos like this! - kzbin.info/door/b5aI-GwJm3ZxlwtCsLu78Q 😃 *Comment* below to share which tricks you liked the most!! I figured out what was going on with the warning at 11:12. Hint: filter(is.na(start_date)) to look at the NA start_dates (rather than !is.na(start_date) which selects rows which have a correctly parsed start_date). You'll see that startday, startmonth, and startyear are empty (NA) for those rows.
@wildaceds
@wildaceds 3 жыл бұрын
Ive been working with R for like 5 years now and this is extremely helpful. I need to keep up to date with packages.
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 3 жыл бұрын
Really glad it was helpful! So many R packages!
@mikedavis979
@mikedavis979 27 күн бұрын
I can't believe this video only has 545 likes and 13K views...this is awesome!
@falayeadeyinka168
@falayeadeyinka168 3 жыл бұрын
Thank you mr Tom for the great job. It is deep and refreshing. God bless you and your lovely family.
@brucefox4954
@brucefox4954 4 жыл бұрын
Tom, it would be great if you did a video focusing on tsibble. Thanks.
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
Will do!
@nicoalessandroni
@nicoalessandroni 3 жыл бұрын
I agree! That would be really useful. Thanks for the great video!
@sloperspinches3122
@sloperspinches3122 4 жыл бұрын
Thank you for sharing these 7 underrated R packages.
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
My pleasure!!
@porlando12
@porlando12 4 жыл бұрын
tidylog is an absolute game changer! Thanks for sharing these hidden gems!
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
It really is! Glad you enjoyed! :)
@shreyaroraa2234
@shreyaroraa2234 3 жыл бұрын
Great video TOM even with R crashing and coming on it was easy to follow, concise and to the point.
@pradeepviv3672
@pradeepviv3672 4 жыл бұрын
Thanks very much for this great video, I loved the way you explained how to use these packages very simply. Well done
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
Glad it was helpful!
@ahmed007Jaber
@ahmed007Jaber 2 жыл бұрын
thank u so much, Tom. love tsibble and tidytext, never head of them before. would like more such content about text mining
@susanbenson4941
@susanbenson4941 2 жыл бұрын
Great video - short, clear and showing stumbles is helpful
@OtRatsaphong
@OtRatsaphong 3 жыл бұрын
Tom, Thanks for this great tutorial! Relatively new to R and was looking to familiarise myself with packages that would be useful for financial analysis, and found your channel. Great work!
@bhabishyaneupane2073
@bhabishyaneupane2073 4 жыл бұрын
I have been watching your videos since day one, and they have really helped me. Thanks for sharing these absolute gems! If you could do a video talking about text analysis or a walkthrough, that'd be great!
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
Thanks, Bhabishya! I'm glad they are helpful for you! I'll make a video in the next couple of weeks focusing on text analysis with a real dataset. It will be fun.
@bhabishyaneupane2073
@bhabishyaneupane2073 4 жыл бұрын
@@tomhenry-datasciencewithr6047 I am excited and looking forward to it! This might be too much to ask for, but is there a way that I can get in touch with you? I am an aspiring data scientist, and I feel like there's a lot to learn at this point to get there. I would be really grateful if you could list out some things that I might wanna do to get there or mentor me throughout this journey. FYI: Right now, I am in my senior year in college with a good amount of research experience, and I like to think that I have a decent R experience as well. But, yeah, no pressures!
@SergioUribe
@SergioUribe 4 жыл бұрын
very good, thank you for sharing, and thank you also for sharing the mistakes!
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
My pleasure!
@raould2590
@raould2590 Жыл бұрын
Just found this gem! Thank you so much for this! Very useful!
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 Жыл бұрын
You're very welcome!
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
Tom, Nice summary of interesting packages. I have been using janitor for a while and it is a life saver. tsibble looks interesting but I have heard that the padr package does similar things and might work better for filling in missing dates. The description of the package claims that it is better than lubridate in that regard. Another package I use quite a bit and love is flextable. It produces great looking output and works with the tidyverse. Finally, a collection of packages that works well with imports and finding your 'path' are rio, pacman and here. Thanks!
@Yanceyray
@Yanceyray 4 жыл бұрын
Thanks. Tidylog is great addition to my workload.
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
Tidylog is fantastic!
@elkamel
@elkamel 4 жыл бұрын
Thank you Tom for sharing these tips, really these packages are very useful but they did not take their right to fame. For the lubridate example, you could have used: make_date() function as follow: protests_simplified % select(country, startday, startmonth, startyear) %>% mutate(start_date = make_date(startyear, startmonth, startday))
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
make_date() is a fantastic function!
@denisrastegaev608
@denisrastegaev608 4 жыл бұрын
Very helpful! Thank you!
@solomonoguche2360
@solomonoguche2360 4 жыл бұрын
Tidytext tutorial please. Now I am highly interested.
@ridwanshittu617
@ridwanshittu617 4 жыл бұрын
Hi Tom, thanks for the tips. I will like a complete tips on the tsibble package. Can this package be used to extract and plot only summer months for time-series datasets of 10 years?
@maksim0933
@maksim0933 4 жыл бұрын
A very nice user-friendly explanation!
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
Glad you think so!
@aliramadan7425
@aliramadan7425 4 жыл бұрын
I am lucky I came across your channel! Thank you.
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 4 жыл бұрын
You are so welcome!
@prison9865
@prison9865 Жыл бұрын
This video proves, how unstable and shyyt R is to be honest. Crashes, errors etc. this is what im facing every single day at work. Good video though!
@JOHNSMITH-ve3rq
@JOHNSMITH-ve3rq 3 жыл бұрын
Pls consider making some content on data.table. Package does not get enough love.
@ahmed007Jaber
@ahmed007Jaber 2 жыл бұрын
thank you for this. wonder if you could help me out with presentations. I would like to produce a customised presentation and apparently the best approach would be by using officer package, the challenge is splitting tables automatically based on allotted space and size of content. Got any idea how to do it???
@paulosergioschlogl9550
@paulosergioschlogl9550 2 жыл бұрын
Hi there...any way to work with multiple csv files at once to select only few columns and create a final csv?
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 2 жыл бұрын
There are some different ways to do it - if you install `vroom` package, you can run something like this: library(tidyverse) library(vroom) library(janitor) library(fs) # also check out the `here` package for a good way to find the working directory vroom(dir_ls("*.csv")) %>% clean_names() %>% select(col_1, col_2, col_3, ......) %>% distinct() (assumes all your csv files have the same format). What do your csv files look like? If your columns have mixed types etc. or the files are very short, the procedure would need to be changed a bit to make sure all the types get picked up accurately.
@paulosergioschlogl9550
@paulosergioschlogl9550 2 жыл бұрын
@@tomhenry-datasciencewithr6047 Hi there! thanks for the answer. Yeah! They have the same format and each column has values with the same types (doubles). And some are big like 65000 lines and 8 columns.
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 2 жыл бұрын
@@paulosergioschlogl9550 Fantastic. In that case, the vroom() technique will work well. Or, if you want to use the standard tidyverse packages, you can get the list of files like so: library(tidyverse) file_list % vroom(delim = "|") # because vroom takes a list of files all_data_CLEANED % janitor::clean_names() %>% select(col_1, col_2, col_3, ...) all_data_CLEANED %>% write_delim("final_csv.csv", delim = "|", na = "")
@paulosergioschlogl9550
@paulosergioschlogl9550 2 жыл бұрын
@@tomhenry-datasciencewithr6047 Thank you very much Tom. That is awesome.8)
@JOHNSMITH-ve3rq
@JOHNSMITH-ve3rq 3 жыл бұрын
Data.table & quanteda would be great.
@taiwankyh
@taiwankyh 3 жыл бұрын
Thanks for sharing
@ThomasJacobsen-h8d
@ThomasJacobsen-h8d Жыл бұрын
make_date renders str_c a waste of time in lubridate walk through
@irfanullah235
@irfanullah235 3 жыл бұрын
need your email sir
@ahmed007Jaber
@ahmed007Jaber 9 ай бұрын
Hi Tom, thank you for this. for using tidylog I need to add tidylog() at the end of code chain? somehow if I don't add tidylog() at the end I don't see any transformation steps
@tomhenry-datasciencewithr6047
@tomhenry-datasciencewithr6047 9 ай бұрын
Did you run this line near the top of your code? library(tidylog) You may also need to use these options where appropriate, but normally putting library(tidylog) at the top of your code is fine: # turn logging-output on options("tidylog.display" = NULL) # turn logging-output off options("tidylog.display" = list()) (more details on those here: rdrr.io/github/elbersb/tidylog/f/README.Rmd) One possibility is that another package you are using is overriding tidylog, but that is unlikely.
@ahmed007Jaber
@ahmed007Jaber 9 ай бұрын
@@tomhenry-datasciencewithr6047 thank you Tom for the prompt reply Ll give it a go Any interesting packages, add-ins and/or tips using R? A video is due:) Appreciate the efforts, they really make a difference
2 жыл бұрын
Excellent! tidytext looks very interesting.
@generalyoutubewatching5286
@generalyoutubewatching5286 Ай бұрын
reminded to tidylog nice one
9 Must-Read Books for Machine Learning with R
7:38
Tom Henry - data science with R
Рет қаралды 4,2 М.
Tidyverse in R - tips & tricks
18:10
Tom Henry - data science with R
Рет қаралды 27 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 1,6 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 23 МЛН
Text analysis / mining in R - how to plot word-graphs
25:38
Tom Henry - data science with R
Рет қаралды 29 М.
{emmeans} Game-Changing R-package Squeezes Hidden Knowledge out of Models!
14:02
The tutorial you need to maximize your use of vectors in R (CC273)
36:24
How to Plot Counts in R: A Step-by-Step Guide
17:10
Tom Henry - data science with R
Рет қаралды 6 М.
20 R Packages You Should Know
30:42
RichardOnData
Рет қаралды 40 М.
Plotting Time Series in R: A COVID-19 Example
12:42
Tom Henry - data science with R
Рет қаралды 16 М.
How to Create Your Own Package in RStudio
15:22
Dr. Bharatendra Rai
Рет қаралды 13 М.
David Robinson - Ten Tremendous Tricks in the Tidyverse
20:41
Lander Analytics
Рет қаралды 29 М.
Effortlessly Simplify Your R Code with These Tips and Tricks
6:23
Tom Henry - data science with R
Рет қаралды 7 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 1,6 МЛН