Get weapon analytics
Usage
get_weapon_analytics(
map_id = NULL,
side = NULL,
region_id = NULL,
event_id = NULL,
role_id = NULL,
patch_id = NULL
)
Arguments
- map_id
Map ID (optional). See
get_all_map_names()
.- side
If not
NULL
, then eitheratk
ordef
.- region_id
Region ID (optional). See
get_all_region_names()
.- event_id
Event ID (optional). See
get_events()
.- role_id
Role ID (optional). See
get_all_role_names()
.- patch_id
Patch ID (optional).
patch_id = 12
is patch 4.0.patch_id = 23
is patch 5.0. Versions are incremented by 1.
Examples
# \donttest{
weapon_analytics <- get_weapon_analytics()
dplyr::glimpse(weapon_analytics)
#> Rows: 17
#> Columns: 4
#> $ weaponId <int> 4, 6, 13, 11, 12, 18, 5, 15, 16, 19, 8, 2, 10, 17, 14, 9, 3
#> $ picks <int> 196473, 56005, 38268, 36046, 24806, 18798, 15372, 12468, 75…
#> $ rounds <int> 433944, 433944, 433944, 433944, 433944, 433944, 433944, 433…
#> $ percentage <chr> "45.28", "12.91", "8.82", "8.31", "5.72", "4.33", "3.54", "…
# }