I’m following the instructions at the link below to set up DQD for my local instance of OMOP.
I’m getting this error:
Error in DataQualityDashboard::executeDqChecks(connectionDetails = connectionDetails, :
Please populate the cdm_source table before executing data quality checks.
In addition: Warning message:
In for (i in 1:length(args)) { : closing unused connection 3 ()
I’m not seeing documentation that indicates how to populate this table.
Does this documentation exist somewhere?
How do I figure out what values to use to populate this table?
Thanks for the link but for beginners like me its difficult to make out certain things of setting up this tool for the very first time.
With the in-adequate and unavailable documentation of DQD, it makes the work bit more annoying and time taking.
Apologies for the tone but would really appreciate if a documentation of CDM_SOURCE containing some examples of “what kind of values” goes for each row might help the new comers as well. This can be made as a new column with header like “Example values”.
Would be great if this is available as I still have issues as to what to fill in those columns in my Redshift database tables.
And I agree that an example row for all OMOP CDM tables might be a nice addition to the CDM documentation. There is actually an example of how you can populate the CDM Source table on the CommonDataModel documentation.
Not sure if this is the right thread to ping the issue but need 2 cents on the below issue.
Using the link shared by you above, I had inserted the values of cdm_source using the query editor in my Redshift database table. However, upon successfully establishing the connection from Rstudio to Redshift, I don’t seem to have the data in the cdm_source table. But if I query directly in Redshift query editor, I could see the 1 entry in cdm_source. Can you please advise?
Alternatively, I then manually inserted the data from within the Rstudio using the below command, post which I could execute the DQ checks.
dbGetQuery(conn,"insert into synthea100k.cdm_source (......) select .....")