Skip to contents

MLB Jobs Official Scorers

Usage

mlb_jobs_official_scorers(sport_id = NULL, date = NULL)

Arguments

sport_id

Return information for a given sport_id.

date

Return information for a given date.

Value

Returns a tibble with the following columns

col_nametypes
jersey_numbercharacter
jobcharacter
job_codecharacter
titlecharacter
person_idinteger
person_full_namecharacter
person_linkcharacter

Examples

# \donttest{
  try(mlb_jobs_official_scorers(sport_id=1))
#> ── MLB Jobs Official Scorers data from MLB.com ────── baseballr 1.2.0 ──
#>  Data updated: 2022-04-30 07:16:14 UTC
#> # A tibble: 242 × 7
#>    jersey_number job           job_code title person_id person_full_name
#>    <chr>         <chr>         <chr>    <chr>     <int> <chr>           
#>  1 ""            Official Sco… SCOR     Offi…    482128 Bob Adams       
#>  2 ""            Official Sco… SCOR     Offi…    679703 Kailey Adams    
#>  3 ""            Official Sco… SCOR     Offi…    582413 Fernando Alcala 
#>  4 ""            Official Sco… SCOR     Offi…    582413 Fernando Alcala 
#>  5 ""            Official Sco… SCOR     Offi…    434138 Billy Altman    
#>  6 ""            Official Sco… SCOR     Offi…    679924 Kenny Ayres     
#>  7 ""            Official Sco… SCOR     Offi…    478601 Tyler B Barton  
#>  8 ""            Official Sco… SCOR     Offi…    608098 Mark Beason     
#>  9 ""            Official Sco… SCOR     Offi…    493719 Bob Beghtol     
#> 10 ""            Official Sco… SCOR     Offi…    679730 Devin Benson    
#> # … with 232 more rows, and 1 more variable: person_link <chr>
# }