NFLTables Documentation
Enumerations
NFLTables.SeasonPart
— TypeParts of a single season
Examples
julia> PRE
PRE::SeasonPart = 0
julia> REG
REG::SeasonPart = 1
julia> POST
POST::SeasonPart = 2
Base.parse
— Methodparse(::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
NFLTables.SuperBowl
— TypeAn 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