Write JSON Results to SQL Table
writeJsonResultsToTable(
connectionDetails,
resultsDatabaseSchema,
jsonFilePath,
writeTableName = "dqdashboard_results",
cohortDefinitionId = c()
)
A connectionDetails object for connecting to the CDM database
The fully qualified database name of the results schema
Path to the JSON results file generated using the execute function
Name of table in the database to write results to
If writing results for a single cohort this is the ID that will be appended to the table name