When using data obtained via rgbif::occ_search() 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
rgbif::occ_search()orssarp::find_areas().
Value
A dataframe of dataset keys and the number of occurrence records
associated with each key that were gathered with rgbif::occ_search() and/or
filtered with ssarp::find_areas().
References
Data obtained via
rgbif::occ_search()and filtered withssarp::find_areas()falls under the derived datasets distinction
Examples
# The GBIF key for the Anolis genus is 8782549
# Read in example dataset filtered from:
# dat <- rgbif::occ_search(taxonKey = 8782549,
# hasCoordinate = TRUE,
# limit = 10000)
dat <- read.csv(system.file("extdata",
"ssarp_Example_Dat.csv",
package = "ssarp"))
source_df <- get_sources(occs = dat)
