blog/2024/lapply-files/ #97
Replies: 1 comment 1 reply
-
I enjoyed this post! I learned something new: that read_csv can take a vector of filenames and return the dataframes all glued together. I think you can also use bind_rows on the output from lapply (it will take a list of dataframes), though that is a rather odd base + tidyverse mix. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
blog/2024/lapply-files/
Reading in multiple files to append them is quite common in my field. Let’s go through a couple ways you can do that in R.
https://drmowinckels.io/blog/2024/lapply-files/
Beta Was this translation helpful? Give feedback.
All reactions