add_Aphia_ID | R Documentation |
Add WoRMS Aphia Id Add WoRMS Aphia Id to predator or prey species where missing.
add_Aphia_ID(
stom,
Worms_Aphia_ID,
predator_or_prey = c("predator", "prey"),
stop_if_errror = FALSE,
delete_first = FALSE,
verbose = FALSE,
match_item = c("item", "scientific")[2]
)
stom |
Stomach data set of class STOMobs, from e.g. read_exchange_data). |
Worms_Aphia_ID |
File Name including WoRMS Aphia ID by Latin (or other) predator or prey name.file 'WoRM_AphiaID.csv' in the package /inst directory is used as default. |
predator_or_prey |
Add missing Aphia ID for predator | prey. |
stop_if_errror |
Logical for stopping if AphiaID is not found for all. |
delete_first |
Delete all existing WoRMS Aphia Id before adding new |
verbose |
Show information on progress |
match_item |
Variable name in WoRM_AphiaID.csv ("item" or "scientific') used to assign WoRMS Aphia ID. |
Stomach data on internal format.
## Not run: add_Aphia_ID(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.