spp_list_gbif: Get a species list via rgbif

Description Usage Arguments Value Examples

View source: R/spp_list_gbif.R

Description

MIGHT DROP THIS FXN

Usage

1
spp_list_gbif(query = NULL, geometry = NULL, limit = 500, ...)

Arguments

query

(character) Passed to scientificName parameter in occ_search

geometry

Searches for occurrences inside a polygon described in Well Known Text (WKT) format. A WKT shape written as either POINT, LINESTRING, LINEARRING or POLYGON. Example of a polygon: ((30.1 10.1, 20, 20 40, 40 40, 30.1 10.1)) would be queried as http://bit.ly/1BzNwDq.

limit

Number of records to return. Default: 100. Maximum: 1000.

...

Further args passed on to occ_search

Value

A data.frame or list

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
spp_list_gbif("Helianthus", limit = 20)
spp_list_gbif("Aves", limit = 20)
spp_list_gbif("Mammalia", limit = 20)

geometry <- "POLYGON((8.98 48.05,15.66 48.05,15.66 45.40,8.98 45.40,8.98 48.05))"
spp_list_gbif(geometry = geometry, limit = 20)

# search by country
(res <- spp_list_gbif(country = 'US', limit = 20))
(res <- spp_list_gbif(country = 'CA', limit = 20))

## End(Not run)

sckott/spplist documentation built on Dec. 1, 2020, 5:30 p.m.