Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Norwegian national school benchmarks. On a map.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 bin
Octocat-spinner-32 data
Octocat-spinner-32 public
Octocat-spinner-32 tasks
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 app.rb
Octocat-spinner-32 config.ru
Octocat-spinner-32 config.yml
Octocat-spinner-32 environment.rb
Octocat-spinner-32 models.rb
README.textile

Single purpose site for viewing results from “Nasjonale Prøver”, the Norwegian national school benchmarks.

Deps:

  • MongoDB
  • Ruby 1.9.2

Repo ships with all the production data dumped to a MongoDB backup. From project root just do:

bundle && mongorestore ./data/nuskool_development && thin start

TODO

  • Return 404 instad of 500 on when looking up nonexistant schools
  • Show data for single schools even if we don’t have their location
  • Single school views should use full screen maps, pushstate, onpopstate and onnavigate hookage
  • Add school results to county and municipal views, perhaps using http://tablesorter.com/docs/#Demo. Pretty up.

ISSUES

  • Search REs seem to have unicode issues for scandi characters

DONE

  • setup Sinatra-app with MongoDB and Mongoid glue
  • read CSV data
  • Scrape school adresses from skoleporten
  • Geocode schools
  • Dump geocoded schools to CSV
  • Show Google Maps full screen
  • Sketch a GUI
  • Load markers for map bounds over AJAX as Json
  • extract counties and municipalities into their own models
  • parse test results
  • calculate normalize test results, average for school, municipality, county
  • scrape student body count from skoleporten
  • add hatched dark layer to background map
  • render nice markers with school size and performance
  • geocode counties and municipalities
  • junk markers not in bounds when scrolling and zooming
  • apply MIT License
  • Setup production environment
  • apply Google chrome frame for the IE masses
  • stuff Google geocoding key in environment
  • render municipalities and counties for zoomed out levels
  • push project to GitHub
  • nicely styled marker popup balloons with extended stats
  • about page and colofon. write copy.
  • http cache with rack::cache and memcached
  • deploy production environment

DONE – V2:

  • add new test data
  • rework models
  • rework statistics
  • rework display code
  • add high quality numbers for student count & addresses
  • run geocoding
  • aggregate results by test type and year for filtering
  • school have links to streetviews. Nice.
  • view schools for counties, municipalities and single schools
  • use highcharts for graphing results
  • add random stats page
  • Facebook likage
  • Get searchy
Something went wrong with that request. Please try again.