When using data obtained via SSARP::get_data()
and filtered with
SSARP::find_areas()
for a publication, you must keep a record of the
datasets used in your analysis. This function assists in creating the
dataframe necessary to follow GBIF's citation guidelines (see References).
Arguments
- occs
The occurrence record dataframe returned by
SSARP::get_data()
orSSARP::find_areas()
.
Value
A dataframe of dataset keys and the number of occurrence records
associated with each key that were gathered with SSARP::get_data()
and/or
filtered with SSARP::find_areas()
.
References
Data obtained via
SSARP::get_data()
and filtered withSSARP::find_areas()
falls under the derived datasets distinction
Examples
# The GBIF key for the Anolis genus is 8782549
# Obtained with: key <- get_key(query = "Anolis", rank = "genus")
key <- 8782549
# Read in example dataset obtained through:
# dat <- get_data(key = key, limit = 100)
dat <- read.csv(system.file("extdata",
"SSARP_Example_Dat.csv",
package = "SSARP"))
source_df <- get_sources(occs = dat)