Skip to content

Commit

Permalink
DEV skip SCA aggregations for now
Browse files Browse the repository at this point in the history
  • Loading branch information
damonmcc committed Mar 8, 2024
1 parent 9de7269 commit df5e700
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
18 changes: 9 additions & 9 deletions products/knownprojects/bash/03_aggregate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ run_sql_file sql/aggregate/create_zap_projects.sql
echo "Preprocess column names to standardize"
run_sql_file sql/aggregate/preprocessing.sql

## Do SCA aggregations
echo "Create the SCA aggregation tables..."
# ## Do SCA aggregations
# echo "Create the SCA aggregation tables..."

echo "Build Elementary School Zones aggregate table"
run_sql_file sql/aggregate/sca/boundaries_es_zone.sql
# echo "Build Elementary School Zones aggregate table"
# run_sql_file sql/aggregate/sca/boundaries_es_zone.sql

echo "Build School Districts aggregate table"
run_sql_file sql/aggregate/sca/boundaries_school_districts.sql
# echo "Build School Districts aggregate table"
# run_sql_file sql/aggregate/sca/boundaries_school_districts.sql

echo "Build School Subdistricts aggregate table"
run_sql_file sql/aggregate/sca/boundaries_school_subdistricts.sql
echo "SCA sggregations are complete"
# echo "Build School Subdistricts aggregate table"
# run_sql_file sql/aggregate/sca/boundaries_school_subdistricts.sql
# echo "SCA sggregations are complete"

## Do general aggregations
echo "Create the general aggregate tables..."
Expand Down
22 changes: 11 additions & 11 deletions products/knownprojects/bash/04_export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ mkdir -p output
echo "Compress review folder"
zip -r review.zip review/

echo "Export SCA aggregation tables"
mkdir -p sca_aggregation
(
cd sca_aggregation
csv_export longform_csd_output &
csv_export longform_es_zone_output &
csv_export longform_subdist_output_cp_assumptions
wait
)
echo "Compress SCA aggregation folder"
zip -r sca_aggregation.zip sca_aggregation/
# echo "Export SCA aggregation tables"
# mkdir -p sca_aggregation
# (
# cd sca_aggregation
# csv_export longform_csd_output &
# csv_export longform_es_zone_output &
# csv_export longform_subdist_output_cp_assumptions
# wait
# )
# echo "Compress SCA aggregation folder"
# zip -r sca_aggregation.zip sca_aggregation/

echo "Export aggregation tables"
mkdir -p aggregation
Expand Down

0 comments on commit df5e700

Please sign in to comment.