How to Read/Write Multiple CSV Files in R (Using PURRR!)

preview_player
Показать описание
Got a large file that you want to break up into smaller chunks? Let's learn how with #R, #tidyverse, & #purrr. Here are the links to get set up 👇

Once you take these actions, you'll be set up to receive R-Tips with Code every week. =)

THE R-TRACK PROGRAM
==============================
I have a complete system designed to teach you R, Data Science, Advanced Machine Learning, Web App Development, Time Series, & more - all for business. It's insanely powerful. Over 6+ months, learn everything needed to become an R Rockstar for Your Organization.

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

thank you for this Matt. Can we use nesting instead of group by and group split? in this example for writing mutliple files? tryiing to get it the idea working

ahmedJaber
Автор

thanks for the video matt. just wondering about the [.f] iterable for the map call. wondering if that is getting the data in the pipe chain? is [.f] arbitrary or does it have to be that canonically can it be [.j] for instance?

jcourn
Автор

No need to bind rows, simply use map_df instead whean reading the files...

shamonmj
Автор

Hi, This is really helpful... I do have a query can I write then to xlsx format instead of csv using the same code.

SS-cntd
Автор

I have a query: I want R to read multiple files but not all in the folder -> transpose them -> extract col 1 of each of those transposed files -> paste it into separate columns in completely new single file. Kindly help.

mohammadhaneefkhan
Автор

precious stuff indeed, thanks for posting it
PS (if you don't mind) video quality: on laptop/tablet or below 720p is kind of difficult to read it 👴

StefanoVerugi