Great news, I have Atlas now up and running using the BigQuery drivers mentioned in the previous messages. However, although some data is shown now, I’m still not able to show all reports. The WebAPI logs mention that the results.achilles_analysis
table does not exists, which is right.
Where should this table be created? I did to following things to create tables:
-
Run these DDL scripts: CommonDataModel/inst/ddl/5.4/bigquery at main · OHDSI/CommonDataModel · GitHub
-
Run the scripts retrieved from http://host:port/WebAPI/ddl/results?dialect=bigquery&schema=<results_schema>&vocabSchema=<vocab_schema>&tempSchema=<temp_schema>&initConceptHierarchy=true
-
Run the scripts generated with Achilles.
library(Achilles)
connectionDetails <- createConnectionDetails(
dbms = "bigquery",
connectionString = "jdbc:bigquery://https://www.googleapis.com/bigquery/v2:443;ProjectId=<project>;OAuthType=0;OAuthServiceAcctEmail=<service_account>;OAuthPvtKeyPath=<key_path>;",
user = "",
password = "",
pathToDriver = "<driver_path>"
)
achilles(connectionDetails,
cdmDatabaseSchema = "<cdm_schema>",
resultsDatabaseSchema = "<results_schema>",
scratchDatabaseSchema = "<temp_schema>",
vocabDatabaseSchema = "<vocab_schema>",
sourceName = "BigQuery",
outputFolder = "output",
sqlOnly = TRUE
)
I assumed this last step was were the results.achilles_analysis
should be created, but this isn’t the case. Is there any parameter I am missing, do I need to use another function, or…? Any help is appreciated.