Month-by-month requests submitted

Note that the "ACC Wizard" which directs requesters to self-create instead of submitting requests was implemented in July 2019, explaining the sudden drop.

MonthYearRequests Submitted
120192242
220191610
320191757
420192371
520192255
620191344
720191410
82019381
92019363
102019358
112019316
122019250
12020364
22020349
32020379
42020541
52020667
62020578
72020574
82020489
92020494
102020549
112020544
122020521
SELECT EXTRACT(MONTH from timestamp) as "Month", EXTRACT(YEAR from timestamp) as "Year", COUNT(*) as "Requests Submitted" FROM log l WHERE 1=1 AND action = 'Email Confirmed' AND l.objecttype = 'Request' AND l.timestamp BETWEEN '2019-01-01 00:00:00' AND '2021-01-01 00:00:00' GROUP BY EXTRACT(Month from timestamp), EXTRACT(YEAR from timestamp) Order by year, month;

Users who have closed requests in 2020

UsernameRequests closed
ElHef2198
JJMC891073
Stwalkerster991
LuK3939
mdaniels5757587
Rich Smith479
Jack Frost165
Kostas20142147
Operator873146
Jon Kolbert132
Alex Noble115
Dreamy Jazz111
Alpha3031110
Riley97
DannyS71296
FlightTime77
JavaHurricane74
QueerEcofeminist59
AmandaNP52
1997kB43
Praxidi cae40
frood39
OcarinaOfTime36
Oshwah30
TBloemink25
Dane21
Ivanvector21
Callanecc19
urbanecm18
Josve05a16
Tks4Fish16
Waggie14
QEDK13
AfroThundr300773013
Lord Bolingbroke13
Sunmist13
OhKayeSierra12
AntiCompositeNumber11
Clarkcj125
Mz74
L2353
maurelio2
Matthewrbowker2
FastLizard41
TheDragonFire1
select u.username as "Username", count(*) as "Requests closed" from log l inner join user u on l.user = u.id where 1=1 and l.action like 'Closed %' AND l.timestamp BETWEEN '2020-01-01 00:00:00' AND '2021-01-01 00:00:00' group by u.username order by 2 desc

Average response time

The average time from a request's email confirmation until the first response sent to the user. Times are hours.

This is split between requests which were deferred to a different queue, and requests which were not deferred to a different queue

MonthNon-deferred requestsDeferred requests
2019-012130.012258.27
2019-022312.612088.21
2019-032568.632853.49
2019-042420.663144.49
2019-052997.633538.55
2019-062678.333678.89
2019-072286.183233.62
2019-082815.682488.74
2019-091999.241833.19
2019-101430.751465.76
2019-111062.17957.58
2019-12601.741434.07
2020-01943.311636.99
2020-02797.521258.78
2020-03547.88654.80
2020-0461.3188.50
2020-051.0773.88
2020-061.8781.21
2020-072.75184.65
2020-083.64472.44
2020-093.53393.79
2020-103.96204.94
2020-114.2866.13
2020-123.64132.90
with requeststats as ( select distinct r.id, r.date as submitdate, lec.timestamp as confirmdate, MIN(lc.timestamp) over (partition by r.id) as responsedate, case when ld.timestamp > 0 then 1 else 0 end as deferred from request r inner join log lec on lec.objecttype = 'Request' and lec.objectid = r.id and lec.action = 'Email Confirmed' left join ( -- first close select logfc.objectid as "request", MIN(logfc.timestamp) as "timestamp" from log logfc where 1=1 AND ( logfc.action LIKE 'Closed %' OR logfc.action = 'SentMail' ) AND logfc.action <> 'Closed 0' AND logfc.objecttype = 'Request' AND logfc.timestamp > 0 -- I hate MySQL... GROUP BY logfc.objectid ) lc on lc.request = r.id left join ( -- first deferral select logfd.objectid as "request", MIN(logfd.timestamp) as "timestamp" from log logfd where 1=1 AND logfd.action LIKE 'Deferred to %' AND logfd.objecttype = 'Request' AND logfd.timestamp > 0 AND logfd.user <> -1 -- skip system deferrals GROUP BY logfd.objectid ) ld on ld.request = r.id where 1=1 and r.status = 'Closed' AND r.date BETWEEN '2019-01-01 00:00:00' AND '2021-01-01 00:00:00' AND lc.timestamp IS NOT NULL ) SELECT concat(EXTRACT(YEAR from submitdate), '-', lpad(EXTRACT(Month from submitdate),2,'0')) as "Month", round(avg(case when deferred = 0 then unix_timestamp(responsedate) - unix_timestamp(confirmdate) end)/60/60, 2) "Non-deferred requests", round(avg(case when deferred = 1 then unix_timestamp(responsedate) - unix_timestamp(confirmdate) end)/60/60, 2) "Deferred requests" FROM requeststats group by EXTRACT(Month from submitdate), EXTRACT(YEAR from submitdate) ORDER BY 1 asc