searh_gbif_data: Function to search and download gbif data

Description Usage Arguments Value Examples

View source: R/search_gbif_data.R

Description

Searchs gbif data using the function occ from the spocc package

Usage

1
searh_gbif_data(genus, species, occlim = 10000, writeFile = FALSE)

Arguments

genus

Species genus

species

Species name

occlim

Occurrence data search limit.

writeFile

Write gibif data into a csv

Value

Returns a data.frame with coordinate data from species

Examples

1
2
3
4
5
6
7
8
9
# Species genus
# genus <- "ambystoma"
# Species name
# species <- "tigrinum"
# GBIF search
# ambystoma_tigrinum <- searh_gbif_data(genus,species,
#                                        occlim=100,
#                                        writeFile=FALSE)
# head(ambystoma_tigrinum[,1:5])

luismurao/nichetoolbox documentation built on May 21, 2019, 8:56 a.m.