소스 검색

convert chr to date when reading from csv

genderequality-alternative
flavis 4 년 전
부모
커밋
2a9035e630
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      R/parse.R

+ 2
- 1
R/parse.R 파일 보기

@@ -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")))


불러오는 중...
취소
저장