diff --git a/explorer/all.py b/explorer/all.py
index e8fc2d0..68188c0 100644
--- a/explorer/all.py
+++ b/explorer/all.py
@@ -640,7 +640,7 @@ def get_merged_ms_df():
}
)
###################################################################################
-# Make answers analysable
+# Make answers analysable (change data types etc.)
###################################################################################
df["hr2"] = df["hr2"].replace("?", np.nan)
df["hr2"] = df["hr2"].replace("0,5", 0.5)
@@ -660,7 +660,7 @@ def get_merged_ms_df():
###################################################################################
# Filter logic
###################################################################################
-# TODO filter by attitudes
+# TODO filter by attitudes1-2
filters = {
"surveytype": st.sidebar.selectbox(
"Survey type", ["All", "Civil Society Scrutiny", "Media Scrutiny"]
@@ -711,7 +711,7 @@ def get_csv_download_link(df):
b64 = base64.b64encode(
csv.encode()
).decode() # some strings <-> bytes conversions necessary here
- href = f'Download as CSV file'
+ href = f'Download as CSV file'
return href
@@ -731,7 +731,7 @@ def get_excel_download_link(df):
"""
val = to_excel(df)
b64 = base64.b64encode(val)
- return f'Download as Excel file'
+ return f'Download as Excel file'
st.write(get_csv_download_link(df), unsafe_allow_html=True)
@@ -918,8 +918,6 @@ def get_excel_download_link(df):
)
st.plotly_chart(foi5_fig)
-# st.plotly_chart(foi5_fig)
-
# Stacked Bar Chart (msprotectops1)
st.write(
"Have you taken any of the following measures to protect your datas from attacks and surveillance? `[protectops1]`"