Skip to content

Commit

Permalink
feat: add section_subsection_name
Browse files Browse the repository at this point in the history
to use as label for subsection chart
  • Loading branch information
pomegranited committed Jun 27, 2024
1 parent 66e4d0f commit 9e223e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ select
if(
blocks.block_name != '', blocks.display_name_with_location, null
) as entity_name_with_location,
blocks.display_name_with_location as section_subsection_name,
completions.actor_id as actor_id,
cast(completions.scaled_progress as Float) as scaled_progress,
case
Expand Down
3 changes: 3 additions & 0 deletions models/completion_aggregator/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ models:
- name: entity_name_with_location
data_type: Nullable(String)
description: "The entity's display name with section, subsection, and unit prepended to the name. This provides additional context when looking at block names and can help data consumers understand which block they are analyzing"
- name: section_subsection_name
data_type: Nullable(String)
description: "The name of the section this subsection belongs to, with section_number prepended"
- name: actor_id
data_type: String
description: "The xAPI actor identifier"
Expand Down

0 comments on commit 9e223e5

Please sign in to comment.