match_provider: Resolve provider ID or URL based on the information provided...

View source: R/assemble_taxonomy.R

match_providerR Documentation

Resolve provider ID or URL based on the information provided in metabase

Description

Resolve provider ID or URL based on the information provided in metabase

Usage

match_provider(taxa_row, type = "url")

Arguments

taxa_row

(data.frame) One row of a data.frame containing information on a single taxon.

type

(character) "url" or "id". Type of information to return. id returns an abbreviation that can be used to plug in many taxonomic functions. Defaults to url.

Value

(character) URL of the taxonomic provider as can be best guessed by the function. "unknown" if no provider url or name provided (nothing to go on), or if the provider name is not known.


atn38/metabase-to-eml-R documentation built on June 12, 2025, 6:18 p.m.