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.2.0 ──
#>  Data updated: 2022-04-30 07:16:35 UTC
#> # A tibble: 10 × 2
#>    sky_code      sky_description
#>    <chr>         <chr>          
#>  1 Rain          Rain           
#>  2 Roof Closed   Roof Closed    
#>  3 Overcast      Overcast       
#>  4 Snow          Snow           
#>  5 Cloudy        Cloudy         
#>  6 Dome          Dome           
#>  7 Clear         Clear          
#>  8 Sunny         Sunny          
#>  9 Partly Cloudy Partly Cloudy  
#> 10 Drizzle       Drizzle        
# }