Mismatch between API data and New Analytics

MichaelLangUG
Community Member

Can somebody please answer this question for me.  I am experiencing very confusing anomalies between data obtained via API calls and corresponding data obtained via the New Analytics UI.

Specifically, I ran the following API call to extract details of student activity on a course:

https://<canvas>/api/v1/courses/<course_id>/analytics/users/<user_id>/activity

However, the values retrieved in this way do not match those obtained via:

New Analytics > Students

Any ideas what is going on?

I ran a scatterplot of two sets of values from my class of 217 students and there is absolutely no correlation whatsoever between the data obtained via API call and the data obtained via New Analytics download.

0 Likes