crowdflower.judgment¶
-
class
crowdflower.judgment.Judgment(job, client=None, **data)¶ CrowdFlower Judgment.
Parameters: - job (crowdflower.job.Job) –
Jobinstance that thisJudgmentbelongs to - client (crowdflower.client.Client) –
Clientinstance - 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) –
Jobinstance that thisJudgmentAggregatebelongs to - client (crowdflower.client.Client) –
Clientinstance - 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
fieldParameters: field – Field name Returns: Results for field
- job (crowdflower.job.Job) –