fivethirtyeight (version 0.4.0)

nfl_fandom_surveymonkey: How Every NFL Team<U+2019>s Fans Lean Politically

Description

The raw data behind the story "How Every NFL Team<U+2019>s Fans Lean Politically" https://fivethirtyeight.com/features/how-every-nfl-teams-fans-lean-politically: Surveymonkey Data.

Usage

nfl_fandom_surveymonkey

Arguments

Format

a data frame with 33 rows representing teams and 25 variables:

team

NFL team

total_respondents

Total number of poll respondents who ranked the given team in their top 3 favorites

asian_dem

Number of Asian, democrat poll respondents who ranked the given team in their top 3 favorites

black_dem

Number of Black, democrat poll respondents who ranked the given team in their top 3 favorites

hispanic_dem

Number of Hispanic, democrat poll respondents who ranked the given team in their top 3 favorites

other_dem

Number of democrat poll respondents who identified their race as "other" (not Asian, Black, Hispanic, or White) and ranked the given team in their top 3 favorites

white_dem

Number of White, democrat poll respondents who ranked the given team in their top 3 favorites

total_dem

Total number of democrat poll respondents who ranked the given team in their top 3 favorites

asian_ind

Number of Asian, independent poll respondents who ranked the given team in their top 3 favorites

black_ind

Number of Black, independent poll respondents who ranked the given team in their top 3 favorites

hispanic_ind

Number of Hispanic, independent poll respondents who ranked the given team in their top 3 favorites

other_ind

Number of independent poll respondents who identified their race as "other" (not Asian, Black, Hispanic, or White) and ranked the given team in their top 3 favorites

white_ind

Number of White, independent poll respondents who ranked the given team in their top 3 favorites

total_ind

Total number of independent poll respondents who ranked the given team in their top 3 favorites

asian_gop

Number of Asian, republican poll respondents who ranked the given team in their top 3 favorites

black_gop

Number of Black, republican poll respondents who ranked the given team in their top 3 favorites

hispanic_gop

Number of Hispanic, republican poll respondents who ranked the given team in their top 3 favorites

other_gop

Number of republican poll respondents who identified their race as "other" (not Asian, Black, Hispanic, or White) and ranked the given team in their top 3 favorites

white_gop

Number of White, republican poll respondents who ranked the given team in their top 3 favorites

total_gop

Total number of republican poll respondents who ranked the given team in their top 3 favorites

gop_percent

Percent of fans (who ranked the team in their top 3 favorite NFL teams) who are republicans

dem_percent

Percent of fans who are democrats

ind_percent

Percent of fans who are independent

white_percent

Percent of fans who are White

nonwhite_percent

Percent of fans who are not White

See Also

nfl_fandom_google

Examples

Run this code
# NOT RUN {
# To convert data frame to tidy data (long) format, run:
library(tidyverse)
nfl_fandom_surveymonkey_tidy <- nfl_fandom_surveymonkey %>%
  gather(key = race_party, value = percent,
         -c("team", "total_respondents", "gop_percent", "dem_percent",
            "ind_percent", "white_percent", "nonwhite_percent")) %>%
  arrange(team)
# }

Run the code above in your browser using DataCamp Workspace