Skip to content

Commit

Permalink
pad nces school id (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
allison-code-dot-org authored Jan 29, 2025
2 parents e2e8e44 + e9767f1 commit 5fa9fda
Showing 1 changed file with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,29 @@ with all_data as (
{% endif %}
{% endfor %}
)
select *
select
access_report_year,
{{ pad_school_id('nces_school_id') }} as nces_school_id,
state,
school_name,
grade_levels,
school_type,
doe,
provider_ib,
provider_ap,
provider_teals,
provider_bootup,
provider_cambridge,
provider_cyber,
all_providers,
survey,
staff_entry,
last_year,
override,
nces_data,
teaches_cs_final,
filenames,
notes
from all_data
where state not in ('AS', 'GU', 'MP', 'PR', 'VI') -- exclude territories
and teaches_cs_final not in ('unknown', 'E', 'flag') -- exclude schools with unknown CS status
Expand Down

0 comments on commit 5fa9fda

Please sign in to comment.