Statistics and visualization for City College of San Francisco's reference desk.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
chart1.gif
chart2.gif
chart3.gif
ref_stats.py
stats1.gif

README.md

CCSF Library statistics

Statistics and visualization for City College of San Francisco's reference desk.

Usage

Run ref_stats.py from the command line with the path to your csv file as an argument.

python stats.csv

This will create a vizualization of the data as well as create some statistics on the command line.

Options: Modify the DAYS global variable to specify the date range and number of charts to be built. One chart is built for each entry, passed in as an array.

Valid inputs are dates: "02-22-2016", day names (shows stats for all instances of that day, in this case all Mondays): "mondays" and all: "all" ex) DAYS = ["all", "mondays", "02-22-2016"]

alt text alt text alt text alt text

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Credits

Thanks to @scoofy for the help creating the area charts and time axis.