arrange_replies: Arrange topics based on number of replies

View source: R/analytics.R

arrange_repliesR Documentation

Arrange topics based on number of replies

Description

Arrange topics based on number of replies

Usage

arrange_replies(
  topics,
  by_theme = TRUE,
  by_date = c("month_year", "year", "all")
)

Arguments

topics

A tibble of topics by theme from en-net forum produced through a call to get_themes_topics().

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? 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

Author(s)

Ernest Guevarra

Examples

library(magrittr)
ennet_topics %>% arrange_replies()


katilingban/ennet documentation built on Nov. 3, 2022, 4:39 p.m.