Procházet zdrojové kódy

convert chr to date when reading from csv

genderequality-alternative
flavis před 4 roky
rodič
revize
2a9035e630
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      R/parse.R

+ 2
- 1
R/parse.R Zobrazit soubor

@@ -233,7 +233,8 @@ read_from_csv <- function(path="inst/csv/") {
mutate(id = as.character(id)),
speeches = read.table(str_c(path, "speeches.csv")) %>%
tibble() %>%
mutate(speaker = as.character(speaker)),
mutate(speaker = as.character(speaker),
date = as.Date(date)),
talks = tibble %$% read.table(str_c(path, "talks.csv")),
comments = tibble %$% read.table(str_c(path, "comments.csv")),
applause = tibble %$% read.table(str_c(path, "applause.csv")))


Načítá se…
Zrušit
Uložit