nouamanetazi HF staff commited on
Commit
951e7a1
1 Parent(s): a1551a6

intervention info

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -85,10 +85,26 @@ def display_interventions(interventions_df, selected_statuses):
85
 
86
  intervention_type = row[interventions_df.columns[6]]
87
  org = row[interventions_df.columns[1]]
 
88
  city = row[interventions_df.columns[9]]
89
  date = row[interventions_df.columns[4]]
90
  population = row[interventions_df.columns[11]]
91
- intervention_info = f"<b>Intervention Status:</b> {status}<br><b>Village Status:</b> {village_status}<br><b>Org:</b> {org}<br><b>Intervention:</b> {intervention_type}<br><b>Population:</b> {population}<br><b>📅 Date:</b> {date}"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  if row["latlng"] is None:
93
  continue
94
 
 
85
 
86
  intervention_type = row[interventions_df.columns[6]]
87
  org = row[interventions_df.columns[1]]
88
+ contact = row[interventions_df.columns[2]]
89
  city = row[interventions_df.columns[9]]
90
  date = row[interventions_df.columns[4]]
91
  population = row[interventions_df.columns[11]]
92
+ details = row[interventions_df.columns[8]]
93
+ road_state = row[interventions_df.columns[12]]
94
+ # intervention_info = f"<b>Intervention Status:</b> {status}<br><b>Village Status:</b> {village_status}<br><b>Org:</b> {org}<br><b>Intervention:</b> {intervention_type}<br><b>Population:</b> {population}<br><b>📅 Date:</b> {date}"
95
+ intervention_info=f"""
96
+ <b>Date:</b> {date}<br>
97
+ <b>City:</b> {city}<br>
98
+ <b>Intervention Status:</b> {status}<br>
99
+ <b>Village Status:</b> {village_status}<br>
100
+ <b>Org:</b> {org}<br>
101
+ <b>Intervention:</b> {intervention_type}<br>
102
+ <b>Population:</b> {population}<br>
103
+ <b>Road State:</b> {road_state}<br>
104
+ <b>Details:</b> {details}<br>
105
+ <b>Contact:</b> {contact}<br>
106
+ """
107
+
108
  if row["latlng"] is None:
109
  continue
110