Skip to contents

Get map analytics

Usage

get_map_analytics(region_id = NULL, event_id = NULL, patch_id = NULL)

Arguments

region_id

Region ID (optional). See get_all_region_names().

event_id

Event ID (optional). See get_events().

patch_id

Patch ID (optional). patch_id = 12 is patch 4.0. patch_id = 23 is patch 5.0. Versions are incremented by 1.

Value

a data.frame

Examples

# \donttest{
map_analytics <- get_map_analytics()
dplyr::glimpse(map_analytics)
#> Rows: 10
#> Columns: 9
#> $ mapId                <int> 1, 3, 8, 9, 7, 4, 11, 10, 2, 12
#> $ matches              <int> 1494, 1004, 3, 636, 1585, 5, 1072, 811, 741, 1
#> $ matchWins            <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
#> $ overtimeMatches      <int> 130, 90, 0, 67, 140, 0, 110, 77, 79, 0
#> $ rounds               <int> 30090, 20324, 62, 13142, 32149, 80, 22034, 16649,…
#> $ attackingRoundWins   <int> 14392, 10519, 25, 6875, 16652, 32, 11852, 8733, 7…
#> $ attackingRoundLosses <int> 15698, 9805, 37, 6267, 15497, 48, 10182, 7916, 76…
#> $ defendingRoundWins   <int> 15698, 9805, 37, 6267, 15497, 48, 10182, 7916, 76…
#> $ defendingRoundLosses <int> 14392, 10519, 25, 6875, 16652, 32, 11852, 8733, 7…
# }