Skip to content

DiversityInfo Object

The DiversityInfo is a part of the ReportItem, in case report type is diversity. It represents the aggregate of diversity information of all the mining jobs within a batch.

The object has the same structure as the summarized results of Advanced Diversity Analysis mining module.

Example

The following JSON snippet is showing a DiversityInfo object.

{
      "gender_count": {
            "female": 3,
            "male": 4
      },
      "age_count": {
            "20-30": 2,
            "30-40": 5
      },
      "person_screen_time": {
            "female_1": 15.64,
            "male_1": 14.0,
            "male_2": 19.0,
            "female_2": 3.5
      },
      "gender_screen_time": {
            "female": 19.14,
            "male": 33.0
      },
      "age_screen_time": {
            "20-30": 15.64,
            "30-40": 36.5
      },
      "gender_speech_time": {
            "female": 12.14,
            "male": 17.0
      },
      "age_speech_time": {
            "20-30": 8.64,
            "30-40": 20.5
      },
      "name_to_speech_time": {
            "female_1": 8.64,
            "male_1": 0,
            "male_2": 17.0,
            "female_2": 3.5
      }
}