A basic open source dashboard of UNSW Research Centre of Integrated Transport Innovation (rCITI) data.
Contributions are very welcome!
UNSW Research Centre of Integrated Transport Innovation (rCITI).
Raw CSV data is downloadable from the public/data directory.
Published under CC BY-SA 4.0.
Contact Meead Saberi for further information: meead.saberi@unsw.edu.au
nvm use
npm i
npm run generate-data # Generate JSON from CSVs
npm run start- Head to https://www.eco-visio.net/v5/login and login
- Select
Analysistab on sidebar - Select
Previous versionof Analysis page at the top - Select
Time seriesgraphic - Under
PeriodselectWhole Period - Choose 15 min / Hour / Day interval as desired
- Select
Table(notChart- you can download from the Chart view but <=1hr frequency fails due to too much data) - Select
Apply - Select
Download, and select CSV format - Select comma separated delimeter (default)
- Download to
./public/data/...and adjust filename - Repeat for all three files (15 min, hour, day)
- Run
generate-datascript as per above - Commit the results & updated CSV.
Note: If you're getting lots of ^M characters in the Git diff, you should convert the newlines
from Windows to Unix format using your preferred method. Eg. On Debian / Ubuntu:
sudo apt-get install dos2unix
dos2unix *.csv
-
Run
npm run generate-datato generate JSON from CSVs -
If you see the error
Unhandled Rejection: Error: Heading of row (53 Perouse Rd) not in our 'locations' type (do you need to add it?)you'll likely need to add the new location strings into src/types.ts and find the location
coordinates too
- Head to https://www.eco-visio.net/v5/login and login
- Select
Sitesin sidebar - Click on the new site (that likely caused a type error on JSON generation as mentioned above)
- Select
Locationin sidebar - Add these values into
counterLocationCoordinatesinsrc/types.ts
AGPL (GNU AFFERO GENERAL PUBLIC LICENSE)
Original author: Jake Coppinger (jake@jakecoppinger.com)