Learn R Programming

ennet (version 0.2.2)

count_topics_author: 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

Examples

Run this code
# NOT RUN {
## 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)

# }

Run the code above in your browser using DataLab