Write JSON Results to CSV file

writeJsonResultsToCsv(
  jsonPath,
  csvPath,
  columns = c("checkId", "failed", "passed", "isError", "notApplicable", "checkName",
    "checkDescription", "thresholdValue", "notesValue", "checkLevel", "category",
    "subcategory", "context", "checkLevel", "cdmTableName", "cdmFieldName", "conceptId",
    "unitConceptId", "numViolatedRows", "pctViolatedRows", "numDenominatorRows",
    "executionTime", "notApplicableReason", "error", "queryText"),
  delimiter = ","
)

Arguments

jsonPath

Path to the JSON results file generated using the execute function

csvPath

Path to the CSV output file

columns

(OPTIONAL) List of desired columns

delimiter

(OPTIONAL) CSV delimiter