Skip to content

Commit

Permalink
Adding code to generate framework csv file of MultiRecord Measures fo…
Browse files Browse the repository at this point in the history
…r each Validation in the input file.
  • Loading branch information
chicoreus committed Aug 13, 2024
1 parent 614ee5a commit 1eed2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/kurator/issueconverter/BDQConvert.java
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ DQ Dimension,Severity,Warning Type,Source,References,Specification Last Updated,
measureLine.putAll(outputLine);
// QA measures of completeness
String forValidation = measureLine.get("Label");
measureLine.replace("#", ""); // point to single issue for measuring multirecords for compliance
measureLine.replace("#", "295"); // point to single issue for measuring multirecords for compliance
measureLine.replace("Type", "Measure");
measureLine.replace("Resource Type","MultRecord");
String now = new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime());
Expand All @@ -529,7 +529,7 @@ DQ Dimension,Severity,Warning Type,Source,References,Specification Last Updated,
}
// QC measures with counts
outputPrinterMeasures.println();
measureLine.replace("#", ""); // point to single issue for multirecord measures with counts
measureLine.replace("#", "296"); // point to single issue for multirecord measures with counts
measureLine.replace("Label",measureLine.get("Label").toString().replace(labelStart, "MULTIRECORD_MEASURE_COUNT_COMPLIANT"));
measureLine.replace("Specification", "Count the number of " + forValidation + " in the MultiRecord that have Response.result=COMPLIANT." );
measureLine.replace("Description", "Count the number of " + forValidation + " in a record set that are COMPLIANT" );
Expand Down

0 comments on commit 1eed2c7

Please sign in to comment.