Skip to contents

Render a summary table from wcvp_summary

Usage

wcvp_summary_gt(x)

Arguments

x

List.

Value

gt table

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
Aspleniaceae 56 22 2 58
Cyatheaceae 11 8 1 12
Dennstaedtiaceae 12 2 12
Gleicheniaceae 9 1 9
Hymenophyllaceae 28 17 28
Lindsaeaceae 3 1 3
Marattiaceae 1 1
Marsileaceae 1 1
Ophioglossaceae 6 1 6
Osmundaceae 3 2 1 4
Polypodiaceae 35 16 8 43
Psilotaceae 6 1 6
Pteridaceae 18 6 1 19
Salviniaceae 1 1 2
Schizaeaceae 5 1 5