Supplementary example for the manuscript describing the R package forplotR.
A 1-ha permanent plot (100 subplots of 10 x 10 m) read from a ForestPlots.net standard field sheet (input_type = "field_sheet").
index.html: field report written byforplot_balance()(collection balance, subplot pages, floristics and phytosociology, checklist; it can be printed to PDF from the browser). The button at the top opens the map.map.html: interactive plot map written byforplot_map()(Leaflet), with a button back to the report. The popup of each collected tree shows its voucher photos.RUS01_map_vouchers/: voucher photos linked by the map (up to 3 per voucher, 846 photos), organised byforplot_vouchers()and copied byforplot_map(embed_voucher_imgs = FALSE).
Real census data of plot RUS01 (Atlantic Forest, Brazil), distributed with the package as the dataset RUS01.
fp <- file.path(tempdir(), "RUS01.xlsx")
openxlsx::write.xlsx(forplotR::RUS01, fp)
forplot_vouchers(fp, output_dir = "voucher_imgs") # then photos placed in each voucher folder
forplot_map(fp, input_type = "field_sheet", vertex_coords = corners, language = "en",
voucher_imgs = "voucher_imgs", embed_voucher_imgs = FALSE,
report_url = "index.html")
forplot_balance(fp, input_type = "field_sheet", language = "en", map_url = "map.html")Team names were replaced by a generic label and voucher codes by a neutral prefix (V) for double-anonymous review. Photos were resized to 1280 px and their metadata removed.