Skip to main content

export_measure_csv

Function export_measure_csv 

Source
pub fn export_measure_csv(
    model: &Model,
    measure: MeasureId,
    path: &Path,
    delimiter: u8,
) -> Result<usize>
Expand description

Write a measure’s cells to a CSV/TSV file: one column per dimension category (item name) plus a value column, header row first. An input measure exports its stored cells; a derived measure is evaluated by the engine and exports its computed cells (IMPROV.txt:113 — export the computed view). Returns the number of rows written. See export_measure_csv_to for the writer-based (testable) version.