wm_ranks: Get taxonomic ranks by their identifier

wm_ranksR Documentation

Get taxonomic ranks by their identifier

Description

Get taxonomic ranks by their identifier

Usage

wm_ranks_id(rank_id, id = NULL, offset = 1, ...)

wm_ranks_name(rank_name, id = NULL, offset = 1, ...)

Arguments

rank_id

(numeric/integer) a rank identifier. length==1

id

an AphiaID. length==1

offset

(integer) record to start at. default: 1

...

named curl options. see curl::curl_options

rank_name

(character) a rank name. length==1

Value

A tibble/data.frame

Examples

## Not run: 
wm_ranks_id(220)
wm_ranks_id(180)
wm_ranks_id(180, id = 4)

wm_ranks_name("genus")
wm_ranks_name("genus", id = 4)

## End(Not run)

worrms documentation built on July 9, 2023, 7:01 p.m.