Commits

Author Commit Message Labels Comments Date
Rufus Pollock
[doc,setup][xs]: switch to datautil from swiss and add README.txt.
Rufus Pollock
[js,bugfix][xs]: replace indexOf by $.inArray as indexOf does not exist in IE.
Rufus Pollock
[templates/_media.html][xs]: include excanvas script for IE support of flot (forgot it!).
Rufus Pollock
[templates,style][s]: move embed and dataset selection to sidebar and put in link to source data.
Rufus Pollock
[app][s]: set dataset id for the embed code as you select different datasets on the home page.
Rufus Pollock
[data][s]: convert codes in headings (become series names) to country names using iso-3166-2 dataset from ckan.
Rufus Pollock
[data][s]: refactor data.py into a class structure and add a couple of basic tests.
Rufus Pollock
[templates/layout][xs]: fix up site description.
eu8.okfn.org
[layout][s]: put link to bitbucket and a subtitle.
Rufus Pollock
[templates/index.html][xs]: update to use new peeis.json for list of datasets. * Also remove accidentally left-over html move to flot.html a few commits ago.
Rufus Pollock
[data][s]: de-dup in extraction of PEEI dataset ids. * also found a bug in the data where in the html the same dataset seeems to appear with 2 different ids.
Rufus Pollock
[data][m]: extract list of all PEEIs from eurostat site and download them all. * Refactor and improve data.py at the same time * split out extract from download * put in a command line interface using swiss.clitools
eu8.okfn.org
[index][xs]: fix bug so that title is set as you switch datasets.
Rufus Pollock
[app.js][s]: when generating series list replace rather than append so that switching between datasets works (we don't just get series from previous dataset *and* this one!). * use ul structure so replacing html is easier * also generate series list html using jquery template
Rufus Pollock
[templates][s]: factor out media includes (scripts, css) into a separate _media.html so it can be included in both embed.html and index.html.
Rufus Pollock
[templates,static][m]: create an index.json (which we'll fill up properly later) and use it to list available datasets on index page. * Refactor setup of plot a little bit in the process
Rufus Pollock
[app][s]: specify dataset_id in app rather than hardcode in html.
Rufus Pollock
[setup][s]: create setup.py and pip-requirement.
Rufus Pollock
[all][l]: simple app to create flot-based charts of Eurostat's Principal European Economic Indicators and allow them to be embedded. * data.py: code to download data series and extract data to json * app.py: simple flask app to display the extracted (cached data) in flot chart and allow for embedding * static/*: javascript, css and demo.html (which I wrote first!) TODO: * not yet setting the id for embed link correctly * not extracting eurostat data on the fly so only working with 3 cached series * not getting nice…