Quarterback Stats From 1996 - 2016
Over 5000 Regular Season Games
@kaggle.speckledpingu_nfl_qb_stats
Over 5000 Regular Season Games
@kaggle.speckledpingu_nfl_qb_stats
The NFL, ESPN, and many others have their own Quarterback rating system. Can you create your own? How many points does a QB contribute to a given game? And, with MVP trophy season coming up, who really stands out as an MVP and who is carried by their team?
This is scraped from footballdb.com using Pandas' read_html function. This dataset contains every regular season NFL game and every NFL passer (including non-quarterbacks) from 1996 to 2016. Individual years are available for the past 10 years, and all 21 years are in QBStats_all. In addition to the traditional stats, the total points from the game have been appended to the stats. Win/Loss is up and coming, but is not a priority at the moment since a QB cannot control how well the defense stops the opposing offense.
Inside you'll find:
Because of the way that these were scraped, the the game week is not supplied. However, the games are all in oldest to most recent which would allow for some time-series analysis.
Feel free to make any requests for additional information. But due to the time that it takes to scrape 21 years of NFL stats, it will likely take a while before I finish updating the dataset.
I would very much like to thank footballdb.com for not blacklisting me after numerous scrapes and potential future scrapes for information on other positions.
CREATE TABLE qbstats_2004 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2005 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2006 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2007 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2008 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2009 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" DOUBLE,
"ypa" DOUBLE,
"td" BIGINT,
"int" VARCHAR,
"lg" VARCHAR,
"sack" DOUBLE,
"loss" DOUBLE,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2010 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2011 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2012 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2013 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2014 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2015 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_2016 (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" BIGINT,
"ypa" DOUBLE,
"td" BIGINT,
"int" BIGINT,
"lg" VARCHAR,
"sack" BIGINT,
"loss" BIGINT,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);CREATE TABLE qbstats_all (
"qb" VARCHAR,
"att" BIGINT,
"cmp" BIGINT,
"yds" DOUBLE,
"ypa" DOUBLE,
"td" BIGINT,
"int" VARCHAR,
"lg" VARCHAR,
"sack" DOUBLE,
"loss" DOUBLE,
"rate" DOUBLE,
"game_points" BIGINT,
"home_away" VARCHAR,
"year" BIGINT
);Anyone who has the link will be able to view this.