Skip to contents

MLB Sky (Weather) Codes

Usage

mlb_sky()

Value

Returns a tibble with the following columns

col_nametypes
sky_codecharacter
sky_descriptioncharacter

Examples

# \donttest{
  try(mlb_sky())
#> ── MLB Sky (Weather) Codes data from MLB.com ──────── baseballr 1.6.0 ──
#>  Data updated: 2024-04-13 21:56:45 UTC
#> # A tibble: 10 × 2
#>    sky_code      sky_description
#>    <chr>         <chr>          
#>  1 Clear         Clear          
#>  2 Cloudy        Cloudy         
#>  3 Dome          Dome           
#>  4 Drizzle       Drizzle        
#>  5 Overcast      Overcast       
#>  6 Partly Cloudy Partly Cloudy  
#>  7 Rain          Rain           
#>  8 Roof Closed   Roof Closed    
#>  9 Snow          Snow           
#> 10 Sunny         Sunny          
# }