Getting taxa keys and scientifc name for redlist species was very slow. First, use rgbif::name_backbone_checklist (vectorised version of name_backbone). second, call it once to get the backbone for all species and use it to get taxa key and name directly (instead of two functions that obtain the backbone separately).
What changes have been made?
functions/getGbifBackbone.R -
function obtains gbif backbone using rgbif::name_backbone_checklist (accepts a vector of scientific names)
functions/matchBackboneKeys.R -
replacement of taxaChecklist to extract taxa keys from gbif backbone
pipeline/import/taxaImport.R - utilise the getGbifBackbone & matchBackboneKeys functions and extract scientific name directly from backbone (instead of calling findGBIFName)
Why have changes been made?
Getting taxa keys and scientifc name for redlist species was very slow. First, use rgbif::name_backbone_checklist (vectorised version of name_backbone). second, call it once to get the backbone for all species and use it to get taxa key and name directly (instead of two functions that obtain the backbone separately).
What changes have been made?