diff --git a/.ipynb_checkpoints/Wikdata -> Panda dataset-checkpoint.ipynb b/.ipynb_checkpoints/Wikdata -> Panda dataset-checkpoint.ipynb
index af13f88..8b82b92 100644
--- a/.ipynb_checkpoints/Wikdata -> Panda dataset-checkpoint.ipynb
+++ b/.ipynb_checkpoints/Wikdata -> Panda dataset-checkpoint.ipynb
@@ -1060,7 +1060,7 @@
},
{
"cell_type": "code",
- "execution_count": 107,
+ "execution_count": 116,
"metadata": {},
"outputs": [
{
@@ -1095,6 +1095,7 @@
"
destinationLabel | \n",
" destination_latitude | \n",
" destination_longitude | \n",
+ " geometry | \n",
" \n",
" \n",
" \n",
@@ -1111,6 +1112,7 @@
" Gotha | \n",
" 50.948889 | \n",
" 10.718056 | \n",
+ " POINT (49.45203 49.45203) | \n",
" \n",
" \n",
" 1 | \n",
@@ -1125,6 +1127,7 @@
" Gotha | \n",
" 50.948889 | \n",
" 10.718056 | \n",
+ " POINT (49.45203 49.45203) | \n",
"
\n",
" \n",
" 2 | \n",
@@ -1139,6 +1142,7 @@
" Gotha | \n",
" 50.948889 | \n",
" 10.718056 | \n",
+ " POINT (52.37020 52.37020) | \n",
"
\n",
" \n",
" 3 | \n",
@@ -1153,6 +1157,7 @@
" Gotha | \n",
" 50.948889 | \n",
" 10.718056 | \n",
+ " POINT (48.76653 48.76653) | \n",
"
\n",
" \n",
" 4 | \n",
@@ -1167,23 +1172,24 @@
" Gotha | \n",
" 50.948889 | \n",
" 10.718056 | \n",
+ " POINT (48.76653 48.76653) | \n",
"
\n",
" \n",
"\n",
""
],
"text/plain": [
- " item ... destination_longitude\n",
- "0 https://database.factgrid.de/entity/Q4166 ... 10.718056\n",
- "1 https://database.factgrid.de/entity/Q4167 ... 10.718056\n",
- "2 https://database.factgrid.de/entity/Q2238 ... 10.718056\n",
- "3 https://database.factgrid.de/entity/Q4163 ... 10.718056\n",
- "4 https://database.factgrid.de/entity/Q4164 ... 10.718056\n",
+ " item ... geometry\n",
+ "0 https://database.factgrid.de/entity/Q4166 ... POINT (49.45203 49.45203)\n",
+ "1 https://database.factgrid.de/entity/Q4167 ... POINT (49.45203 49.45203)\n",
+ "2 https://database.factgrid.de/entity/Q2238 ... POINT (52.37020 52.37020)\n",
+ "3 https://database.factgrid.de/entity/Q4163 ... POINT (48.76653 48.76653)\n",
+ "4 https://database.factgrid.de/entity/Q4164 ... POINT (48.76653 48.76653)\n",
"\n",
- "[5 rows x 11 columns]"
+ "[5 rows x 12 columns]"
]
},
- "execution_count": 107,
+ "execution_count": 116,
"metadata": {},
"output_type": "execute_result"
}
@@ -1194,7 +1200,7 @@
},
{
"cell_type": "code",
- "execution_count": 109,
+ "execution_count": 119,
"metadata": {},
"outputs": [
{
@@ -1207,12 +1213,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
- "model_id": "f8c4c902ba3a4382b22c3553b19d8e47",
+ "model_id": "9a72478e15984480bfac6145de1c9bd3",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
- "KeplerGl(height=600)"
+ "KeplerGl(data={'The Illuminati Correspondence ': {'index': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, …"
]
},
"metadata": {},
@@ -1224,13 +1230,14 @@
"from keplergl import KeplerGl #importing KeplerGl\n",
"gdf = gpd.GeoDataFrame(resultsFactGrid, geometry=gpd.points_from_xy(resultsFactGrid.origin_latitude, resultsFactGrid.origin_latitude))\n",
"\n",
- "map = KeplerGl(height=600, width=800)\n",
- "map #show the map"
+ "Illuminati1 = KeplerGl(height=600, width=800)\n",
+ "Illuminati1.add_data(data=gdf, name=\"The Illuminati Correspondence \") \n",
+ "Illuminati1 #show the map not seen when file uploaded to GITHUB \n"
]
},
{
"cell_type": "code",
- "execution_count": 112,
+ "execution_count": 120,
"metadata": {},
"outputs": [
{
@@ -1242,9 +1249,17 @@
}
],
"source": [
- "map.add_data(data=gdf, name=\"The Illuminati Correspondence \") \n",
"local_file=\"Illuminati1.html\"\n",
- "map.save_to_html(file_name=local_file) "
+ "Illuminati1.save_to_html(file_name=local_file) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "Raw html file created in GITHUB see [salgo60/open-data-examples/Illuminati1.html](https://raw.githubusercontent.com/salgo60/open-data-examples/master/Illuminati1.html) \n",
+ "\n",
+ "* looks like the file needs to be downloaded to be displayed in a browser\n"
]
},
{
diff --git a/Illuminati1.html b/Illuminati1.html
index 9916776..cccf352 100644
--- a/Illuminati1.html
+++ b/Illuminati1.html
@@ -12,7 +12,7 @@
}
body {
margin: 0; padding: 0;
- }