podlove_performance_stats: Calculate podcast episode performance indicators

Description Usage Arguments Value See Also Examples

View source: R/podlove_performance_stats.R

Description

Calculates totals and average downloads of podcast episodes with flexible defitions of "launch" and "evergreen" (long-term) periods.

Podcast performance between episodes is difficult to measure and compare, because podcasts a) have in most cases successive release dates, b) follow non-linear, usually exponential performance patterns. Comparisons therefore need to be based on indicators reflecting those peculiarities.

One possible approach is to look at average downloads per time unit (e.g. days), and split performance in an initial "launch" period and a long- term "evergreen" period. The function podlove_performance_stats and its helper function podlove_total_average_downloads allow this.

Usage

1
2
3
4
5
6
podlove_performance_stats(
  df_tidy_data,
  launch = 3,
  post_launch = 7,
  limit_unit = "days"
)

Arguments

df_tidy_data

A tidy data frame with download data, as constructed by podlove_clean_stats() or podlove_get_and_clean.

launch

definition of a episode launch period in days after launch

post_launch

definition of begin of long-term performance in days after launch

limit_unit

time unit for limits. Can be "days" (default) or "hours". Used to fine-tune launch performance cutoffs.

Value

a dataframe containing performance data per episode title (total total downloads, average downloads during launch, average downloads after launch)

See Also

podlove_total_average_downloads for a more the helper function behind this function, which allows more fine tuned data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# performance stats with a launch period of 2 days and a post-launch period
# of 5 days
podlove_performance_stats(podcast_example_data, launch = 2, post_launch = 5)

# performance stats with a launch period of 12 hours and a post-launch period
# of 120 hours (= 5 days)
podlove_performance_stats(podcast_example_data,
                          launch = 2, post_launch = 5*24, limit_unit = "hours")

## End(Not run)

lordyo/podlover documentation built on Feb. 20, 2020, 5:58 p.m.