Browse Source

Removed stringr & forcats bc in tidyverse

master
Maxime Wack 6 years ago
parent
commit
53340a4c75
2 changed files with 1 additions and 5 deletions
  1. +1
    -3
      02_Tidy.R
  2. +0
    -2
      03_Transform.R

+ 1
- 3
02_Tidy.R View File

@@ -1,13 +1,11 @@
library(tidyverse) library(tidyverse)
# library(lubridate) # library(lubridate)
# library(stringr)
# library(forcats)


# Load the csv data and tidy it ---- # Load the csv data and tidy it ----
read_csv("Data/.csv") %>% read_csv("Data/.csv") %>%
select() %>% select() %>%
filter() %>% filter() %>%
mutate() %>% mutate() %>%
dmap_if(is.character, factor) %>%
mutate_if(is.character, factor) %>%
# Save the tidy-ed data ---- # Save the tidy-ed data ----
saveRDS(file = "Data/tidy.rds") saveRDS(file = "Data/tidy.rds")

+ 0
- 2
03_Transform.R View File

@@ -1,7 +1,5 @@
library(tidyverse) library(tidyverse)
# library(lubridate) # library(lubridate)
# library(stringr)
# library(forcats)


# Load the tidy-ed data ---- # Load the tidy-ed data ----
readRDS("Data/tidy.rds") %>% readRDS("Data/tidy.rds") %>%


Loading…
Cancel
Save