Skip to contents

The sdv season key (END year) of a site's own year, or NA when it cannot be mapped.

Usage

atrium_end_year(website_id, year)

Arguments

website_id

(integer required): The site (12 LNB, 14 LNBP, 3 NBL1, 13 El Salvador, 22 Panama, 236 Austria, 326 Montenegro).

year

(integer required): The year of a site's season list (START year on site 12, the calendar year elsewhere); a vector is mapped element by element.

Value

An integer vector: year + 1 on site 12 (2025 -> 2026 = 2025-26), year on the calendar-year sites, NA for an unregistered site, site 236 (no season list) or a value that is not a whole number.

Examples

atrium_end_year(12, 2025)
#> [1] 2026
atrium_end_year(14, 2026)
#> [1] 2026