Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davish/dash-demo
An example dashboard able to show some statistics over time from a CSV file in a pretty way
https://github.com/davish/dash-demo
Last synced: 24 days ago
JSON representation
An example dashboard able to show some statistics over time from a CSV file in a pretty way
- Host: GitHub
- URL: https://github.com/davish/dash-demo
- Owner: davish
- Created: 2015-04-18T05:23:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-22T03:31:28.000Z (over 9 years ago)
- Last Synced: 2024-10-15T07:46:00.670Z (2 months ago)
- Language: JavaScript
- Size: 195 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dash-demo
## Loading Data
- Data is loaded into the PostgreSQL database via a webpage at `/dashboard/update`
(`import_stats` in `dashboard/views.py`) that takes a .csv file.
- The file, when sent to the server, is parsed line-by-line by `dashboard/uploading.py`.
- Here, a line is checked to see if there is already a database entry that has the same date.
- If there isn't, the line is inserted into the DB. Otherwise, the data is updated.## Spec
* line graph of signups, viewable by day, week, month
* signups from reps overtime compared to non-rep signups
* rep signups as a % of overall growth over time
* cumulative growth over time, on a % weekly growth basis
* Anything else you think would be valuable!- data needs to be loaded dynamically into PostgreSQL