Global statistics page for LibCrowds.
Python JavaScript HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libcrowds_statistics
tests
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
setup.cfg

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.