DRDataRaft/ docs
GitHub ↗

dr_report_read()

Reads the saved manifest without recalculating any metric. It preserves the original calculation times and works on read-only lakes. Values use the JSON representation stored in the report; dates are ISO strings. With values_only, ordinary reports return named result tibbles; batch reports return the long measurement table, with Date selections restored in the .period list column.

Usage

dr_report_read(lake, id, values_only = FALSE)

Arguments

lake
Connected lake, lake configuration or local lake folder. Supplied connections remain open; internally opened connections always close.


id
Report release ID.


values_only
Return only the named result tables.

Value

A manifest list; with values_only, a named list of tibbles for ordinary reports or a long tibble for batch reports.

Examples

# After saving report.v1 with dr_report_release():
# dr_report_read(lake, "report.v1", values_only = TRUE)
Documentation source snapshot · View source at 513e09e ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.