Skip to content

Commit

Permalink
docs: Update dbt docs for new columns
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed May 30, 2024
1 parent e040e47 commit 84a6531
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
5 changes: 4 additions & 1 deletion models/base/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ models:
description: "The xAPI object identifier"
- name: course_id
data_type: string
description: "The course identifier"
description: "The fully-qualified course identifier URL"
- name: course_key
data_type: String
description: "The course key for the course"
- name: org
data_type: string
description: "The organization that the course belongs to"
Expand Down
21 changes: 12 additions & 9 deletions models/instance/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,35 @@ models:
- name: fact_instance_events
description: "A materialized view summarizing site-wide xAPI event activity"
columns:
- name: emission_hour
data_type: datetime(64)
description: "Time of summary, rounded to the nearest hour"
- name: emission_day
data_type: datetime
description: "Time of summary, truncated to the day"
- name: events_cnt
data_type: int
description: "The number of xAPI events that occurred in the given hour"

- name: fact_instance_actors
description: "A materialized view summarizing site-wide user activity"
columns:
- name: emission_hour
data_type: datetime(64)
description: "Time of summary, rounded to the nearest hour"
- name: emission_day
data_type: datetime
description: "Time of summary, truncated to the day"
- name: actors_cnt
data_type: int
description: "The number of xAPI actors active in the given hour"

- name: fact_instance_enrollments
description: "A materialized view for summarizing site-wide enrollment activity"
columns:
- name: emission_hour
data_type: datetime(64)
description: "Time of summary, rounded to the nearest hour"
- name: emission_day
data_type: datetime
description: "Time of summary, truncated to the day"
- name: course_name
data_type: String
description: "The name of the course"
- name: course_key
data_type: String
description: "The course key for the course"
- name: enrollment_mode
data_type: string
description: "The name of the enrollment mode (ex: audit, honor)"
Expand Down

0 comments on commit 84a6531

Please sign in to comment.