Skip to content

Commit 3b6b294

Browse files
committed
Define colclasses for input tables
To make sure, IDs and dates are always read as characters
1 parent 22e79a9 commit 3b6b294

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

R/qsim_prepare.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ QSIM_prepare <-function(
4747
file = qsim_output_file,
4848
sep = ";",
4949
dec = ",",
50-
header = TRUE
50+
header = TRUE,
51+
colClasses = list(
52+
character = c(date_column_name, id_column_name)
53+
)
5154
)
5255

5356
if(any(!(

0 commit comments

Comments
 (0)