oTree Forum >

Counting values for all participants of the session

#1 by giodini121

HI ALL! 

I stored some variables both at the individual and participant levels. How can I get the number of times a variable appears across all participants of the session?

Let's say I want to know how many times participant.var['var1'] == "Yes" considering all participants of the session for all rounds (n>1). 

I cannot find documentation to solve something like this.

Write a reply

Set forum username