25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
286B

  1. library(tidyverse)
  2. # library(lubridate)
  3. # library(stringr)
  4. # library(forcats)
  5. # Load the csv data and tidy it ----
  6. read_csv("Data/.csv") %>%
  7. select() %>%
  8. filter() %>%
  9. mutate() %>%
  10. dmap_if(is.character, factor) %>%
  11. # Save the tidy-ed data ----
  12. saveRDS(file = "Data/tidy.rds")