SpeciesGeoCoder(x, y, coex = FALSE, graphs = TRUE, areanames = "", occ.thresh = 0, elevation = FALSE, threshold,
verbose = FALSE, cleaning = FALSE, ...)
data.frame
with three columns named identifier, XCOOR, YCOOR or a character string
. If x is a character string it can be the path to a tab-delimited text file containing the coordinates of points of interest (tab delimited, three columns with header: identifier, XCOOR, YCOOR) OR a shape file OR a vector of species names. In the latter cases GBIF is search for occurrence data using the rgbif
function.
character string
giving the path to a text file containing the polygons of points of interest (tab delimited, three columns with header: identifier, XCOOR, YCOOR) OR an object of the class SpatialPolygons OR an object of the class SpatialPolygonsDataframe
.
character string
. If the input polygon file is a shape and not a text file, this column indicates the name of the column used for area names. See the SpeciesgeocodeR documentation for more information, if the polygon input file is a text file leave as default (default = "").
GeoClean
is applied to the input coordinates.
GeoClean
.
## Not run:
# data(lemurs)
# data(mdg_poly)
# SpeciesGeoCoder(lemurs, mdg_poly## End(Not run)
Run the code above in your browser using DataLab