Skip to contents

Get a checklist of the vascular plants growing near a given point or polygon.

Usage

get_checklist(zone = NULL, sf = FALSE)

Arguments

zone

A vector of two numbers giving the point longitude and latitude (in that order), an sf object with a single point coordinate, or a polygon sf object.

sf

Logical. If FALSE (default) return a dataframe with the checklist. If TRUE, return an sf object with the coordinates where each taxa is found. Note these point coordinates represent the centre of 10 km resolution UTM grid cells, not the actual location of these plants.

Value

A dataframe or sf object

Note

As the original data (AFLIBER database) have 10-km resolution, the resulting checklist may include taxa present within 10 km distance of the point or polygon.

Examples

sitio <- c(-5, 40)
head(get_checklist(sitio))
#>         Genus          Species     Subspecies
#> 1        Acer   monspessulanum monspessulanum
#> 2 Adenocarpus           aureus           <NA>
#> 4 Adenocarpus      complicatus           <NA>
#> 5      Allium scorzonerifolium           <NA>
#> 6       Alnus        glutinosa           <NA>
#> 7     Alyssum      fastigiatum           <NA>