query_concepts: Query taxon concepts

View source: R/query_concepts.R

query_conceptsR Documentation

Query taxon concepts

Description

Extract taxonomies by matching character strings.

Usage

query_concepts(conn, ...)

## S3 method for class 'PostgreSQLConnection'
query_concepts(
  conn,
  query,
  taxonomy,
  schema = "plant_taxonomy",
  case = FALSE,
  exact = FALSE,
  ...
)

Arguments

conn

Connection to the database as PostgreSQLConnection.

...

Further arguments passed to db2taxlist().

query

A character value that will be matched with the names stored in the database.

taxonomy

Character value with the name of the taxonomy in the database.

schema

Character value indicating the name of the schema containing taxonomic information within the database.

case

A logical value indicating whether the match should be case sensitive (TRUE) or not (FALSE, the default).

exact

A logical value indicating whether the exact string is queried.

Value

A taxlist object with the queried taxon concepts.


kamapu/vegtableDB documentation built on June 18, 2024, 1:13 a.m.