Learn R Programming

marinespeed (version 0.1.0)

get_occurrences: Get occurrence records

Description

get_occurrences returns a data.frame with all occurrence records for one or more species, first columns are species, longitude and latitude followed by environmental data columns.

Usage

get_occurrences(species, raw = FALSE)

Arguments

species
dataframe or character vector. Dataframe like returned by list_species or the names of the species.
raw
logical. If FALSE then 25 square kilometer grid and manual outlier filtered occurrence records are returned.

Value

Dataframe with as columns: species, longitude, latitude and the environmental variable columns.

See Also

lapply_species, get_fold_data, list_species, get_background

Examples

Run this code
## Not run: ------------------------------------
# abalistes_stellatus <- get_occurrences("Abalistes stellatus")
# 
# species <- list_species()
# first10 <- get_occurrences(species[1:10,])
## ---------------------------------------------

Run the code above in your browser using DataLab