Report sections

Introduction

1.1 Problem Statement

This project examines whether better-performing NFL teams have higher home attendance and how attendance varies across teams and seasons. Understanding these patterns can help ticketing, marketing and business operations staff assess attendance alongside team performance.

1.2 Data and Methodology

We use NFL attendance, standings and game records for 2000-2019. Repeated season attendance totals are reduced to one row per team-season and joined to standings. We calculate ties as 16 minus wins minus losses and the proportion of games won as wins/16; ties receive no win credit. Game records provide a check on tied games. Grouped summaries, tables and plots then compare attendance across years, performance groups and franchises.

1.3 Proposed Analytical Approach

The approach is exploratory: grouped comparisons describe associations without estimating causal effects or forecasting attendance. The research questions are:

  1. How has NFL attendance changed over time?
  2. Do better-performing teams tend to have higher home attendance?
  3. Is attendance different for teams that make the playoffs or win the Super Bowl?
  4. How much does attendance vary across NFL teams, and do stronger seasons draw more than a team’s usual attendance?

The outcome is season home attendance. Performance is compared using the proportion of games won, win groups, point differential and postseason outcomes. We also compare each season’s attendance and wins with that franchise’s historical averages. Weekly attendance is inspected during cleaning but is not an outcome in the analysis.

1.4 Value of the Analysis

The findings provide historical benchmarks for comparing attendance with performance and identifying weaker seasons for further investigation. Differences between franchises may also point to the importance of venue and market conditions, although those factors are not measured here. The report supports further business investigation rather than predicting demand or evaluating marketing campaigns.

Packages Required

tidyverse provides data import, cleaning, joins, reshaping, grouped summaries and plots. knitr::kable() formats tables. Package-loading messages and warnings are suppressed.

library(tidyverse)

Data Preparation

3.1 Data Source

The three files come from the TidyTuesday NFL Attendance release, originally sourced from Pro Football Reference. They cover the 2000-2019 seasons and were released on 4 February 2020. The documentation does not specify the original collection dates.

3.2 Description of the Source Data

File Rows Variables Unit and contents
attendance.csv 10,846 8 Team-week: identifiers, weekly attendance and repeated season total, home and away attendance
standings.csv 638 15 Team-season: record, scoring, rating measures and postseason outcomes
games.csv 5,324 19 Individual game: teams, date/time, scores, yards and turnovers, including postseason games

These levels must be considered before joining. Missing weekly attendance and tie labels are assessed according to their meaning in section 3.3.

3.3 Data Importing and Cleaning

Import and assess the source files

We imported the original CSV files with read_csv() and checked dimensions, types and missing values. Detailed inspection output is hidden in the report.

attendance <- read_csv("attendance.csv")
standings <- read_csv("standings.csv")
games <- read_csv("games.csv")

Attendance has 638 missing weekly_attendance values: one per team-season, consistent with the non-playing week described in the dictionary. We retain these as missing; the season totals used in the analysis are complete. Standings has no missing values. The 5,314 missing tie labels in games indicate that no second tied team is listed; scores are available, so these rows are retained.

Create one observation per team-season

Season totals repeat across 17 weekly attendance rows. select() and distinct() retain each team-season once, preventing those totals from being counted repeatedly.

# Keep the season totals once for each team and year
season_attendance <- attendance |>
  select(team, team_name, year, total, home, away) |>
  distinct()

# Check whether any team-season appears more than once
attendance_duplicates <- season_attendance |>
  count(team, team_name, year) |>
  filter(n > 1)

standings_duplicates <- standings |>
  count(team, team_name, year) |>
  filter(n > 1)

The prepared attendance table has 638 rows, with 0 duplicated team-city, nickname and year keys. Standings has 0 duplicated keys. City is retained for the join; franchise summaries later group by nickname across city changes.

Join attendance and season performance

We check unmatched records with anti_join(), then add standings using left_join() on city, nickname and year. The left join retains all prepared attendance rows.

# Find attendance rows with no matching standings row
unmatched_standings <- season_attendance |>
  anti_join(standings, by = c("team", "team_name", "year"))

# Add performance variables to the attendance data
nfl_data <- season_attendance |>
  left_join(standings, by = c("team", "team_name", "year"))

All attendance records match (0 unmatched), and the join retains 638 rows.

Calculate ties and the proportion of games won

Standings has no ties column. Each team-season in these files has 16 regular-season games, so we calculate ties as 16 minus wins minus losses and win_pct as wins/16. This formula applies to the seasons covered here.

# Find the number of tied games in each team's season record
nfl_data <- nfl_data |>
  mutate(ties = 16 - wins - loss)

# Calculate the proportion of games actually won
nfl_data <- nfl_data |>
  mutate(win_pct = wins / 16)

Ties receive no win credit: an 8-7-1 record means 8/16 = 50% of games won. We check the tie total against equal-score games in regular-season weeks 1-17; each tied game involves two teams.

The 10 tied games correspond to 20 team-season ties. Individual game rows remain separate to avoid repeating season totals.

Validate and retain unusual observations

Final check Result
Team-season observations 638
Duplicate team-season keys 0
Missing values in the final table 0
Invalid ties or win proportions 0
Negative attendance or total unequal to home plus away 0

We retained unusual attendance values without evidence of an error, including the minimum of 202,687 for the 2017 Los Angeles Chargers. Stadium capacity is unavailable, limiting interpretation of such extremes.

3.4 Final Clean Dataset

The final table has 638 team-seasons and 20 variables for 2000-2019. It retains season attendance and standings variables and adds ties and the proportion of games won. A six-row preview follows.

A condensed preview of the cleaned team-season data.
team team_name year home wins loss ties win_pct
Arizona Cardinals 2000 387475 3 13 0 0.19
Atlanta Falcons 2000 422814 4 12 0 0.25
Baltimore Ravens 2000 551695 12 4 0 0.75
Buffalo Bills 2000 560695 8 8 0 0.50
Carolina Panthers 2000 583489 7 9 0 0.44
Chicago Bears 2000 535552 5 11 0 0.31

3.5 Variables of Interest

Selected numeric variables across the 638 team-seasons.
Variable Meaning and role
home Primary outcome: a team’s season home attendance; counts visits rather than unique people
total, away Season attendance across all games and at away games; retained for context
wins, loss, ties Regular-season record; ties are calculated as 16 minus wins minus losses
win_pct Wins/16: the proportion of games actually won; ties receive no win credit
points_differential Points scored minus points allowed; a second performance measure
playoffs, sb_winner End-of-season playoff and championship categories
team, team_name, year Historical city, team nickname and season identifiers
Variable Minimum Median Mean Maximum
home 202687 543185.0 540455.013 741775
points_differential -261 1.5 0.000 315
win_pct 0 0.5 0.499 1
wins 0 8.0 7.984 16

Mean season home attendance is 540,455 visits; the median is 543,185. There are 240 playoff team-seasons, including 20 champions. Postseason outcomes describe end-of-season results.

Exploratory Data Analysis

We compare league trends, performance groups, postseason outcomes and franchise differences. Each season total is counted once. Means are rounded for display; differences use unrounded values.

4.1 How Has Attendance Changed Over Time?

We compare mean home attendance per team-season because league size increased from 31 teams in 2000-2001 to 32 from 2002. The table includes total attendance for context.

annual_attendance <- nfl_data |>
  group_by(year) |>
  summarise(
    teams = n(),
    total_home = sum(home),
    mean_home = mean(home)
  ) |>
  ungroup()
Figure 1. Average season home attendance per team, 2000-2019.

Figure 1. Average season home attendance per team, 2000-2019.

Selected seasons, including the year with the highest mean attendance.
year teams total_home mean_home
2000 31 16351740 527475
2005 32 17303791 540743
2010 32 17140859 535652
2015 32 17509479 547171
2016 32 17788671 555896
2019 32 17040039 532501

Mean attendance rose only about 1%, from 527,475 in 2000 to 532,501 in 2019, with a peak in 2016. The pattern does not support assuming steady league-wide growth. Figure 1 uses a focused vertical range to show annual changes.

4.2 Do Better-Performing Teams Have Higher Attendance?

We plot attendance against the proportion of games won and point differential. Because every season has 16 games, the win proportion is simply a rescaling of wins.

Figure 2a. Proportion of games won and season home attendance; one point per team-season.

Figure 2a. Proportion of games won and season home attendance; one point per team-season.

Figure 2b. Point differential and season home attendance; one point per team-season.

Figure 2b. Point differential and season home attendance; one point per team-season.

For a clearer comparison, we group seasons into 0-5, 6-9 and 10-16 wins. These bands are chosen for this report.

nfl_analysis <- nfl_data |>
  mutate(win_group = case_when(
    wins <= 5 ~ "0-5 wins",
    wins <= 9 ~ "6-9 wins",
    TRUE ~ "10-16 wins"
  ))

# Put the win groups in order
nfl_analysis <- nfl_analysis |>
  mutate(win_group = fct_relevel(win_group,
    "0-5 wins", "6-9 wins", "10-16 wins"))

win_summary <- nfl_analysis |>
  group_by(win_group) |>
  summarise(
    team_seasons = n(),
    mean_home = mean(home),
    median_home = median(home)
  ) |>
  ungroup()
Season home attendance by regular-season win group.
win_group team_seasons mean_home median_home
0-5 wins 149 521215 519872
6-9 wins 273 544460 545357
10-16 wins 216 548665 550048

The 10-16 win group averages 27,450 more home visits than the 0-5 win group (5.3%). The middle group is close to the highest-win group. The scatterplots show wide attendance differences at similar performance levels.

4.3 Do Postseason Teams Attract Larger Crowds?

We compare three separate groups: teams missing the playoffs, other playoff teams and Super Bowl winners.

nfl_analysis <- nfl_analysis |>
  mutate(postseason_group = case_when(
    sb_winner == "Won Superbowl" ~ "Super Bowl winner",
    playoffs == "Playoffs" ~ "Other playoff team",
    TRUE ~ "Missed playoffs"
  ))

# Put the postseason groups in order
nfl_analysis <- nfl_analysis |>
  mutate(postseason_group = fct_relevel(postseason_group,
    "Missed playoffs", "Other playoff team", "Super Bowl winner"))

postseason_summary <- nfl_analysis |>
  group_by(postseason_group) |>
  summarise(
    team_seasons = n(),
    mean_home = mean(home),
    median_home = median(home)
  ) |>
  ungroup()
Figure 3. Mean season home attendance by end-of-season outcome. The bar axis starts at zero.

Figure 3. Mean season home attendance by end-of-season outcome. The bar axis starts at zero.

Postseason groups and their sample sizes.
postseason_group team_seasons mean_home median_home
Missed playoffs 398 534717 539270
Other playoff team 220 549947 550048
Super Bowl winner 20 550227 550048

Other playoff teams average about 15,230 more home visits than teams missing the playoffs. Champions average only about 281 more than other playoff teams, with just 20 champion observations. These are descriptive comparisons: the Super Bowl occurs after the regular-season attendance being measured.

4.4 How Much Does Attendance Vary Across Franchises?

We group by nickname to follow franchises across city changes. Washington is used as a display label for its historical nickname. Source identifiers are retained.

franchise_summary <- nfl_analysis |>
  group_by(team_name) |>
  summarise(
    seasons = n(),
    mean_home = mean(home),
    mean_wins = mean(wins)
  ) |>
  ungroup() |>
  mutate(team_label = if_else(team_name == "Redskins", "Washington", team_name))
Figure 4. Franchise averages across available seasons. Houston has 18 seasons; all other franchises have 20.

Figure 4. Franchise averages across available seasons. Houston has 18 seasons; all other franchises have 20.

Selected franchises illustrate why attendance and winning are distinct measures.
team_label seasons mean_home mean_wins
Washington 20 639074.0 6.60
Cowboys 20 623465.8 8.40
Patriots 20 538025.4 11.85
Steelers 20 495924.6 10.25
Raiders 20 441591.5 6.25

Franchise means range from 441,591 to 639,074 visits, a gap of 197,483. Washington has the highest mean attendance with 6.6 average wins, while New England averages 11.8 wins with lower attendance. Attendance rankings therefore do not simply follow winning records; the data do not identify why.

4.5 Does the Pattern Remain Within Franchises?

We subtract each franchise’s average attendance and wins from its season values, then compare stronger and weaker seasons. This accounts for differences in franchise averages, but not changes in stadiums or league conditions.

# First calculate each franchise's average attendance and wins
team_averages <- nfl_analysis |>
  group_by(team_name) |>
  summarise(
    average_home = mean(home),
    average_wins = mean(wins)
  ) |>
  ungroup()

# Add those averages to each season for the same franchise
relative_seasons <- nfl_analysis |>
  left_join(team_averages, by = "team_name")

# Compare each season with the franchise's own averages
relative_seasons <- relative_seasons |>
  mutate(
    home_deviation = home - average_home,
    wins_deviation = wins - average_wins
  )

# Put the seasons into three groups
relative_seasons <- relative_seasons |>
  mutate(relative_record = case_when(
    wins_deviation <= -2 ~ "At least 2 wins below average",
    wins_deviation >= 2 ~ "At least 2 wins above average",
    TRUE ~ "Less than 2 wins from average"
  ))

# Choose the order in which the groups appear
relative_seasons <- relative_seasons |>
  mutate(relative_record = fct_relevel(relative_record,
    "At least 2 wins below average",
    "Less than 2 wins from average",
    "At least 2 wins above average"))

# Find the average attendance difference in each group
relative_summary <- relative_seasons |>
  group_by(relative_record) |>
  summarise(
    team_seasons = n(),
    mean_deviation = mean(home_deviation)
  ) |>
  ungroup()
Attendance differences relative to each franchise’s own average.
relative_record team_seasons mean_deviation
At least 2 wins below average 152 -8551
Less than 2 wins from average 326 -845
At least 2 wins above average 160 9846
Figure 5. Attendance differences from each franchise's own historical average.

Figure 5. Attendance differences from each franchise’s own historical average.

Seasons at least two wins above the franchise average draw about 9,846 more visits than usual; those at least two wins below draw about 8,551 fewer. This supports a positive association within franchises, without establishing that winning causes higher attendance.

Summary

6.1 Problem Addressed

We examined how NFL home attendance relates to performance, seasons and franchises to inform team business operations.

6.2 Data and Methodology

We joined unique season attendance totals to standings for 638 team-seasons (2000-2019), calculated ties and wins/16, and checked tied-game totals. Grouped tables and plots compared years, win groups, postseason outcomes and franchise averages, including seasons relative to each franchise’s own averages.

6.3 Main Insights

  1. Attendance did not increase steadily. Mean home attendance per team was only 1% higher in 2019 than in 2000, with a peak in 2016 followed by a decline.
  2. Better records were associated with somewhat higher attendance. The 10-16 win group averaged about 27,450 more home visits than the 0-5 win group. Teams with similar performance nevertheless had widely varying attendance.
  3. Champions looked similar to other playoff teams. Their mean attendance differed by only about 281 visits; a championship-specific effect is not demonstrated.
  4. Franchise differences were substantial. The gap between the highest and lowest franchise attendance means was about 197,483 visits. Within-franchise comparisons still showed higher attendance in stronger seasons, so both franchise context and performance deserve attention.

6.4 Implications for Team Business Operations

Teams should review attendance against their own history and venue conditions alongside performance. Weaker seasons are candidates for investigating fan engagement or testing promotions, whose effectiveness would need separate evaluation. The small difference between champions and other playoff teams does not support assuming an additional championship-related attendance increase.

6.5 Limitations and Further Work

  • Missing context: capacity and ticket prices are unavailable, so attendance does not measure occupancy, revenue or unmet demand.
  • Changing venues and coverage: franchise averages combine city and stadium changes. Houston has 18 seasons; other franchises have 20. Unusual Chargers attendance values remain in the data.
  • Season-level analysis: home totals conceal individual game patterns. Weekly attendance includes both venues and would require a verified game-level match for home-game analysis.
  • Descriptive, historical evidence: franchises repeat across seasons, and other conditions may affect both performance and crowds. We do not estimate causal effects or forecast attendance. Full-season records and postseason outcomes are unavailable before the season, and these files end in 2019.

Further work could add capacities, prices, venue changes and game-level attendance. Linking previous-season performance to the following year’s attendance would examine information available for preseason planning.