Class: FootballDb::Model::PlayerStat

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/footballdb/models/stats/player_stat.rb

Overview

PlayerStat

Contains the primary statistics for a player. Could be on a per-game

basis, per event, per-team, or all-time (no game, no event, no team).  A player will
have many player_stats and can also have many generic StatData items

redCards yellowCards totalGoals goalsConceded wins losses draws foulsSuffered foulsCommitted goalAssists shotsOnTarget totalShots totalGoals subIns subOuts starts saves minutesPlayed position

See schema.rb for full definition