load_mesh_terms_from_pubmed: Load terms from MeSH using PubMed search

View source: R/text_preprocessing.R

load_mesh_terms_from_pubmedR Documentation

Load terms from MeSH using PubMed search

Description

This function enhances the MeSH dictionary by extracting additional terms from PubMed search results using MeSH queries.

Usage

load_mesh_terms_from_pubmed(
  mesh_queries,
  max_results = 50,
  min_term_length = 3,
  sanitize = TRUE
)

Arguments

mesh_queries

A named list of MeSH queries for different categories.

max_results

Maximum number of results to retrieve per query.

min_term_length

Minimum length of terms to include.

sanitize

Logical. If TRUE, sanitizes the extracted terms.

Value

A data frame containing the combined dictionary with extracted terms.


LBDiscover documentation built on June 16, 2025, 5:09 p.m.