Get monthly and weekly show download counts
op3_downloads_show.Rd
op3_downloads_show()
obtains the number of monthly downloads and average
weekly downloads over the last four weeks (excludes bots)
Arguments
- show_id
One or more character strings of OP3 show UUID values
- nest_downloads
Boolean to create a list column of the weekly download metrics or expand the data frame to have one row per week of download metrics. Default is
TRUE
.
Value
tibble
data frame with the following columns:
days
: Number of days in time windowmonthlyDownloads
: Number of downloads in monthweeklyAvgDownloads
: Average number of downloads per week in monthnumWeeks
: Number of weeks in time windowdownload_data
: Nested data frame of download numbers per week (whennest_downloads
is TRUE)weekNumber
: Week number in time window (whennest_downloads
is FALSE)weeklyDownloads
: Number of downloads forweekNumber
(whennest_downloads
is FALSE)