Skip to contents

Calculates the number of shows performed in each month.

Usage

count_shows_by_month(concert_data)

Arguments

concert_data

A data frame containing concert information with columns: showID (or a unique identifier for each show) and date (in Date format)

Value

A data frame with columns: month (factor with levels ordered from Jan to Dec) and count (number of shows in that month)

Examples

if (FALSE) { # \dontrun{
month_counts <- count_shows_by_month(concert_data)
print(month_counts)
} # }