Skip to contents

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

if (FALSE) { # \dontrun{
wm_ranks_id(220)
wm_ranks_id(180)
wm_ranks_id(180, id = 4)

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