This repo includes:
- Texas school accountability rating data for 2013-2017.
- A Jupyter notebook with scripts to transform and analyze this data.
- A web page based on our single-page project template to present the data.
Clone this repo to run/edit the notebook or to hack on the interactive.
Notebooks in processings/ use base python3 conda packages, but can also be run with virtual environments.
$ cd tx-school-data/processing
$ mkvirtualenv school-data
$ pip install -r requirements.txt
$ jupyter notebook$ cd tx-school-data
$ npm install
$ gruntRun grunt watch to relint/transpile/uglify your css and js files on change.
This uses s3-parallel-put to upload json files and node-s3-client in a grunt task to publish the other HTML assets.
- store AWS credentials as the environmental variables AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID
grunt stageorgrunt prodpublish thepublic/directory WITHOUT databash tasks/push_data.sh stageorbash tasks/push_data.sh produpload the json files- This is reconfigured to embed in Methode. There is a file
src/methode_embed.htmlwhich has example code for the Methode flatpage.
This project sends a custom Google event action searched to the Interactive Projects account under the category 20170815-school-ratings-flat-page when a user types in the search boxes.
The event fires at most once per session.