Skip to content

Commit 356c21d

Browse files
committed
added titles and solution intros to notebooks.
1 parent abe9564 commit 356c21d

File tree

9 files changed

+564
-80
lines changed

9 files changed

+564
-80
lines changed

labs/LA_Hub_Datasets.zip

7.42 MB
Binary file not shown.
5.96 MB
Binary file not shown.

labs/LA_Hub_datasets/Trailheads.csv

Lines changed: 478 additions & 0 deletions
Large diffs are not rendered by default.

labs/LA_Hub_datasets/Trails.geojson

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
583 Bytes
Binary file not shown.
400 Bytes
Binary file not shown.

labs/create_data.ipynb

Lines changed: 14 additions & 56 deletions
Large diffs are not rendered by default.

labs/download_data.ipynb

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Download Data ArcGIS DevLab"
8+
]
9+
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"This is the completed solution for the [Download data](https://developers.arcgis.com/labs/data/python/download-data/) ArcGIS DevLab. [ArcGIS DevLabs](https://developers.arcgis.com/labs/) are short introductory tutorials to guide you through the three phases of building geospatial apps: Data, Design, Develop"
15+
]
16+
},
317
{
418
"cell_type": "code",
519
"execution_count": null,
@@ -38,9 +52,7 @@
3852
{
3953
"cell_type": "code",
4054
"execution_count": null,
41-
"metadata": {
42-
"collapsed": true
43-
},
55+
"metadata": {},
4456
"outputs": [],
4557
"source": [
4658
"data_item = anon_gis.content.get(public_data_item_id)\n",
@@ -50,9 +62,7 @@
5062
{
5163
"cell_type": "code",
5264
"execution_count": null,
53-
"metadata": {
54-
"collapsed": true
55-
},
65+
"metadata": {},
5666
"outputs": [],
5767
"source": [
5868
"data_item.download(save_path = r'./')"
@@ -73,9 +83,7 @@
7383
{
7484
"cell_type": "code",
7585
"execution_count": null,
76-
"metadata": {
77-
"collapsed": true
78-
},
86+
"metadata": {},
7987
"outputs": [],
8088
"source": [
8189
"file_list = os.listdir(r'./LA_Hub_datasets/')\n",

labs/import_data.ipynb

Lines changed: 54 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Import Data ArcGIS DevLab\n",
8+
"This is the completed solution for the [Import data](https://developers.arcgis.com/labs/data/python/import-data/) ArcGIS DevLab. [ArcGIS DevLabs](https://developers.arcgis.com/labs/) are short introductory tutorials to guide you through the three phases of building geospatial apps: Data, Design, Develop"
9+
]
10+
},
311
{
412
"cell_type": "markdown",
513
"metadata": {},
@@ -21,24 +29,28 @@
2129
},
2230
{
2331
"cell_type": "code",
24-
"execution_count": null,
25-
"metadata": {
26-
"collapsed": true
27-
},
28-
"outputs": [],
32+
"execution_count": 7,
33+
"metadata": {},
34+
"outputs": [
35+
{
36+
"name": "stdout",
37+
"output_type": "stream",
38+
"text": [
39+
"Enter password, please: ········\n"
40+
]
41+
}
42+
],
2943
"source": [
3044
"import getpass\n",
3145
"\n",
3246
"password = getpass.getpass(\"Enter password, please: \")\n",
33-
"dev_gis = GIS('https://arcgis.com', 'username', password)"
47+
"dev_gis = GIS('https://arcgis.com', 'johnnyDev', password)"
3448
]
3549
},
3650
{
3751
"cell_type": "code",
38-
"execution_count": null,
39-
"metadata": {
40-
"collapsed": true
41-
},
52+
"execution_count": 8,
53+
"metadata": {},
4254
"outputs": [],
4355
"source": [
4456
"parks_properties = {'title': 'Parks and Open Space',\n",
@@ -50,11 +62,38 @@
5062
},
5163
{
5264
"cell_type": "code",
53-
"execution_count": null,
54-
"metadata": {
55-
"collapsed": true
56-
},
57-
"outputs": [],
65+
"execution_count": 9,
66+
"metadata": {},
67+
"outputs": [
68+
{
69+
"data": {
70+
"text/html": [
71+
"<div class=\"item_container\" style=\"height: auto; overflow: hidden; border: 1px solid #cfcfcf; border-radius: 2px; background: #f6fafa; line-height: 1.21429em; padding: 10px;\">\n",
72+
" <div class=\"item_left\" style=\"width: 210px; float: left;\">\n",
73+
" <a href='https://arcgis.com/home/item.html?id=21533c7b67e748b4bfb34a2bc5b0faa1' target='_blank'>\n",
74+
" <img src='http://static.arcgis.com/images/desktopapp.png' class=\"itemThumbnail\">\n",
75+
" </a>\n",
76+
" </div>\n",
77+
"\n",
78+
" <div class=\"item_right\" style=\"float: none; width: auto; overflow: hidden;\">\n",
79+
" <a href='https://arcgis.com/home/item.html?id=21533c7b67e748b4bfb34a2bc5b0faa1' target='_blank'><b>Parks and Open Space</b>\n",
80+
" </a>\n",
81+
" <br/><img src='https://arcgis.com/home/js/jsapi/esri/css/images/item_type_icons/datafiles16.png' style=\"vertical-align:middle;\">Shapefile by johnnyDev\n",
82+
" <br/>Last Modified: September 28, 2017\n",
83+
" <br/>0 comments, 0 views\n",
84+
" </div>\n",
85+
" </div>\n",
86+
" "
87+
],
88+
"text/plain": [
89+
"<Item title:\"Parks and Open Space\" type:Shapefile owner:johnnyDev>"
90+
]
91+
},
92+
"execution_count": 9,
93+
"metadata": {},
94+
"output_type": "execute_result"
95+
}
96+
],
5897
"source": [
5998
"parks_shp"
6099
]

0 commit comments

Comments
 (0)