Get Topic Information DataFrame
get_topic_info_df.RdThis function retrieves topic information from a BERTopic model and processes it to unnest list columns, replace NA values, and consolidate columns with the same prefix.
Examples
if (FALSE) { # \dontrun{
topic_info_df <- get_topic_info_df(model = topic_model,
drop_expanded_columns = TRUE)
print(topic_info_df)
} # }