pub fn write_field_value_stats_csv(
results: &MergedAnalysisResults,
output_dir: &Path,
) -> Result<()>Expand description
Writes CSV files containing value statistics for each field.
This function generates a CSV file for each field, listing the unique values encountered in the merged data, along with their counts and ratios.
§Arguments
results- The mergedAnalysisResultsobject.output_dir- The directory where the CSV files will be written.
§Returns
std::io::Result<()>- Ok if successful, otherwise an error.