Skip to contents

Get composition analytics

Usage

get_composition_analytics(
  map_id = NULL,
  region_id = NULL,
  event_id = NULL,
  role_id = NULL,
  patch_id = NULL
)

Arguments

map_id

Map ID (optional). See get_all_map_names().

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.

Value

a data.frame

Examples

# \donttest{
composition_analytics <- get_composition_analytics()
dplyr::glimpse(composition_analytics)
#> Rows: 100
#> Columns: 2
#> $ agentIds <list> <4, 5, 11, 12, 16>, <1, 4, 5, 11, 12>, <5, 6, 12, 13, 20>, <…
#> $ picks    <int> 2081, 1956, 476, 391, 359, 332, 326, 254, 245, 239, 210, 203,…
# }