NFL Statistics
- by user1
- 05 March, 2022
Basic NFL statistics, career statistics, and game logs
Tagscomputer science, programming, sports
NFL-Statistics-Scrape
Here are the basic statistics, career statistics and game logs provided by the NFL on their website (http://www.nfl.com) for all players past and present.
Summary
The data was scraped using a Python code. The code can be located at Github: https://github.com/kendallgillies/NFL-Statistics-Scrape
Explanation of Data
- The first main group of statistics is the basic statistics provided for each player. This data is stored in the CSV file titled Basic_Stats.csv along with the player’s name and URL identifier. If available the data pulled for each player is as follows:
- Number
- Position
- Current Team
- Height
- Weight
- Age
- Birthday
- Birth Place
- College Attended
- High School Attended
- High School Location
- Experience
- The second main group of statistics gathered for each player are their career statistics. While each player has a main position they play, they will have statistics in other areas; therefore, the career statistics are divided into statistics types. The statistics are then stored in CSV files based on statistic type along with the player name, URL identifier and position (if available). The following are the career statistics types and accompanying CSV file names:
- Defensive Statistics – CareerStatsDefensive.csv
- Field Goal Kickers – CareerStatsFieldGoalKickers.csv
- Fumbles – CareerStatsFumbles.csv
- Kick Return – CareerStatsKick_Return.csv
- Kickoff – CareerStatsKickoff.csv
- Offensive Line – CareerStatsOffensive_Line.csv
- Passing – CareerStatsPassing.csv
- Punt Return – CareerStatsPunt_Return.csv
- Punting – CareerStatsPunting.csv
- Receiving – CareerStatsReceiving.csv
- Rushing – CareerStatsRushing.csv
- The final group of statistics is the game logs for each player. The game logs are stored by position and have the player name, URL identifier and position (if available). The following are the game log types and accompanying CSV file names:
- Quarterback – GameLogsQuarterback.csv
- Running back – GameLogsRunningback.csv
- Wide Receiver and Tight End – GameLogsWideReceiverandTightEnd.csv
- Offensive Line – GameLogsOffensive_Line.csv
- Defensive Lineman – GameLogsDefensive_Lineman.csv
- Kickers – GameLogsKickers.csv
- Punters – GameLogsPunters.csv
Glossary
While most of the abbreviations used by the NFL have been translated in the table headers in the data files, there are still a couple of abbreviations used.
- FG: Field Goal
- TD: Touchdown
- Int: Interception
Size: 12071 KB Price: Free Author: KendallGillies Data source: kaggle.com