Skip to contents

Get the athlete's shooting and skiing stats for the last four seasons.

Usage

get_stats(ibu_id)

Arguments

ibu_id

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

Value

A data.frame. Lists overall shooting and skiing performance stats.

Examples

get_stats("BTNOR11605199301")
#> # A tibble: 4 × 19
#>   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      
#> 4 BTNOR116051… Johann… BOE     Johann… NOR   NOR   1993-0…    1993    29 M      
#> # … with 9 more variables: Functions <chr>, PhotoURI <chr>, FlagURI <chr>,
#> #   StatSeasons <chr>, StatShooting <chr>, StatShootingProne <chr>,
#> #   StatShootingStanding <chr>, StatSkiing <chr>, StatSkiKMB <chr>, and
#> #   abbreviated variable names ¹​FullName, ²​FamilyName, ³​GivenName, ⁴​Birthdate,
#> #   ⁵​BirthYear, ⁶​GenderId