Skip to contents

MLB Jobs Datacasters

Usage

mlb_jobs_datacasters(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_nametypesdescription
jersey_numbercharacterJersey number (typically blank for datacasters).
jobcharacterJob title (e.g. 'Stringer').
job_codecharacterFour-letter job type code (e.g. 'MSTR').
titlecharacterSpecific role title for the assignment.
person_idintegerMLB person id for the datacaster.
person_full_namecharacterFull name of the datacaster.
person_linkcharacterAPI relative link to the person.

Examples

# \donttest{
  try(mlb_jobs_datacasters(sport_id=1))
#> ── MLB Jobs Datacasters data from MLB.com ─────────── baseballr 2.0.0 ──
#>  Data updated: 2026-06-08 11:09:12 UTC
#> # A tibble: 213 × 7
#>    jersey_number job      job_code title    person_id person_full_name  
#>    <chr>         <chr>    <chr>    <chr>        <int> <chr>             
#>  1 ""            Stringer MSTR     Stringer    666938 Edward Alvarez    
#>  2 ""            Stringer MSTR     Stringer    684798 David Amoriello   
#>  3 ""            Stringer MSTR     Stringer    632811 Doug Anderson     
#>  4 ""            Stringer MSTR     Stringer    584273 Andy Andres       
#>  5 ""            Stringer MSTR     Stringer    511710 Troy Andre        
#>  6 ""            Stringer MSTR     Stringer    584288 Jose Isabel Angui…
#>  7 ""            Stringer MSTR     Stringer    800990 Terri Arms        
#>  8 ""            Stringer MSTR     Stringer    821942 Amanda Bachelder  
#>  9 ""            Stringer MSTR     Stringer    670060 Keith Barnes      
#> 10 ""            Stringer MSTR     Stringer    427022 Matt Bartlett     
#> # ℹ 203 more rows
#> # ℹ 1 more variable: person_link <chr>
# }