Get statistics
Description#
Fetches raw statistics for display to admins.
Input#
None
Mechanism#
Fetch entity data as specified in the output section
Output#
- Clients data
- Amount of active clients.
- Amount of unverified clients.
- Amount of deleted clients.
- Amount of clients who didn't finish registering
- Couriers data
- Amount of active couriers.
- Amount of deleted couriers.
- Business managers data
- Amount of active business managers.
- Amount of deleted business managers.
- Business data
- Amount of active businesses.
- Amount of available businesses (subset of active + published businesses).
- Amount of unavailable businesses (subset of active + published businesses).
- Amount of published businesses.
- Amount of unpublished businesses.
- Amount of deactivated businesses.
- Order data
- Amount of active orders.
- Amount of order today.
- Amount of historic orders.
- Amount of cancelled/rejected orders.
- Amount of deliveries made
- Files data
- Total amount of files in the system
- Total storage usage in megabytes