Created
June 5, 2018 02:22
-
-
Save kanishkamisra/497c1e41125c6b18e25beb2a7475a119 to your computer and use it in GitHub Desktop.
TidyTuesday Week10 data fix script
This file contains 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) | |
bikeshare <- dir(path = "PublicTripData/", pattern = "*.csv") %>% | |
map(~read.csv(file.path("PublicTripData", .))) %>% | |
reduce(bind_rows) %>% | |
as_tibble() | |
write_csv(bikeshare, "week10_biketown_tidy.csv") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment