{"id":15461780,"url":"https://github.com/dcorking/school-perf-rank","last_synced_at":"2025-04-09T11:26:15.214Z","repository":{"id":18863288,"uuid":"22080034","full_name":"dcorking/school-perf-rank","owner":"dcorking","description":"Demo of using Ruby standard library to rank government school tables","archived":false,"fork":false,"pushed_at":"2018-11-10T21:21:23.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T20:43:50.563Z","etag":null,"topics":["csv-reading","open-data","opendata","schools","statistics"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"cctv1005s/10WEB","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcorking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-21T21:00:56.000Z","updated_at":"2019-02-21T16:37:57.000Z","dependencies_parsed_at":"2022-08-03T07:45:39.570Z","dependency_job_id":null,"html_url":"https://github.com/dcorking/school-perf-rank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcorking%2Fschool-perf-rank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcorking%2Fschool-perf-rank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcorking%2Fschool-perf-rank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcorking%2Fschool-perf-rank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcorking","download_url":"https://codeload.github.com/dcorking/school-perf-rank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248029626,"owners_count":21036025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv-reading","open-data","opendata","schools","statistics"],"created_at":"2024-10-02T00:00:51.719Z","updated_at":"2025-04-09T11:26:15.195Z","avatar_url":"https://github.com/dcorking.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Take care\n\nThis is just a demo. Not only is there no warranty, but I don't\nmaintain it.\n\nSee the LICENSE.txt for disclaimer and permission to copy.\n\n## Purpose\n\nTo rank the top ten secondary schools in England according to 2\npopular measures recorded by national government:\n1. Percentage of pupils achieving 5+ A*-C or equivalents\n2. Total average (capped) point score per pupil. (The points are allocated by the Government according to GCSE exam grades.)\n\nThe program combines the two Government measures to make its ranking\nmeasures in a couple of very arbitrary ways.\n\n## To use\n\nDownload some school data from the government website with\n\n    ruby ./download.rb\n\n_The script downloads data for the most recent year, for Bath and\nNorth East Somerset (BANES), and for England_\n\nRank the BANES data\n\n    ruby -I. ./rank.rb data/800_ks4.csv\n\nRank the England data\n\n    ruby  -I. ./rank.rb data/england_ks4.csv\n\nDownload other data for England from the [Department for Education](http://www.education.gov.uk/schools/performance/2013/download_data.html)\n\n## Sample output\n```\nruby  -I./ rank.rb data/england_ks4.csv\nRead 5392 rows.\nCounted 4125 mainstream rows.\nFiltered 2902 rows that are both mainstream and comprehensive.\n\nThe top ten schools by our first, crude GCSE scoring method:\n1.       Thomas Telford School, Telford\n2.       Watford Grammar School for Girls, Watford\n3.       Hockerill Anglo-European College, Bishop's Stortford\n4.       West Park School, Derby\n5.       Dame Alice Owen's School, Potters Bar\n6.       Walsall Academy, Walsall\n7.       Parkside Academy, Crook\n8.       The Priory Academy LSST, Lincoln\n9.       Arden, Solihull\n10.      King David High School, Liverpool\n\nThe top ten schools by our second, deviation-based method of combining GCSE data:\n1.       Thomas Telford School, Telford\n2.       West Park School, Derby\n3.       Parkside Academy, Crook\n4.       Arden, Solihull\n5.       The Priory Academy LSST, Lincoln\n6.       St Andrew's Catholic School, Leatherhead\n7.       Hockerill Anglo-European College, Bishop's Stortford\n8.       Walsall Academy, Walsall\n9.       Toot Hill School, Nottingham\n10.      Barr Beacon School, Walsall\n```\n## Details\n\nThe program ranks only mainstream schools that have non-selective admissions policy, whose data it can find in the official tables. At its best, it is only as good as the official tables.\n\n## Bugs and known issues\n\n1. It is really slow, because it does far more calculations than are\n   strictly needed. Don't run this on a production server, unless you\n   want to be unpopular with production users. There is lots of scope\n   for optimization.\n2. Ties are ranked arbitrarily\n3. The Department for Education only covers England. We don't try to\n   get data for Scotland, Wales or Northern Ireland.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcorking%2Fschool-perf-rank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcorking%2Fschool-perf-rank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcorking%2Fschool-perf-rank/lists"}