Exporting meeting attendance on a mass scale
I am using the report-recording-views and report-meeting-attendance to track how many people attend each meeting and how much time each person spends viewing the recordings of each meeting. This is a school, so there are lots and lots of meetings. I need to write a program to run on a cron job to grab the attendance data and insert it into our database. The only way I've been able to think to do this is to start with sco-contents and loop through and drill down using the new sco-id each time until I find a meeting archive and then use report-recording-views (I haven't even tried to get the live attendance yet) on that sco-id. This unfortunately results in 5-6 nested for loops which is rendering the program unusably slow. Is there a simpler way to grab all this data on a mass scale?
