Skip to content

Commit ee6b1e5

Browse files
authored
Update get.py
1 parent 1673820 commit ee6b1e5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

braininventory/get.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,21 @@ def report():
154154

155155
import pandas as pd
156156
import urllib.request
157+
import geoip2.database
158+
from geopy.geocoders import Nominatim
159+
import folium
160+
'''
161+
Import modules that will be used to create the world map, find coordinates of affiliations, and
162+
'''
157163

158164
url = 'https://download.brainimagelibrary.org/inventory/daily/reports/today.json'
159165
file_path, _ = urllib.request.urlretrieve(url)
160-
161166
df = pd.read_json(file_path)
162167
df
163-
164-
import folium
168+
"""
169+
Geopy - Input: University Output: Address, lat, lon
170+
Folium - visual map creator
171+
"""
165172

166173
map = folium.Map()
167174

0 commit comments

Comments
 (0)