From 019f4cf4e53c4685cf4c389c93eb95e089df7ac9 Mon Sep 17 00:00:00 2001 From: simei94 Date: Wed, 27 Mar 2024 17:31:52 -0600 Subject: [PATCH] read_delim can automatically determine the delimiter, no need to pre-define it --- R/output_persons.R | 2 -- R/output_trips.R | 1 - 2 files changed, 3 deletions(-) diff --git a/R/output_persons.R b/R/output_persons.R index e47fca3..19819a7 100644 --- a/R/output_persons.R +++ b/R/output_persons.R @@ -37,7 +37,6 @@ readPersonsTable <- function(input_path = ".", n_max = Inf) { } persons_output_table <- read_delim(persons_file, - delim = ";", locale = locale(decimal_mark = "."), n_max = n_max, col_types = cols( @@ -134,7 +133,6 @@ read_output_persons <- function(input_path = ".", n_max = Inf) { } persons_output_table <- read_delim(persons_file, - delim = ";", locale = locale(decimal_mark = "."), n_max = n_max, col_types = cols( diff --git a/R/output_trips.R b/R/output_trips.R index a6eca3e..3e79d49 100644 --- a/R/output_trips.R +++ b/R/output_trips.R @@ -2425,7 +2425,6 @@ read_output_trips <- function(input_path = ".", n_max = Inf) { } trips_output_table <- read_delim(trips_file, - delim = ";", locale = locale(decimal_mark = "."), n_max = n_max, col_types = cols(