Ryan,
I think one way to do this is to determine the period in which you are counting the number of times a user has logged in to a course. That might be more difficult than it sounds. But it seems like Canvas Data does not really count logins to courses in the way that it counts page requests in the Requests table. Once you are authenticated in Canvas, the database records your activity across the site. And pseudonym_dim is only going to give us the most recent login to Canvas (current_login_at).
If you define a specific period to look for page requests by course, you could use the Requests table to, say, examine the number of unique course_id values that appear for each student for each day in a semester. This may not be as granular as the information you are looking for. If you need something more specific, then there needs to be a guiding rationale for how you decide what counts for a "login" to a course if a student is accessing multiple courses in one sitting.
Sam
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.