Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +10 -62
dashboard.py
CHANGED
@@ -164,75 +164,23 @@ macro_topics = ["Energy-Efficient Building Design for Thermal Comfort and Sustai
|
|
164 |
|
165 |
def load_institute_network(topic, **kwargs):
|
166 |
if topic=='Energy-Efficient Building Design for Thermal Comfort and Sustainability':
|
167 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="
|
168 |
html_pane = pn.pane.HTML(html)
|
169 |
return html_pane
|
170 |
-
elif
|
171 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1rqPx3X_9Hnv9mTq2bMCbWWh5VIOw9CRh" width="
|
172 |
html_pane = pn.pane.HTML(html)
|
173 |
return html_pane
|
174 |
-
elif
|
175 |
-
html = """<iframe src="
|
176 |
html_pane = pn.pane.HTML(html)
|
177 |
return html_pane
|
178 |
-
elif
|
179 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%
|
180 |
html_pane = pn.pane.HTML(html)
|
181 |
return html_pane
|
182 |
-
elif
|
183 |
-
html = """<iframe src="
|
184 |
-
html_pane = pn.pane.HTML(html)
|
185 |
-
return html_pane
|
186 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
187 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
188 |
-
html_pane = pn.pane.HTML(html)
|
189 |
-
return html_pane
|
190 |
-
elif region=='Renewable Energy Systems: Solar PV & Building Applications':
|
191 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1BC0Dbmayyxv3G9wLt2fUSTiUL2vwzuLD" width="800" height="800"></iframe>"""
|
192 |
-
html_pane = pn.pane.HTML(html)
|
193 |
-
return html_pane
|
194 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
195 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
196 |
-
html_pane = pn.pane.HTML(html)
|
197 |
-
return html_pane
|
198 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
199 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
200 |
-
html_pane = pn.pane.HTML(html)
|
201 |
-
return html_pane
|
202 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
203 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
204 |
-
html_pane = pn.pane.HTML(html)
|
205 |
-
return html_pane
|
206 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
207 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
208 |
-
html_pane = pn.pane.HTML(html)
|
209 |
-
return html_pane
|
210 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
211 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
212 |
-
html_pane = pn.pane.HTML(html)
|
213 |
-
return html_pane
|
214 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
215 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
216 |
-
html_pane = pn.pane.HTML(html)
|
217 |
-
return html_pane
|
218 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
219 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
220 |
-
html_pane = pn.pane.HTML(html)
|
221 |
-
return html_pane
|
222 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
223 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
224 |
-
html_pane = pn.pane.HTML(html)
|
225 |
-
return html_pane
|
226 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
227 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
228 |
-
html_pane = pn.pane.HTML(html)
|
229 |
-
return html_pane
|
230 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
231 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
232 |
-
html_pane = pn.pane.HTML(html)
|
233 |
-
return html_pane
|
234 |
-
elif region=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
235 |
-
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="800" height="800"></iframe>"""
|
236 |
html_pane = pn.pane.HTML(html)
|
237 |
return html_pane
|
238 |
|
@@ -355,7 +303,7 @@ button3 = pn.widgets.Button(name="Research Collaboration Networks: Institutes",
|
|
355 |
|
356 |
region1 = pn.widgets.RadioButtonGroup(name='### Select News Region', options=regions)
|
357 |
|
358 |
-
macro_topics_button = pn.widgets.Select(name='
|
359 |
|
360 |
|
361 |
# Initial RadioButtonGroup
|
|
|
164 |
|
165 |
def load_institute_network(topic, **kwargs):
|
166 |
if topic=='Energy-Efficient Building Design for Thermal Comfort and Sustainability':
|
167 |
+
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n" width="1000" height="800"></iframe>"""
|
168 |
html_pane = pn.pane.HTML(html)
|
169 |
return html_pane
|
170 |
+
elif topic=='Indoor Air Quality and Energy Efficiency in Low-Energy Houses':
|
171 |
+
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1rqPx3X_9Hnv9mTq2bMCbWWh5VIOw9CRh" width="1000" height="800"></iframe>"""
|
172 |
html_pane = pn.pane.HTML(html)
|
173 |
return html_pane
|
174 |
+
elif topic=='Smart Cities and Urban Computing':
|
175 |
+
html = """<iframe src="" width="1000" height="800"></iframe>"""
|
176 |
html_pane = pn.pane.HTML(html)
|
177 |
return html_pane
|
178 |
+
elif topic=='Renewable Energy Systems: Solar PV & Building Applications':
|
179 |
+
html = """<iframe src="https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1BC0Dbmayyxv3G9wLt2fUSTiUL2vwzuLD" width="1000" height="800"></iframe>"""
|
180 |
html_pane = pn.pane.HTML(html)
|
181 |
return html_pane
|
182 |
+
elif topic=='BIM in AEC: Trends, Challenges, and Opportunities':
|
183 |
+
html = """<iframe src="" width="1000" height="800"></iframe>"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
html_pane = pn.pane.HTML(html)
|
185 |
return html_pane
|
186 |
|
|
|
303 |
|
304 |
region1 = pn.widgets.RadioButtonGroup(name='### Select News Region', options=regions)
|
305 |
|
306 |
+
macro_topics_button = pn.widgets.Select(name='Select Macro Topic', value='Energy-Efficient Building Design for Thermal Comfort and Sustainability', options=macro_topics)
|
307 |
|
308 |
|
309 |
# Initial RadioButtonGroup
|