get_id

gets id's of all AmP-supported websites

Contents

Syntax

[id, id_txt, my_pet_acc] = get_id(my_pet, open, tab)

Description

Gets identifiers for all websites that AmP uses for this taxon. Some websites apply to all animals, others only for particular taxa. The lineage is taken from Taxonomicon. The CoL id is obtained automatically via get_id_CoL (ChecklistBank, latest CoL release).

Input:

Output:

Remarks

Outputs empty id strings if identification was not successful. Taxonomicon is used for lineage; CoL does not always give standard linnean ranks (e.g. Famili is sometimes missing)

Example of use

get_id('Passer_domesticus', 1, 1)

local helper: try accepted name first, fall back to original if lookup returns empty