From 1a508ca31b1acae99675f04d38b9bfd00d6de3dd Mon Sep 17 00:00:00 2001
From: Chandrasekhar Ramakrishnan <cramakri@ethz.ch>
Date: Mon, 16 Mar 2020 19:51:17 +0000
Subject: [PATCH] feat: filter out some small countries from the dashboard

---
 notebooks/Dashboard.ipynb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/notebooks/Dashboard.ipynb b/notebooks/Dashboard.ipynb
index 24e40e7f..228a2c62 100644
--- a/notebooks/Dashboard.ipynb
+++ b/notebooks/Dashboard.ipynb
@@ -50,7 +50,9 @@
     "geodata_df = helper.read_geodata(geodata_path)\n",
     "\n",
     "# Identify countries with 100 or more cases\n",
-    "countries_over_thresh = helper.countries_with_number_of_cases(jhu_frames_map, 'confirmed', 100)"
+    "countries_over_thresh = helper.countries_with_number_of_cases(jhu_frames_map, 'confirmed', 100)\n",
+    "# Filter out some very small countries\n",
+    "countries_over_thresh = [c for c in countries_over_thresh if c not in set(['San Marino', 'Iceland'])]"
    ]
   },
   {
-- 
GitLab