From fd3a81bb3e7d07950e1037ffc2d05dc5476abc73 Mon Sep 17 00:00:00 2001 From: Adam Black Date: Wed, 9 Oct 2024 09:01:04 +0200 Subject: [PATCH] fix coltypes to character when reading in results data model --- R/ResultsDataModel.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ResultsDataModel.R b/R/ResultsDataModel.R index afe1127fd..60d9c156d 100644 --- a/R/ResultsDataModel.R +++ b/R/ResultsDataModel.R @@ -28,7 +28,7 @@ getResultsDataModelSpecifications <- function(tableName = NULL) { readr::local_edition(1) pathToCsv <- system.file("settings", "resultsDataModelSpecification.csv", package = "CohortDiagnostics") - resultsDataModelSpecifications <- readr::read_csv(file = pathToCsv, col_types = "cccccccccc") + resultsDataModelSpecifications <- readr::read_csv(file = pathToCsv, col_types = "ccccccccccc") colnames(resultsDataModelSpecifications) <- SqlRender::snakeCaseToCamelCase(colnames(resultsDataModelSpecifications))