{"action":"closed","issue":{"url":"https://api.github.com/repos/ESDet/esdportal_profile/issues/24","labels_url":"https://api.github.com/repos/ESDet/esdportal_profile/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ESDet/esdportal_profile/issues/24/comments","events_url":"https://api.github.com/repos/ESDet/esdportal_profile/issues/24/events","html_url":"https://github.com/ESDet/esdportal_profile/issues/24","id":87819423,"number":24,"title":"Sort By Rating Filter for All School Levels","user":{"login":"anderoy","id":603548,"avatar_url":"https://avatars.githubusercontent.com/u/603548?v=3","gravatar_id":"","url":"https://api.github.com/users/anderoy","html_url":"https://github.com/anderoy","followers_url":"https://api.github.com/users/anderoy/followers","following_url":"https://api.github.com/users/anderoy/following{/other_user}","gists_url":"https://api.github.com/users/anderoy/gists{/gist_id}","starred_url":"https://api.github.com/users/anderoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderoy/subscriptions","organizations_url":"https://api.github.com/users/anderoy/orgs","repos_url":"https://api.github.com/users/anderoy/repos","events_url":"https://api.github.com/users/anderoy/events{/privacy}","received_events_url":"https://api.github.com/users/anderoy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-12T18:54:22Z","updated_at":"2015-06-15T16:00:03Z","closed_at":"2015-06-15T16:00:03Z","body":"Since sorting by ranking (high to low) is so important to displaying the best programs to families, we will want to add special filter or two to the API. I am open to ideas about how to best accomplish this. As with everything in the Scorecard development, it is never straightforward.\r\n\r\n- [ ] Early Learning (`esd_el_2015.total_points`)\r\n- [ ] K8 (`esd_k8_2015.total_pts`)\r\n- [ ] HS (`esd_hs_2015.total_pts`)\r\n\r\nThis might warrant a phone call. I know we can combine the K8 and HS in the same sort filter since the basically use the same point scale out of 100, but I don't know how we could incorporate the EL Programs since they use a different points scale. We could multiply `esd_el_2015.total_points` by 6.66666 (100/15) to put it on the same scale, but that wouldn't account for EL Programs that have total_points but no rating due to missing data or a low categorical score."}}