Skip to main content

records_to_timeline

Function records_to_timeline 

Source
pub fn records_to_timeline(
    records: &[RecordRef],
    kb: &KnowledgeBase,
) -> (Timeline, Vec<(String, String)>)
Expand description

Map records to a temporal Timeline via the knowledge base (uses each record’s at_minute / dose_scale_pct, defaulting to 0 / 100). Unmapped records are returned alongside.