rmmAutofillBIEN: Add occurrence metadata from a BIEN query to an rmm object

View source: R/autofill.R

rmmAutofillBIENR Documentation

Add occurrence metadata from a BIEN query to an rmm object

Description

This function populates occurrence field in an rmm object with output from a BIEN_occurrence_... query

Usage

rmmAutofillBIEN(rmm, occurrences)

Arguments

rmm

an rmm list

occurrences

an occurrence data.frame obtained from a BIEN occurrence query

Details

See Examples.

Value

a range model metadata list

Author(s)

Cory Merow <cory.merow@gmail.com>, Brian Maitner <bmaitner@gmail.com>,

See Also

BIEN_occurrence_species

Other autofill: rmmAutofillEnvironment(), rmmAutofillPackageCitation(), rmmAutofillspocc()

Examples

## Not run: 
rmm <- rmmTemplate()
xs <- BIEN::BIEN_occurrence_species(species="Xanthium strumarium")
rmmAutofillBIEN(rmm = rmm, occurrences = xs)

## End(Not run)

rangeModelMetadata documentation built on Oct. 17, 2023, 1:11 a.m.