Documentation ¶
Index ¶
Constants ¶
View Source
const ( NilScore = -1 NilCount = -1 NilHeight = -1 NilJersey = -1 )
View Source
const ( DateFormat = "01/02/2006" TimeFormat = "15:04:05" BirthDateFormat = "2006-01-02" TimestampFormat = "2006-01-02T15:04:05.999Z07:00" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Game ¶
type Play ¶
type Play struct { GameID string // 0 PlayID string // 1 PlayDescription string // 2 Quarter int // 3 Down int // 4 YardsToGo int // 5 PossessionTeam string // 6 PlayType string // 7 YardlineSide string // 8 YardlineNumber int // 9 OffenseFormation string // 10 PersonnelO map[string]int // 11 DefendersInTheBox int // 12 NumberOfPassRushers int // 13 PersonnelD map[string]int // 14 TypeDropback string // 15 PreSnapVisitorScore int // 16 PreSnapHomeScore int // 17 GameClock string // 18 AbsoluteYardlineNumber string // 19 PenaltyCodes string // 20 PenaltyJerseyNumbers map[string][]int // 21 PassResult string // 22 OffensePlayResult int // 23 PlayResult int // 24 EPA float64 // 25 IsDefensivePI bool // 26 }
func (*Play) UnmarshalCSV ¶
type Player ¶
type Track ¶
type Track struct { Timestamp int64 // 0 X, Y *float64 // 1,2 S, A *float64 // 3,4 Dis, O, Dir *float64 // 5,6,7 Event string // 8 NFLID string // 9 DisplayName string // 10 JerseyNumber int // 11 Position string // 12 FrameID int // 13 Team string // 14 GameID string // 15 PlayID string // 16 PlayDirection string // 17 Route *string // 18 }
Click to show internal directories.
Click to hide internal directories.