Learn R Programming

ennet (version 0.2.2)

count_topics_day: Count number of questions/topics posted on en-net by time

Description

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

Usage

count_topics_day(topics = get_themes_topics(), .sort = FALSE)

count_topics_week(topics = get_themes_topics(), .sort = FALSE)

count_topics_month(topics = get_themes_topics(), .sort = FALSE)

count_topics_year(topics = get_themes_topics(), .sort = FALSE)

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 FALSE

Value

A tibble of topic counts by specified time grouping

Examples

Run this code
# NOT RUN {
## Get counts of topics by day
count_topics_day(topics = ennet_topics)

## Get counts of topics by week
count_topics_week(topics = ennet_topics)

## Get counts of topics by month
count_topics_month(topics = ennet_topics)

## Get counts of topics by year
count_topics_year(topics = ennet_topics)

# }

Run the code above in your browser using DataLab