Skip to contents

List herbs that contain a specific compound.

Usage

get_compound_herbs(id, page = 1L, page_size = 20L, all_pages = FALSE)

Arguments

id

The UniTCM ingredient ID.

page

Page number (default 1).

page_size

Results per page (default 20).

all_pages

If TRUE, fetch all pages.

Value

A tibble::tibble() of herbs with attribute "total".

Examples

if (FALSE) { # \dontrun{
get_compound_herbs("UNITCM_I00001")
} # }