Closed sdebruyn closed 3 years ago
I think it's because of this line: https://github.com/OHDSI/Achilles/blob/5d60fa02db53fda776afdb7f9cc9a74a2e99e286/R/exportToJson.R#L105
Apparently the schema params have to be in the format databaseName.schemaName
Any luck with running the achilles
function against your Azure SQL? I'm running into the exact error when I run:
achilles(connectionDetails = connectionDetails, cdmDatabaseSchema = "yvonne_dev_omop_db.dbo", resultsDatabaseSchema = "yvonne_dev_omop_db.results", vocabDatabaseSchema = "yvonne_dev_omop_db.dbo", sourceName = "OHDSI CDM V5 Database", cdmVersion = 5.3, numThreads = 1, runHeel = FALSE, outputFolder = "output")
with connectionDetails:
connectionDetails <- createConnectionDetails(dbms = "sql server", server = "yvonne-dev-omop-sql-server.database.windows.net", user = "admin", password = "password", port = "1433")
Expected behavior
Export should not have to switch to any other database
Actual behavior
When exporting to JSON I get the following error:
Steps to reproduce behavior