Identifies the top-performing search terms based on their effectiveness scores and optionally creates highlighted visualizations.
find_top_terms(
term_analysis,
n = 3,
score_col = "tes",
plot = TRUE,
plot_type = "precision_only"
)
List containing top terms and optionally a highlighted plot
Data frame from term_effectiveness() function
Number of top terms to identify (default: 3)
Name of the score column to use for ranking (default: "tes")
Whether to create a highlighted plot (default: TRUE)
Type of plot for highlighting ("precision_only", "coverage_only", "precision_coverage")
This function:
Calculates effectiveness scores if not already present
Identifies the top N performing terms
Optionally creates a visualization highlighting these terms