If you are looking for Diana's presentation, she has posed the GH repo here:https://github.com/dbhx/aem-teamsand any questions regarding the code should be sent through there.
I think using Sitecat for this use case is your best bet. I have done something similar here:https://github.com/dkuntze/acs-arsIt uses sitecat reports. It may not map directly to what you are requiring, but it should get you most of the way there.