arrange_views: Arrange topics based on number of views
Description
Arrange topics based on number of views
Usage
arrange_views(
topics,
by_theme = TRUE,
by_date = c("month_year", "year", "all")
)
Arguments
by_theme
Logical. Should topics be grouped by theme?
Default is TRUE.
by_date
Should topics be grouped by month of the year or just by
year or overall? Default is to group by month of the year.
Value
A tibble of topic views by theme and by specified date format
arranged in descending order
Examples
Run this code# NOT RUN {
library(magrittr)
ennet_topics %>% arrange_views()
# }
Run the code above in your browser using DataLab