Skip to contents

Get the athlete's cumulative ranks

Usage

get_ranks(ibu_id)

Arguments

ibu_id

Character. IBU athlete ID. Find it, e.g. by calling search_athletes() first.

Value

A data.frame. Lists (incomplete?) cumulative ranks of the athlete. The variable 'Description' indicates the ranks.

Details

Note: Due to lacking API documentation, it is somewhat unclear what is returned here. If you need a complete list of all results of that athlete, use the call get_results().

Examples

get_ranks("BTNOR11605199301")
#> # A tibble: 3 × 29
#>   IBUId        FullN…¹ Famil…² Given…³ NAT   NF    Birth…⁴ Birth…⁵   Age Gende…⁶
#>   <chr>        <chr>   <chr>   <chr>   <chr> <chr> <chr>     <int> <int> <chr>  
#> 1 BTNOR116051… Johann… BOE     Johann… NOR   NOR   1993-0…    1993    29 M      
#> 2 BTNOR116051… Johann… BOE     Johann… NOR   NOR   1993-0…    1993    29 M      
#> 3 BTNOR116051… Johann… BOE     Johann… NOR   NOR   1993-0…    1993    29 M      
#> # … with 19 more variables: Functions <chr>, PhotoURI <chr>, FlagURI <chr>,
#> #   Description <chr>, Individual <int>, Sprint <int>, Pursuit <int>,
#> #   MassStart <int>, IndividualTotal <int>, Relay <int>, MxRelay <int>,
#> #   SingleMxRelay <int>, Total <int>, Total_WC <int>, Total_WCH <int>,
#> #   Total_OWG <int>, All_WC <int>, All_WCH <int>, All_OWG <int>, and
#> #   abbreviated variable names ¹​FullName, ²​FamilyName, ³​GivenName, ⁴​Birthdate,
#> #   ⁵​BirthYear, ⁶​GenderId