Wrapper for Python BERTopic.topics_over_time(). Returns a tibble and
attaches the original Python dataframe in the "_py" attribute for use in
visualization.
bertopic_topics_over_time(
model,
docs,
timestamps,
nr_bins = NULL,
datetime_format = NULL
)A tibble with topics-over-time data; attribute "_py" stores the
original Python dataframe.
A "bertopic_r" model.
Character vector of documents.
A vector of timestamps (Date, POSIXt, or character).
Optional number of temporal bins.
Optional strftime-style format if timestamps are strings.