We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4194bc commit 7ec4648Copy full SHA for 7ec4648
caps/management/commands/import_citizens_assemblies.py
@@ -21,8 +21,11 @@ def get_citizens_assembilies() -> pd.DataFrame:
21
done_survey=True,
22
)
23
24
- # limit to those with 'climate' in the thematic_grouping
25
- df = df[df["thematic_grouping"].str.lower().str.contains("climate")]
+ # limit to those with climate-related thematic groups
+ df = df[
26
+ df["thematic_grouping"].str.contains("climate", case=False)
27
+ | df["thematic_grouping"].str.contains("air quality", case=False)
28
+ ]
29
# limit to completed assemblies
30
df = df[df["assembly_status"] == "Finished"]
31
# limit to just those that have a local_authority_code
0 commit comments