Get Top SADCAT Dictionary Matches
get_top_dictionary_matches.RdInspect the most frequent words in text_col that match
each SADCAT dictionary dimension. Useful for quick sanity checks of what the
dictionary coding is capturing in your dataset.
Usage
get_top_dictionary_matches(
data,
text_col = "tv3",
top_n = 20L,
sadcat_dict = NULL,
dictionary_names = NULL,
min_count = 1L,
verbose = TRUE
)Arguments
- data
A data.frame containing text responses.
- text_col
Column containing text to inspect (default
"tv3").- top_n
Number of top words to return per dimension (default
20).- sadcat_dict
Optional SADCAT dictionary object from
prepare_sadcat_dictionaries. IfNULL, it is prepared automatically.- dictionary_names
Optional vector of dictionary names to include (e.g.,
c("Warmth_dic", "Competence_dic")). IfNULL, uses base SADCAT dimensions (*_dic) only.- min_count
Minimum token frequency to keep (default
1).- verbose
Print progress? (default
TRUE).