Please forgive me if this is a dumb question as I am a newbie.
I set up RStudio following the documentation and installed DataQualityDashboard, but when I run it throws the following error: Error in DataQualityDashboard::executeDqChecks(connectionDetails = con, :
connectionDetails must be an object of class ‘connectionDetails’.
Here is the transcript of what I did:
con ← createConnectionDetails(dbms = ‘sql server’,
-
connectionString = "jdbc:sqlserver://omopsqltest:1433;databaseName=OMOP",
-
user = 'webapi_sa', password = 'XXXXX')
conn ← connect(con)
Connecting using SQL Server driverquerySql(conn, “SELECT count(*) FROM OMOP.cdm.PERSON;”)
1 2933714 – The connection clearly works
disconnect(conn)
DataQualityDashboard::executeDqChecks(connectionDetails = con,
-
cdmDatabaseSchema = 'cdm',
-
resultsDatabaseSchema ='results',
-
cdmSourceName = 'OMOP',
-
numThreads = 1,
-
sqlOnly = FALSE,
-
outputFolder = 'c:\\tmp\\dqd',
-
outputFile = 'DataQualityDashboard',
-
verboseMode = TRUE,
-
writeToTable = FALSE,
-
checkLevels = c('TABLE', 'FIELD', 'CONCEPT'),
-
checkNames = c('measurePersonCompleteness', 'cdmField', 'isRequired')
- )
Error in DataQualityDashboard::executeDqChecks(connectionDetails = con, :
connectionDetails must be an object of class ‘connectionDetails’.
typeof(con)
[1] “list”
What am I doing wrong?
Thank you in advance for any help you may provide!
Charlie