Learn R Programming

impectR (version 2.5.3)

getSquadIterationAverages: Return a dataframe that contains all squads averages for a given iteration ID

Description

Return a dataframe that contains all squads averages for a given iteration ID

Usage

getSquadIterationAverages(iteration, token, host = "https://api.impect.com")

Value

a dataframe containing the KPI averages aggregated per squad for the given iteration ID

Arguments

iteration

'IMPECT' iteration ID

token

bearer token

host

host environment

Examples

Run this code
# Toy example: this will error quickly (no API token)
try(squad_avgs <- getSquadIterationAverages(
  iteration = 0,
  token = "invalid"
))

# Real usage: requires valid Bearer Token from `getAccessToken()`
if (FALSE) {
squad_avgs <- getSquadIterationAverages(
  iteration = 1004,
  token = "yourToken"
)
}

Run the code above in your browser using DataLab