Returns a list mapping canonical format names to their database match types.
This consolidates the FORMAT_GROUPS definition that was repeated in 16+ scripts.
Value
Named list. Keys are canonical formats ("t20", "odi", "test"),
values are character vectors of match types.
Examples
get_format_groups()
#> $t20
#> [1] "T20" "IT20"
#>
#> $odi
#> [1] "ODI" "ODM"
#>
#> $test
#> [1] "Test" "MDM"
#>
# Returns: list(t20 = c("T20", "IT20"), odi = c("ODI", "ODM"), test = c("Test", "MDM"))
get_format_groups()$t20
#> [1] "T20" "IT20"
# Returns: c("T20", "IT20")