From 0999849a91c8e50fef98aa9f8e8ff0a0eca6fce3 Mon Sep 17 00:00:00 2001 From: Adam Black Date: Tue, 17 Sep 2024 16:59:42 +0200 Subject: [PATCH] change getEunomiaConnectionDetails so that it only downloads datasets if they have not been previously downloaded. --- R/Connection.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/Connection.R b/R/Connection.R index 074ddfd..357bfb1 100644 --- a/R/Connection.R +++ b/R/Connection.R @@ -41,7 +41,7 @@ getEunomiaConnectionDetails <- function(databaseFile = tempfile(fileext = ".sqli } } - datasetLocation <- getDatabaseFile(datasetName = "GiBleed", dbms = dbms, databaseFile = databaseFile) + datasetLocation <- getDatabaseFile(datasetName = "GiBleed", dbms = dbms, databaseFile = databaseFile, overwrite = FALSE) DatabaseConnector::createConnectionDetails(dbms = dbms, server = datasetLocation) }