kew_citation: Get citation for Kew data resource.

View source: R/kew_citation.R

kew_citationR Documentation

Get citation for Kew data resource.

Description

Given the result of a query to a Kew data resource, get the appropriate citation.

Usage

kew_citation(x)

Arguments

x

Result of a call to search_powo(), lookup_powo(), search_wcvp(), lookup_wcvp(), search_ipni(), lookup_ipni(), search_tol(), load_tol(), match_knms(), or match_krs()

Value

A citation object with a print method for nice display.

Examples

r <- search_powo(list(characteristic="poison"))
kew_citation(r)

r <- lookup_powo("320035-2")
kew_citation(r)

r <- search_wcvp(list(genus="Poa"))
kew_citation(r)

r <- lookup_wcvp("320035-2")
kew_citation(r)

r <- search_ipni(list(publishing_author="L."))
kew_citation(r)

r <- lookup_ipni("12653-1")
kew_citation(r)

r <- search_tol("Poa")
kew_citation(r)

r <- lookup_tol(2717)
kew_citation(r)

tree <- load_tol()
kew_citation(tree)

match <- match_knms("Poa annua")
kew_citation(match)

match <- match_krs("Poa annua")
kew_citation(match)



barnabywalker/kewr documentation built on July 5, 2022, 5:37 p.m.