Skip to contents

Summarise MeSH (Medical Subject Headings) terms from the concepts table.

Usage

sm_field_pubmed_mesh(corpus, call = rlang::caller_env())

Arguments

corpus

An sm_corpus.

call

Caller environment.

Value

A tibble with mesh_term, count, and proportion.

See also

Examples

corpus <- sm_example_corpus()
sm_field_pubmed_mesh(corpus)
#>  No MeSH terms found. Enrich with `sm_enrich_concepts()`.
#> # A tibble: 0 × 3
#> # ℹ 3 variables: mesh_term <chr>, count <int>, proportion <dbl>