Skip to contents

Full-text search across TCM ontology entities.

Usage

search_ontology(q, limit = 20L, level = NULL, category = NULL)

Arguments

q

Search query (required).

limit

Maximum results to return (default 20).

level

Filter by ontology level (integer, 1–4).

category

Filter by top-level category.

Value

A tibble::tibble() with columns: tcm_id, name, name_cn, level, path, match_field, highlight.

Examples

if (FALSE) { # \dontrun{
search_ontology("Qi stagnation")
} # }