crowdflower.judgment¶
-
class
crowdflower.judgment.
Judgment
(job, client=None, **data)¶ CrowdFlower Judgment.
Parameters: - job (crowdflower.job.Job) –
Job
instance that thisJudgment
belongs to - client (crowdflower.client.Client) –
Client
instance - data (dict) – Job JSON dictionary
- job (crowdflower.job.Job) –
-
class
crowdflower.judgment.
JudgmentAggregate
(job, client=None, **data)¶ CrowdFlower Judgment aggregate.
Parameters: - job (crowdflower.job.Job) –
Job
instance that thisJudgmentAggregate
belongs to - client (crowdflower.client.Client) –
Client
instance - data (dict) – Job JSON dictionary
-
get_aggregate
(field)¶ Aggregated result for
field
, chosen by CrowdFlower’s aggregation logic.
-
get_fields
()¶ Get full aggregated field value dictionaries as a dictionary.
Returns: dictionary of field, value items Return type: dict
-
get_results
(field)¶ Full results for field
field
Parameters: field – Field name Returns: Results for field
- job (crowdflower.job.Job) –