Skip to content

Commit

Permalink
adding sl and dso info to tableau_staff_roster
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Verhoff committed Nov 15, 2024
1 parent 7ad9d0e commit 9503a6b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ select
null as reports_to_name,
null as gender,
null as grades_taught_custom,

lc.school_leader_mail,
lc.school_leader_preferred_name_lastfirst,
lc.dso_mail,
lc.dso_preferred_name_lastfirst,
from {{ ref("base_people__staff_roster") }} as b
left join
{{ ref("int_people__years_experience") }} as ye
Expand All @@ -76,3 +81,6 @@ left join
on b.powerschool_teacher_number = tgl.teachernumber
and tgl.academic_year = {{ var("current_academic_year") }}
and tgl.grade_level_rank = 1
left join
{{ ref("int_people__leadership_crosswalk") }} as lc
on b.home_work_location_name = lc.home_work_location_name

0 comments on commit 9503a6b

Please sign in to comment.