Commit ·
851fd07
1
Parent(s): e0d04d6
Update Climate_site/pages/6_Your_own_research:_Scientific_Publications.py
Browse files
Climate_site/pages/6_Your_own_research:_Scientific_Publications.py
CHANGED
|
@@ -65,13 +65,11 @@ with own_paper_finder:
|
|
| 65 |
dic_geo[str(longitude) + " " + str(latitude)] = {}
|
| 66 |
dic_geo[str(longitude) + " " + str(latitude)]["authors"] = set()
|
| 67 |
dic_geo[str(longitude) + " " + str(latitude)]["institutions"] = set()
|
| 68 |
-
dic_geo[str(longitude) + " " + str(latitude)]["dates"] = set()
|
| 69 |
dic_geo[str(longitude) + " " + str(latitude)]["authors"].add(map_author["author"][elem])
|
| 70 |
dic_geo[str(longitude) + " " + str(latitude)]["institutions"].add(map_author["institution"][elem])
|
| 71 |
-
dic_geo[str(longitude) + " " + str(latitude)]["dates"].add(map_author["date"][elem])
|
| 72 |
|
| 73 |
for elem in dic_geo:
|
| 74 |
-
folium.Marker([float(elem.split()[1]), float(elem.split()[0])], popup="Author: " + ", ".join(list(dic_geo[elem]["authors"])) + ", Institution: " + ", ".join(list(dic_geo[elem]["institutions"]))
|
| 75 |
folium_static(m)
|
| 76 |
|
| 77 |
#except:
|
|
|
|
| 65 |
dic_geo[str(longitude) + " " + str(latitude)] = {}
|
| 66 |
dic_geo[str(longitude) + " " + str(latitude)]["authors"] = set()
|
| 67 |
dic_geo[str(longitude) + " " + str(latitude)]["institutions"] = set()
|
|
|
|
| 68 |
dic_geo[str(longitude) + " " + str(latitude)]["authors"].add(map_author["author"][elem])
|
| 69 |
dic_geo[str(longitude) + " " + str(latitude)]["institutions"].add(map_author["institution"][elem])
|
|
|
|
| 70 |
|
| 71 |
for elem in dic_geo:
|
| 72 |
+
folium.Marker([float(elem.split()[1]), float(elem.split()[0])], popup="Author: " + ", ".join(list(dic_geo[elem]["authors"])) + ", Institution: " + ", ".join(list(dic_geo[elem]["institutions"])), tooltip=", ".join(list(dic_geo[elem]["authors"]))).add_to(m)
|
| 73 |
folium_static(m)
|
| 74 |
|
| 75 |
#except:
|