Skip to main content

INSTANCES

This command will return the instances of the timeline respecting the specified criteria.


FORMAT: INSTANCES or INSTANCES ( label_name < >= = numerical value)


DEFINITIONS:

  • label_name: Quoted text specifying the label you wish to count in the front timeline or instances. (Can be grouped using OR, AND, NOT)

EXAMPLE 1:

show count instances

Returns the total number of instances from the timeline.

EXAMPLE 2:

$pass = count instances ("Short Pass" = 5) where row = "Possession"
show $pass

Obtain the number of instances of the row "Possession" containing precisely 5 times the label "Short Pass" and use it in the variable $pass. Display the result using the SHOW command.

EXAMPLE 3:

$pass = count instances ("Short Pass" < 4 AND "Shot") where row = "Possession"
show $pass

Obtain the number of instances of the row "Possession" containing less than 4 times the label "Short Pass" and at least one time the label "Shot". Use this in the variable $pass. Display the result using the SHOW command.