Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Stats queries return useless page, per_page and results JSON elements #277

Open
yozlet opened this issue Jan 26, 2016 · 0 comments
Open
Labels

Comments

@yozlet
Copy link
Contributor

yozlet commented Jan 26, 2016

See example results JSON below.

{
  "metadata": {
    "total": 3667,
    "page": 0,
    "per_page": 20
  },
  "results": [],
  "aggregations": {
    "school.tuition_revenue_per_fte": {
      "avg": "0.1088815711947627E5",
      "sum": 73288234,
      "std_deviation": "0.75913587304684015E4",
      "std_deviation_bounds": {
        "upper": "0.26070874580413074E5",
        "lower": "-0.4294560341460534E4"
      }
    }
  }
}

The two page elements in metadata are irrelevant, as is the always-empty results array. We should remove those entirely.

@yozlet yozlet added the stats label Jan 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant