Skip to contents

Calculates the number of shows performed in each decade based on the input data.

Usage

count_shows_by_decade(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: decade (factor with levels ordered chronologically) and count (number of shows in that decade)

Examples

if (FALSE) { # \dontrun{
decade_counts <- count_shows_by_decade(concert_data)
print(decade_counts)
} # }