From 1b3da130651ce0c0dd2f1dec404f6ddee2b18aac Mon Sep 17 00:00:00 2001 From: dschlaep Date: Mon, 12 Sep 2016 18:27:55 +0200 Subject: [PATCH] Fix to creating output DB table 'aggregating_functions' --- 2_SWSF_p2of5_CreateDB_Tables_v51.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2_SWSF_p2of5_CreateDB_Tables_v51.R b/2_SWSF_p2of5_CreateDB_Tables_v51.R index b7683b59..4371f512 100644 --- a/2_SWSF_p2of5_CreateDB_Tables_v51.R +++ b/2_SWSF_p2of5_CreateDB_Tables_v51.R @@ -482,7 +482,7 @@ if (length(Tables) == 0 || cleanDB) { RSQLite::dbGetQuery(con, "CREATE TABLE aggregating_functions(id INTEGER PRIMARY KEY AUTOINCREMENT, agg_fun TEXT UNIQUE NOT NULL, type TEXT);") RSQLite::dbBegin(con) RSQLite::dbGetPreparedQuery(con, "INSERT INTO aggregating_functions VALUES(NULL, :agg_fun, :type);", - bind.data = agg_fun_defs)) + bind.data = agg_fun_defs) RSQLite::dbCommit(con) ##################################################