The HTML and PDF reports, in a folder named for the species and the date, archived. This is the app's reports-only download, for someone who wants the write-up without the GIS layers. The analysis is packed once and rendered twice, so this costs less than two separate calls.
Arguments
- x
A
connectivity_report_dataobject fromconnectivity_report_data().- path
Path to write the
.zipto.
See also
zip_connectivity_assets() for everything, and
generate_connectivity_report() for one report on its own.
Examples
# \donttest{
report_data <- connectivity_report_data(
habitat = example_habitat(),
barrier = example_barrier(),
species = "Blue Tongue Lizard",
interpatch_distance = 20,
verbose = FALSE
)
# rendering needs the Quarto command line tool
if (quarto_available()) {
zip_path <- zip_connectivity_reports(
report_data,
tempfile(fileext = ".zip")
)
zip::zip_list(zip_path)$filename
}
#> Rendering html report...
#> Wrote
#> /tmp/RtmpkGCSr6/urbioconnect-zip28ca2acce77b/blue-tongue-lizard-connectivity-2026-10-11/report.html
#> Rendering pdf report...
#> Wrote
#> /tmp/RtmpkGCSr6/urbioconnect-zip28ca2acce77b/blue-tongue-lizard-connectivity-2026-10-11/report.pdf
#> [1] "blue-tongue-lizard-connectivity-2026-10-11/"
#> [2] "blue-tongue-lizard-connectivity-2026-10-11/report.html"
#> [3] "blue-tongue-lizard-connectivity-2026-10-11/report.pdf"
# }