Geovisualization Developer's Guide

Query Statistics

The query stats response body is a JSON object returned by the Geovisualization REST API in response to a request for query statistics.

Table 1. Query Statistics Response Elements
Element Data Type Description
stats Object A list of values that correspond to the query in the request body

The code example below illustrates a typical response to a successful request.

"stats": {
"column_stats": {
     "metric_a": [10, 2, 4],
     "facet_a": [8]
     }
}