Giter Site home page Giter Site logo

edavis25 / fantasy-football-database Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 2.0 108.15 MB

Fantasy football data scraping and projections.

Home Page: http://ffdatabase.hopto.org

R 0.06% Java 0.09% PLpgSQL 97.98% HTML 1.04% CSS 0.34% JavaScript 0.37% PHP 0.11%
data-analysis database fantasy-football fantasy-football-database java r sql

fantasy-football-database's People

Contributors

edavis25 avatar markeidsaune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fantasy-football-database's Issues

2 Players, Same Name

Different players same names:

Robert Thomas - 2x

  1. Currently active DT for Dolphins
  2. Retired LB for Packers/Raiders (Player info scraped for this one)

Find them w/ SQL:
FROM Games, PlayerGame, Players WHERE Games.GameID = PlayerGame.GameID AND PlayerGame.PlayerID = Players.PlayerID AND Players.Name ='Robert Thomas';

Linking Stadiums

58 different stadium names under the Games table for the database.

- [ ] Update old stadium names to match current list of stadium names when only a renaming occurred.
(ex: Cleveland Browns Stadium -> FirstEnergy (nothing much changed other than the naming rights, making it pretty much the same stadium in terms of field surface/roof type)
- [ ] Add new entries to stadiums table for old stadiums that were different buildings as the current stadium. Include a new entry for any renamed stadium IF there was a change in field surface type/
(ex: Texans' current "NRG Stadium" was a rename of their old "Reliant Stadium" BUT the surface was changed from grass -> turf)

- [ ] Link teams somehow with associated stadiums.
(Record for each team that has ever played in a given stadium? Junction Table?)

Dome Temperature/Humidity

Temperature and Humidity for any games played in a dome are currently null. Change this to some sort of "room" temperature/humidity, or leave null?

Incorrect Team Mapping in TeamGame

There seems to be an issue with TeamIDs 14+15 (Colts, Jags). For some reason the TeamIDs from any games played by the Jaguars both were 15. This made the Jags have too many games in 2016 season and each of their opponents have too few. I then managed to make this problem worse when trying to manually update values and now all of the Jags games are under the Colts ID. These need manually fixed (thinking add a temporary auto-increment key to use as primary key when changing each value manually).

SQL Query Showing the Error (TeamID 14 = Colts)
SELECT *
FROM TeamGame, Teams, Games
WHERE TeamGame.TeamID = Teams.TeamID
AND Teams.TeamID = 14
AND TeamGame.GameID = Games.GameID
AND Games.Date > '2016-04-20'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.