summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index 9ff4ed9..6e3df19 100644
--- a/index.pl
+++ b/index.pl
@@ -424,8 +424,9 @@ get '/2ddata.tsv' => sub {
when ('realtime_rate') {
$query = qq{
select $format as aggregate, avg((delay is not null)::int),
+ count(*),
stddev_samp((delay is not null)::int),
- count(*), sum((delay is not null)::int)
+ sum((delay is not null)::int)
from departures
$join_clause
where $where_clause