count_topics_author: Count number of questions/topics posted on en-net by author

View source: R/analytics.R

count_topics_authorR Documentation

Count number of questions/topics posted on en-net by author

Description

Count number of questions/topics posted on en-net by author

Usage

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

count_topics_author_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 author
count_topics_author(topics = ennet_topics)

## Get counts of authors by author and by time
count_topics_author_time(topics = ennet_topics)


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