Giter Club home page Giter Club logo

mlb-database's Introduction

MLB Database

Instructions

In the initial commit to this project you have been provided with data about the stats accumulated by MLB players on a single day of games. You are tasked with creating an Entity Relationship Diagram in Lucidchart to represent a normalized database design for storing this data. When you have completed your chart create a PNG image of it (File -> Export -> PNG) and save it to your repo.

Notes on Data

  • Players are broken into two categories: pitchers and hitters
    • A pitcher is any player with a position of SP or RP
    • A hitter is any player that is not a pitcher
  • Pitchers do not accumulate hitting stats and hitters do not accumulate pitching stats
  • Throws and Bats refer to the handedness of the player. R means right handed, L means left handed and B means the player can use either hand
  • Players can move between teams many times during their career and can have more than one stint with a given team (ex. a player can start in BOS, get traded to SEA, move to HOU, and then get traded back to BOS)
  • An inning consists of three outs. For a pitcher, each out is 0.1 for their Innings Pitched number with three outs being a full inning 1.0. Therefore a picther with an Innings Pitched stat of 3.2 pitched in the game for 11 outs.
  • There are only two leagues: AL and NL
  • Each league has three divisions: East, Central, West
  • A team belongs to a single division within a single league
  • The following are considered hitting stats: At Bats, Runs, Hits, Doubles, Triples, Home Runs, Runs Batted In, Walks, StrikeOuts, Steals
  • The following are considered pitching stats: Wins, Innings Pitched, Hits (Pitcher), Runs (Pitcher), Earned Runs, Walks (Pitcher), Strike Outs (Pitcher)

mlb-database's People

Contributors

mikef1234 avatar

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.