Skip to contents

Get agent analytics

Usage

get_agent_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{
agent_analytics <- get_agent_analytics()
dplyr::glimpse(agent_analytics)
#> Rows: 22
#> Columns: 6
#> $ agentId     <int> 5, 12, 11, 13, 2, 4, 1, 6, 15, 8, 16, 3, 19, 17, 20, 9, 10…
#> $ picks       <int> 10286, 9115, 7861, 6773, 6327, 6012, 5508, 4436, 3220, 314…
#> $ matches     <int> 14967, 14967, 14967, 14967, 14967, 14967, 14967, 14967, 14…
#> $ percentage  <chr> "68.73", "60.90", "52.52", "45.25", "42.27", "40.17", "36.…
#> $ patchId     <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
#> $ patchNumber <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""…
# }