Export a MineSDG report's tables to an Excel workbook
write_report_xlsx.RdWrites a workbook with a Cover sheet (metadata and coverage), the disclosure tables, and a Data Annex containing the bundle's KPI and raw-input tables. Requires the openxlsx2 package.
Examples
rep <- generate_gri_report(demo_mine_sites, site_id = "CU-ATAC",
years = 2023:2024)
out <- write_report_xlsx(rep, file.path(tempdir(), "gri.xlsx"))