Get events
get_events.Rd
Get schedule of events per season.
Arguments
- season_id
Character. Indicating the season by the last two digits of two following years, e.g. "1819" for 2018-2019.
- level
Integer. Indicates the Cup level.
0: All.
1: World Cup.
2: IBU Cup.
3: Junior Cup.
4: Other.
Examples
get_events("2223", "1")
#> # A tibble: 10 × 21
#> SeasonId Trimester EventId Start…¹ EndDate First…² Descr…³ Event…⁴ Short…⁵
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 2223 1 BT2223SWR… 2022-1… 2022-1… 2022-1… BMW IB… "1 " Kontio…
#> 2 2223 1 BT2223SWR… 2022-1… 2022-1… 2022-1… BMW IB… "2 " Hochfi…
#> 3 2223 1 BT2223SWR… 2022-1… 2022-1… 2022-1… BMW IB… "3 " Annecy…
#> 4 2223 2 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "4 " Poklju…
#> 5 2223 2 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "5 " Ruhpol…
#> 6 2223 2 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "6 " Anthol…
#> 7 2223 3 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "" Oberhof
#> 8 2223 3 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "7 " Nove M…
#> 9 2223 3 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "8 " Oester…
#> 10 2223 3 BT2223SWR… 2023-0… 2023-0… 2023-0… BMW IB… "9 " Oslo H…
#> # … with 12 more variables: Altitude <chr>, OrganizerId <chr>, Organizer <chr>,
#> # Nat <chr>, NatLong <chr>, EventClassificationId <chr>, Level <int>,
#> # UTCOffset <int>, IsActual <lgl>, IsCurrent <lgl>, EventStatusId <int>,
#> # EventStatus <chr>, and abbreviated variable names ¹StartDate,
#> # ²FirstCompetitionDate, ³Description, ⁴EventSeriesNr, ⁵ShortDescription