What data is available about posts, to design analytics to understand student engagement and understanding?

Thanks. Those models spelled it out nicely. I see that there are user-defined fields, but they look like they extend the user profile. If I wanted to create custom post-level data (for analytics), how difficult would it be to do the calculations and them to another table in Discourse or another database entirely?