Created
February 6, 2017 20:09
-
-
Save ellisvalentiner/649fa5b15c978c6ae22a5f88963ad6fa to your computer and use it in GitHub Desktop.
Read all CSV files in a directory and return as a tibble. (Who knows how this might fail)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
all_df <- list.files("./data", full.names = TRUE) %>% | |
map_df(., read_csv) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment