Render a summary table from wcvp_summary
Examples
# this example requires 'rWCVPdata'
if(requireNamespace("rWCVPdata")){
ferns <- wcvp_summary("Ferns", "higher", get_wgsrpd3_codes("New Zealand"), grouping_var = "family")
wcvp_summary_gt(ferns)
}
#> ℹ Matches to input geography found at Country (Gallagher) and Region (Level 2)
#> ℹ Aggregating occurrence types across input area ("New Zealand") - see `?wcvp_summary()` for details.
Ferns of New Zealand
Total number of species: 209
Number of regionally endemic species: 78
Family
Native
Endemic
Introduced
Extinct
Total