Skip to content

Commit

Permalink
fixup! local council action scorecards import
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Apr 22, 2024
1 parent 3758e5a commit 00bc743
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hub/management/commands/import_council_scorecards_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Command(MultipleAreaTypesMixin, BaseImportFromDataFrameCommand):
area_types = ["STC", "DIS"]

defaults = {
"label": "Action Scorecards overall score",
"label": "Council Climate Action Scorecard",
"description": "",
"data_type": "percent",
"category": "place",
Expand Down Expand Up @@ -99,6 +99,11 @@ class Command(MultipleAreaTypesMixin, BaseImportFromDataFrameCommand):
},
}

# do not want to calculate averages as the comparisons are only relevant
# to councils of the same type
def update_averages(self):
pass

def add_data_sets(self, df):
if not self._quiet:
self.stdout.write("Creating dataset + types")
Expand Down

0 comments on commit 00bc743

Please sign in to comment.