NFLTables Documentation

Enumerations

NFLTables.SeasonPartType

Parts of a single season

Examples

julia> PRE
PRE::SeasonPart = 0

julia> REG
REG::SeasonPart = 1

julia> POST
POST::SeasonPart = 2
source
Base.parseMethod
parse(::Type{SeasonPart}, str::AbstractString)

Parse str as a part of a season.

Examples

julia> parse(SeasonPart, "PRE")
PRE::SeasonPart = 0

julia> parse(SeasonPart, "REG")
REG::SeasonPart = 1

julia> parse(SeasonPart, "POST")
POST::SeasonPart = 2
source
NFLTables.SuperBowlType

An enumeration of the SuperBowls as stylized/marketed (with the season as the value)

Examples

julia> SuperBowl(2001)
SB_XXXVI::SuperBowl = 2001

julia> SuperBowl(2015)
SB_50::SuperBowl = 2015
source