Perform analysis on an MDS provider
Postgres database.
First, ensure the image is up to date locally:
docker-compose build --no-cache analytics
Then run an analytics job:
docker-compose run --rm analytics [OPTIONS]
Note: you must provide a range of time to query using some combination of start
, end
, and duration
. Providing both start
and end
takes precedence over either of them with duration
.
Run the availability calculation.
Print debug messages.
Number of seconds; with --start
or --end
defines a time query range.
The end of the time query range for this job. Should be either int Unix seconds or ISO-8061 datetime format.
Input and query times are local.
A provider_name
and vehicle_type
pair to analyze. Use this option multiple times to analyze multiple pairs independently.
E.g.
--query providerA=scooter --query providerA=bicycle --query providerB=scooter
The beginning of the time query range for this job. Should be either int Unix seconds or ISO-8061 datetime format.