Global statistics page for LibCrowds.
Python JavaScript HTML CSS
Latest commit ae8a4b6 Jan 17, 2017 @alexandermendes alexandermendes committed on GitHub Update LICENSE
Permalink
Failed to load latest commit information.
libcrowds_statistics Version bump Jan 5, 2017
tests Remove unused import Nov 14, 2016
.gitignore Update gitignore Jun 14, 2016
.travis.yml Verbose output from Travis tests Jan 24, 2016
CONTRIBUTING.md Add docs Jan 23, 2016
LICENSE Update LICENSE Jan 17, 2017
README.md Update README Jan 26, 2016
setup.cfg PEP8 fixes Jun 14, 2016

README.md

libcrowds-statistics

Build Status Coverage Status

Global statistics page for LibCrowds, designed to integrate with the libcrowds-pybossa-theme and provide a bit more control over how analytical data is generated on the platform. It's also a nice excuse to generate pretty charts.

Installation

Copy the libcrowds_statistics folder into your PyBossa plugins directory. The plugin will be available after you next restart the server.

Usage

The plugin makes a new global statistics page available at:

/statistics

In order to generate location based statistics for all users this plugin also registers an event listener to record IP addresses for all new task runs (the PyBossa default is to record IP addresses for anonymous users only). All other statistics are generated from the standard PyBossa data.

Integration

If using the libcrowds-pybossa-theme the Statistics link on the main navigation bar will point to the page defined in this plugin.

Testing

This plugin makes use of the PyBossa test suite while running tests. The Travis CI configuration file contains all of the required commands to set up a test environment and run the tests.

Contributing

See the CONTRIBUTING file for guidelines on how to suggest improvements, report bugs or submit pull requests.