Join the Open Wichita Slack room here: https://openwichita-slack.herokuapp.com/. Once there, check out the #openbudget channel for discussion about this project.
Fork me!
Fork and clone the project!
$ git clone git@github.com:[your-user]/openbudgetwichita.git
$ cd openbudgetwichita
[](TODO: Point to our wiki, once we have one) Read helpful info about image sizes, data types and color schemes on the wiki.
Most of the new development on Wichita data visualizations is currently occuring in the sandbox directory. Each of the charts can be viewed by opening them directly in your browser.
$ open openbudgetwichita/sandbox/zoomable.html
This area is in active development so all of the graphs may not be functioning correctly!
We have a small script written in ruby for generating a json file from a csv of city data. The script asks for the file and then steps through each required field and asks you to specify the correct header which matches.
To run the script
$ cd <project_root>/data-utilities
$ ruby data_to_json.rb
This site is built on Harp using Node.js That means you can run it locally with minimal setup!
What you'll need:
Once you have npm installed,
# to install dependencies and run
npm install && npm start
# npm install can be omitted on subsequent runs
npm start
Currently, there is a problem with installing on node V6 It can be fixed by changing the harp line to
"harp": "https://github.com/sintaxi/harp.git#v0.21.0-pre"
in the package.json
at the root of this project. This project is coded with:
To request revenue and expense data for a new fiscal year, submit an Open Records request and type the following in the description field. Update FYXX with the last two digits of the year (ex: FY16).
-A csv file of the City of Wichita revenue and expenditure budget for FYXX, including Fund, Fund name, Operating Unit, Operating Unit Description, Agency, Agency Name, Program ID, Program Name, Line of Business ID, Line of Business name, Account, Account Name, Account Description, Budget Amount. (Budget database query names qry_Current_Yr_Budget_detail and qry_Current_Yr_Budget_Detail_Revenue)
This chart takes as input the full budget datatable from data.oaklandnet.com (in CSV format)
Right now the 2015-17 Proposed page is an unpublished placeholder, pending the data release. When the data becomes available:
_src/data/proposed_1517_flow/
and remove the placeholder file FY13-14__FY14-15.csv*-budget-flow.jade
pages and update the content blocks as necessary.data/flow
directory. Follow the naming convention seen there or your files won't load properly. You also will need to point your page at the appropriate files as seen in the get_datafiles
content block.*-budget-tree.jade
pages and update the content blocks as necessary.data/tree/
directory following the naming convention seen in the existing files.datafiles
content block with the appropriate metadata and file path for the data files you generated.If you're new to contributing to open source projects Github has a pretty great video series.
If you're comfortable already, our workflow is: