taxadb (version 0.1.0)

name_starts_with: scientific name starts with

Description

scientific name starts with

Usage

name_starts_with(
  name,
  provider,
  version = latest_version(),
  db = td_connect(),
  ignore_case = TRUE
)

Arguments

name

vector of names (scientific or common, see by) to be matched against.

provider

from which provider should the hierarchy be returned? Default is 'itis', which can also be configured using options(default_taxadb_provider=..."). See [td_create] for a list of recognized providers.

version

Which version of the taxadb provider database should we use? defaults to latest. See available_versions for details.

db

a connection to the taxadb database. See details.

ignore_case

should we ignore case (capitalization) in matching names? default is TRUE.

Examples

Run this code
# NOT RUN {
     ## All examples use a temporary directory
   Sys.setenv(TAXADB_HOME=tempdir())
  
name_contains("Homo ")
# }

Run the code above in your browser using DataCamp Workspace