Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add/document dictionary improvement for load_rosters()$status #232

Open
tanho63 opened this issue Dec 18, 2023 · 0 comments
Open

add/document dictionary improvement for load_rosters()$status #232

tanho63 opened this issue Dec 18, 2023 · 0 comments

Comments

@tanho63
Copy link
Member

tanho63 commented Dec 18, 2023

c/o @john-b-edwards in discord

status_description_abbr is an abbreviated representation of the status column. it's fairly trivial to see what each acronym refers to using both columns:

nflreadr::load_rosters(2022) |>
    dplyr::group_by(status_description_abbr, status) |>
    dplyr::summarise(.groups="drop") |>
    print(n=21)
#> # A tibble: 21 × 2
#>    status_description_abbr status         
#>    <chr>                   <chr>          
#>  1 A01                     Active         
#>  2 E02                     Ex/Comm. Perm. 
#>  3 P01                     Practice Squad 
#>  4 P02                     Prac Sq.; Inj  
#>  5 P03                     Int'l PSquad   
#>  6 P06                     PS; Exc        
#>  7 P07                     PS; Vet        
#>  8 R01                     R/Injured      
#>  9 R02                     R/Retired      
#> 10 R03                     R/DNR          
#> 11 R04                     R/PUP          
#> 12 R05                     R/NFIN         
#> 13 R06                     R/Left Squad   
#> 14 R23                     Reserve/Future 
#> 15 R27                     R/NFIL         
#> 16 R30                     R/Com Sus-1 Yr 
#> 17 R33                     R/Club Susp.   
#> 18 R40                     R/Susp < 1Yr   
#> 19 R47                     R/NFIN; DFR    
#> 20 R48                     R/Injured; DFR 
#> 21 W03                    Waivers/No Rec.
tanho63 added a commit that referenced this issue Sep 22, 2024
Not going to document `status_description_abbr` because it's crazy messy
and way too niche but this should provide a good guide for roster
statuses

---------

Co-authored-by: Tan Ho <38083823+tanho63@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant