Data and Analytics Group Discussions

Data and Analytics Group questions and discussion forum

Hi all,I am getting this error SELECT cls.relnameFROM pg_catalog.pg_class AS cls INNER JOIN pg_catalog.pg_namespace AS nsp ON cls.relnamespace = nsp.oidWHERE nsp.nspname = 'instructure_dap' AND (cls.relkind = 'c');when syncing the table with dap 1.1....

Community Member
Data and Analytics Group
  • 0 Likes
  • 0 Replies

Got my hands on the LTI tables in CD2 now, trying to query if I can list all LTI 1.1 and 1.3 related to a specific course. Context_External_Tools (LTI 1 and 1.3) - has two kinds of tools (context_type) - Account, Course if context_type: course, then ...

Community Contributor
Data and Analytics Group
  • 0 Likes
  • 4 Replies

The CD1 Requests table included a significant disclaimer: "The data in the requests table is a 'best effort' attempt, and is not guaranteed to be complete or wholly accurate. This data is meant to be used for rollups and analysis in the aggregate, _n...

Community Explorer
Data and Analytics Group
  • 0 Likes
  • 0 Replies

Mostly a question for @ sgergely and @GergelyTar - I was just wondering if there's anything on the DAP client roadmap for syncing to an S3 location and/or using Iceberg? We're going w/ PostgreSQL for convenience in making our transition from CD1 to...

  • 0 Likes
  • 4 Replies

Hello, I'm using Python to automatically sync our CANVAS data into our database. However, I'd prefer to not have the results of each table's syncing printed out (e.g. "No rows to upsert", "No rows to delete"). Is there a way to add a line (or so) to ...

  • 0 Likes
  • 1 Replies

I’m working with Canvas Data 2 API and am having trouble accessing S3 files programmatically. While I can manually open the provided URLs in my browser, I receive a 403 Forbidden error when trying to access them using Python. I’ve been provided with ...

  • 0 Likes
  • 1 Replies

We're not using DAP, so our job failed when checking the schema version the other day for the web_conferences table. (We currently do schema updates by hand for ... reasons.) Is there a change log of CD2 schema changes anywhere? I don't recall any an...

Community Participant
Data and Analytics Group
  • 0 Likes
  • 2 Replies

I'm working with CD2 in PostgreSQL and I'm noticing that CD2 seems to take an opinionated stance on data types with many columns being user defined (typically enums). For example, `context_type` in `lti_resource_links` is of type `lti_resource_links_...

  • 0 Likes
  • 2 Replies

DAPClientError: malformed HTTP response occurs at least twice in a month. and was unable to identify the exact issue.   DAPClientError Traceback (most recent call last) Cell In [35], line 3 1 if __name__ == '__main__'...

Community Member
Data and Analytics Group
  • 0 Likes
  • 0 Replies

Canvas.courses has a canvas."courses__workflow_state" enum with the possible values of {__dap_unspecified__,created,claimed,available,completed,deleted} This leads to several questions. 1) Do any of these workflow_states match the published status of...

  • 0 Likes
  • 2 Replies

Greetings, My goal is to track LTI use by using a simple proxy of if the Course Navigation link is enabled. The particular LTI tool I am most interested in tracking(Kaltura LTI 1.1) can be used for assignments, though the vast majority of this LTI us...

  • 0 Likes
  • 3 Replies

Hello, I'm having trouble with the DAP CLI version 1.1.0 on a windows 11 machine.I got a new client id and secret , the I ran:set DAP_CLIENT_ID=...set DAP_CLIENT_SECRET=..set DAP_API_URL=..>dap --version dap 1.1.0But when I run list I get a full web ...

  • 0 Likes
  • 2 Replies

Just checking what's the current state of getting LTI Usage information out of CD2.  I see there are a few LTI-related tables, but they all seem to mention LTI 1.3. Has anyone worked on reporting of LTI usage then via CD2 tables?

  • 2 Likes
  • 3 Replies

Hello, I'm hoping someone has seen this and knows how to fix it.I'm trying to load the scores table in DAP and this is repeatable for me:Step 1: Drop the scores tableStep 2 Initialize the scores table: ...@ubuntu-vm-karl:~/bin$ dap initdb --namespace...

  • 0 Likes
  • 2 Replies

Hello!  I'm doing some time calculations and wanted to use the time_zone from the courses but I am finding a lot of courses that don't have the time_zone property in the JSON but when I look at the course in Canvas it does have a time zone set.  Has ...

  • 0 Likes
  • 1 Replies

Hi, Canvas Community,   I have a problem. The tables are exported from Canvas via the CLI tool (Canvas Data 2). There is a table called "submissions". But this table only captures the students' most recent submission for one assignment. How can I get...

  • 0 Likes
  • 2 Replies

Hey Community,I am currently working on a synchronisation of my own database, in which I make use of Canvas Data 2.Right now I am fetching their data, mapping their models to my models and filling my database with it. This is currently a migration of...

Community Explorer
Data and Analytics Group
  • 0 Likes
  • 1 Replies

I am trying out Canvas Data 2 in preparation for writing an ELT pipeline, and I noticed an issue with version 1.1.0 of the instructure-dap-client library. Whether I try to get data using the command line tool or the python library, I get errors about...

  • 0 Likes
  • 17 Replies

I'm trying to calculate the average number of students who have viewed at least 1 page on the site per week. So far, not getting anywhere because I need to be able to see unique page views rather than just 'page views'. Any ideas how to get this out ...

  • 1 Likes
  • 2 Replies

Wondering if anyone has any suggestions regarding some "time series-like" analytics for enrollments total_activity_time and active user counts? I'm conscious that CD2 is "eventual consistency" so time series analysis of things like weekly total_activ...

Community Participant
Data and Analytics Group
  • 2 Likes
  • 1 Replies

Hi all! I'm trying to identify a path forward for my institution to leverage the Canvas Data 2 API to obtain data around course level participation. From what I've gathered, it seems to have been possible in v1 of the API but I'm not immediately seei...

  • 0 Likes
  • 1 Replies

I know that you can only see and manage the keys that you generate within the Identity Services, so they must be associated to the user. But do they also inherit the Canvas User's status, roles, and permissions? Or, once generated, are they independe...

  • 1 Likes
  • 2 Replies

Hi Instructure! Is there a way to access the time zone code for the user's set time zone? Example: Right now, a user can set their time zone in the LMS to  Eastern Time (US & Canada) (-06:00/-04:00)at /profile/settings.The time zone value for this us...

  • 0 Likes
  • 7 Replies

I am being tasked with creating a Tableau dashboard that looks at New Analytics at a more global/course level scale. Does anyone know if there is a backend query that drives the New Analytics data that I could fork as way to improve my query? 

Community Member
Data and Analytics Group
  • 0 Likes
  • 0 Replies

I'm updating our init and sync code to reflect what is prescribed in the documentation's Instructions and I am receiving the following error when i run pip install           × Building wheel for tsv2py (pyproject.toml) did not run successfully. ...

  • 0 Likes
  • 16 Replies

I need to find data from a course on the number of new enrollments in the course within a certain timeframe. Is there a report I can run that will give me that information? Thanks!

  • 0 Likes
  • 2 Replies

Hi, currently I am working on Canvas Data2 bulk data and I noticed that there is data related to which user has read the topics or replied posted by other users. Does anyone know by what action/criterion that the topic/reply is considered as read alr...

Community Member
Data and Analytics Group
  • 0 Likes
  • 0 Replies

Hello, Using the CD2 API, what is the suggested way to get the Users from the User's List on UI?  I have tried using Users and Pseudonyms but I am receiving more results compared to my original logic on CD1.   Also, according to the documentation Use...

  • 0 Likes
  • 3 Replies

Hello!I am new to developing with Canvas data and had two questions:1.  I saw a question from January about new quizzes and the response was that New quizzzes are not in the CD2 data.  Is that still the case?  For our own analytics we are pulling thi...

  • 0 Likes
  • 10 Replies

Note: Relying on my DBA since some of this is a bit over my head. Our scheduled "dap syncdb" process keeps blowing up our CPU. Our DBA used an "explain plan" to see where our performance issue are. Below is the SQL running a loop while sorting throug...

Community Participant
Data and Analytics Group
  • 0 Likes
  • 1 Replies