Hello. I’m trying to get Achilles up an running and keep running into a few errors. When I try to run the following command I get a few warning messages.
achillesResults <- achilles(connectionDetails, cdmDatabaseSchema='omop_v5', resultsDatabaseSchema='results_schema', sourceName='Test', cdmVersion = '5', vocabDatabaseSchema='rz')
Executing multiple queries. This could take a while
|======================================================================| 100%
Executing SQL took 2 secs
Done. Achilles results can now be found in results_schema
Executing Achilles Heel. This could take a while
|======================================================================| 100%
Executing SQL took 0.257 secs
Done. Achilles Heel results can now be found in results_schema
Warning messages:
1: In renderSql(parameterizedSql[1], ...) :
Parameter 'vocab_database_schema' not found in SQL
2: In renderSql(parameterizedSql[1], ...) :
Parameter 'list_of_analysis_ids' not found in SQL
If I try to run the export process…
exportToJson(connectionDetails, cdmDatabaseSchema = 'omop_v5', resultsDatabaseSchema = 'results_schema', outputPath = '/home/AchillesOutput', cdmVersion = '5', vocabDatabaseSchema = 'rz')
I also get an error message. I’m not sure if they’re related.
DBMS:
postresql
Error:
org.postgresql.util.PSQLException: ERROR: relation "results_schema.cdm_domain_meta" does not exist
Position: 71
SQL:
select domain_id as AttributeName, description as AttributeValue
from results_schema.cdm_domain_meta
where description is not null
order by domain_id
I am very new to Achilles so any help you can offer would be greatly appreciated.