count_topics_theme: Count number of questions/topics posted on en-net

View source: R/analytics.R

count_topics_themeR Documentation

Count number of questions/topics posted on en-net

Description

Count number of questions/topics posted on en-net

Usage

count_topics_theme(topics = get_themes_topics(), .sort = TRUE)

count_topics_theme_time(
  topics = get_themes_topics(),
  by_time = c("day", "week", "month", "year"),
  .sort = TRUE
)

Arguments

topics

A tibble of topics by theme, by author, and by posting date from en-net forum produced through a call to get_themes_topics()

.sort

Logical. Should output be sorted by count frequencies? Default is TRUE

by_time

Should topics be counted by day, by week, by month or by year? Default is to count by day.

Value

A tibble of topic counts by specified grouping

Author(s)

Ernest Guevarra

Examples

## Get counts of topics by theme
count_topics_theme(topics = ennet_topics)

## Get counts of topics by theme and by time
count_topics_theme_time(topics = ennet_topics)


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