Skip to main content

AggregationItem

AggregationItem: represents the item of an Aggregation

type AggregationItem {
key: String
key_as_string: String
doc_count: Int
field: String
}

Fields

key ● String scalar

the value of the Aggregation related to the field, i.e: impact aggregation key: MUITOALTO doc_count:5 means that there are 5 bills with impact MUITOALTO

key_as_string ● String scalar

the value of the Aggregation related to the field as a string, i.e: key: "CD", key_as_string: "Câmara dos Deputados"

doc_count ● Int scalar

the number of documents found with that key in that field

field ● String scalar

the field of the Aggregation. i.e: bill