Skip to content

About

Interactive map and field report generated by forplotR from a ForestPlots.net / RAINFOR field sheet (plot RUS01)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

forplotR example: ForestPlots.net / RAINFOR field sheet

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").

Files

  • index.html: field report written by forplot_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 by forplot_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 by forplot_vouchers() and copied by forplot_map(embed_voucher_imgs = FALSE).

Data

Real census data of plot RUS01 (Atlantic Forest, Brazil), distributed with the package as the dataset RUS01.

How it was made

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.

About

Interactive map and field report generated by forplotR from a ForestPlots.net / RAINFOR field sheet (plot RUS01)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages