Learn R Programming

SHARK4R (version 1.0.2)

match_dyntaxa: Taxon matching using Dyntaxa (https://www.dyntaxa.se/)

Description

[Deprecated]

This function is deprecated and has been replaced by is_in_dyntaxa().

Usage

match_dyntaxa(names, subscription_key = Sys.getenv("DYNTAXA_KEY"))

Value

A logical vector indicating whether each input name was found in Dyntaxa, same as is_in_dyntaxa(). Messages about unmatched taxa are printed.

Arguments

names

Character vector of scientific names to check in Dyntaxa.

subscription_key

A Dyntaxa API subscription key. By default, the key is read from the environment variable DYNTAXA_KEY.

Details

This function is retained for backward compatibility but may be removed in future versions. Use the newer function is_in_dyntaxa() instead.

A valid Dyntaxa API subscription key is required. You can request a free key for the "Taxonomy" service from the ArtDatabanken API portal: https://api-portal.artdatabanken.se/

Examples

Run this code
if (FALSE) {
# Deprecated function usage
match_dyntaxa(c("Skeletonema marinoi", "Nonexistent species"),
              subscription_key = "your_key_here")
}

Run the code above in your browser using DataLab