Description Usage Arguments Value Author(s) References Examples
This function downloads species occurence records from the Global Biodiversity Information Facility (GBIF) data portal. You can download either a single species (if you append a '*' to the species name) or a subspecies of comparable level. You can download the data for an entire genus by using species='*'
. Before using this function, please first check the GBIF data use agreement.
1 2 |
genus |
character. genus name |
species |
character. species name. Use '*' to download the entire genus. Append '*' to the species name to get all naming variants (e.g. with and witout species author name) and sub-taxa |
ext |
Extent object to limit the geographic extent of the records. An extent can be created using functions like |
args |
character. Additional arguments to refine the query. See query parameters in http://www.gbif.org/developer/occurrence for more details |
geo |
logical. If |
sp |
logical. If |
removeZeros |
logical. If |
download |
logical. If |
ntries |
integer. How many times should the function attempt to download the data, if an invalid response is returned (perhaps because the GBIF server is very busy) |
nrecs |
integer. How many records to download in a single request (max is 300)? |
start |
integer. Record number from which to start requesting data |
end |
integer. Last record to request |
data frame
Robert J. Hijmans
http://www.gbif.org/occurrence
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
gbif('solanum', download=FALSE)
gbif('solanum', 'acaule', download=FALSE)
gbif('Batrachoseps', '' , down=FALSE)
gbif('Batrachoseps', 'luciae', down=FALSE)
g <- gbif('Batrachoseps', 'luciae', geo=TRUE)
plot(g$lon, g$lat)
gs <- gbif('Batrachoseps', 'luciae', sp=TRUE)
plot(gs)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.