I'm trying to understand the meaning of the data in the stats_daily table.
Firstly what are these different roles for, do they correlate with mdl_roles? If so, what does roleid of 0 refer to?
Please could someone also let me know what is meant by stat1 and stat2 in this context?
Also what is the difference between activity and enrolments?
I'd appreciate any help I could get with this.