Skip to content

Commit 21a7988

Browse files
committed
refactor 4-geospatial-data-mapping.ipynb notebook
1 parent 8aac367 commit 21a7988

28 files changed

+34597
-1545
lines changed

1-reading-writing-files.ipynb

Lines changed: 49 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@
374374
"name": "stdout",
375375
"output_type": "stream",
376376
"text": [
377-
"This dataset has 16,307 rows and 16 columns.\n"
377+
"This dataset has 16,308 rows and 16 columns.\n"
378378
]
379379
}
380380
],
@@ -599,7 +599,7 @@
599599
"name": "stdout",
600600
"output_type": "stream",
601601
"text": [
602-
"This dataset has 16,307 rows and 16 columns.\n"
602+
"This dataset has 16,308 rows and 16 columns.\n"
603603
]
604604
}
605605
],
@@ -811,7 +811,7 @@
811811
"name": "stdout",
812812
"output_type": "stream",
813813
"text": [
814-
"This dataset has 16,307 rows and 16 columns.\n"
814+
"This dataset has 16,308 rows and 16 columns.\n"
815815
]
816816
}
817817
],
@@ -1037,7 +1037,7 @@
10371037
"name": "stdout",
10381038
"output_type": "stream",
10391039
"text": [
1040-
"This dataset has 16,307 rows and 17 columns.\n"
1040+
"This dataset has 16,308 rows and 17 columns.\n"
10411041
]
10421042
}
10431043
],
@@ -1262,7 +1262,7 @@
12621262
"name": "stdout",
12631263
"output_type": "stream",
12641264
"text": [
1265-
"This dataset has 16,307 rows and 17 columns.\n"
1265+
"This dataset has 16,308 rows and 17 columns.\n"
12661266
]
12671267
}
12681268
],
@@ -1315,7 +1315,7 @@
13151315
"data": {
13161316
"text/plain": [
13171317
"('/Users/geribauer/Downloads/PLUTO.gz',\n",
1318-
" <http.client.HTTPMessage at 0x16923c6d0>)"
1318+
" <http.client.HTTPMessage at 0x17606a280>)"
13191319
]
13201320
},
13211321
"execution_count": 13,
@@ -1848,7 +1848,7 @@
18481848
"name": "stdout",
18491849
"output_type": "stream",
18501850
"text": [
1851-
"This dataset has 16,307 rows and 16 columns.\n"
1851+
"This dataset has 16,308 rows and 16 columns.\n"
18521852
]
18531853
}
18541854
],
@@ -3281,7 +3281,7 @@
32813281
"output_type": "stream",
32823282
"text": [
32833283
"client.__dict__:\n",
3284-
"{'domain': 'data.cityofnewyork.us', 'session': <requests.sessions.Session object at 0x1656cbb50>, 'uri_prefix': 'https://', 'timeout': 10}\n"
3284+
"{'domain': 'data.cityofnewyork.us', 'session': <requests.sessions.Session object at 0x17414f100>, 'uri_prefix': 'https://', 'timeout': 10}\n"
32853285
]
32863286
}
32873287
],
@@ -3735,13 +3735,18 @@
37353735
"name": "stdout",
37363736
"output_type": "stream",
37373737
"text": [
3738-
"README.md sample-data.geojson\r\n",
3739-
"building-footprints-pluto.csv sample-data.gpkg\r\n",
3740-
"output.csv sample-data.json\r\n",
3741-
"output.json sample-data.xlsx\r\n",
3742-
"output.xlsx \u001b[34mshapefile\u001b[m\u001b[m/\r\n",
3743-
"sample-buildings.zip \u001b[34munzipped-data\u001b[m\u001b[m/\r\n",
3744-
"sample-data.csv\r\n"
3738+
"README.md nta_shape.shp\r\n",
3739+
"building-footprints-pluto.csv nta_shape.shx\r\n",
3740+
"nta-shape.cpg output.csv\r\n",
3741+
"nta-shape.dbf sample-buildings.zip\r\n",
3742+
"nta-shape.geojson sample-data.csv\r\n",
3743+
"nta-shape.prj sample-data.geojson\r\n",
3744+
"nta-shape.shp sample-data.gpkg\r\n",
3745+
"nta-shape.shx sample-data.json\r\n",
3746+
"nta_shape.cpg sample-data.xlsx\r\n",
3747+
"nta_shape.dbf \u001b[34mshapefile\u001b[m\u001b[m/\r\n",
3748+
"nta_shape.geojson \u001b[34munzipped-data\u001b[m\u001b[m/\r\n",
3749+
"nta_shape.prj\r\n"
37453750
]
37463751
}
37473752
],
@@ -3769,13 +3774,18 @@
37693774
"name": "stdout",
37703775
"output_type": "stream",
37713776
"text": [
3772-
"README.md sample-data.geojson\r\n",
3773-
"building-footprints-pluto.csv sample-data.gpkg\r\n",
3774-
"output.csv sample-data.json\r\n",
3775-
"output.json sample-data.xlsx\r\n",
3776-
"output.xlsx \u001b[34mshapefile\u001b[m\u001b[m/\r\n",
3777-
"sample-buildings.zip \u001b[34munzipped-data\u001b[m\u001b[m/\r\n",
3778-
"sample-data.csv\r\n"
3777+
"README.md nta_shape.shp\r\n",
3778+
"building-footprints-pluto.csv nta_shape.shx\r\n",
3779+
"nta-shape.cpg output.csv\r\n",
3780+
"nta-shape.dbf output.xlsx\r\n",
3781+
"nta-shape.geojson sample-buildings.zip\r\n",
3782+
"nta-shape.prj sample-data.csv\r\n",
3783+
"nta-shape.shp sample-data.geojson\r\n",
3784+
"nta-shape.shx sample-data.gpkg\r\n",
3785+
"nta_shape.cpg sample-data.json\r\n",
3786+
"nta_shape.dbf sample-data.xlsx\r\n",
3787+
"nta_shape.geojson \u001b[34mshapefile\u001b[m\u001b[m/\r\n",
3788+
"nta_shape.prj \u001b[34munzipped-data\u001b[m\u001b[m/\r\n"
37793789
]
37803790
}
37813791
],
@@ -3803,13 +3813,19 @@
38033813
"name": "stdout",
38043814
"output_type": "stream",
38053815
"text": [
3806-
"README.md sample-data.geojson\r\n",
3807-
"building-footprints-pluto.csv sample-data.gpkg\r\n",
3808-
"output.csv sample-data.json\r\n",
3809-
"output.json sample-data.xlsx\r\n",
3810-
"output.xlsx \u001b[34mshapefile\u001b[m\u001b[m/\r\n",
3811-
"sample-buildings.zip \u001b[34munzipped-data\u001b[m\u001b[m/\r\n",
3812-
"sample-data.csv\r\n"
3816+
"README.md nta_shape.shx\r\n",
3817+
"building-footprints-pluto.csv output.csv\r\n",
3818+
"nta-shape.cpg output.json\r\n",
3819+
"nta-shape.dbf output.xlsx\r\n",
3820+
"nta-shape.geojson sample-buildings.zip\r\n",
3821+
"nta-shape.prj sample-data.csv\r\n",
3822+
"nta-shape.shp sample-data.geojson\r\n",
3823+
"nta-shape.shx sample-data.gpkg\r\n",
3824+
"nta_shape.cpg sample-data.json\r\n",
3825+
"nta_shape.dbf sample-data.xlsx\r\n",
3826+
"nta_shape.geojson \u001b[34mshapefile\u001b[m\u001b[m/\r\n",
3827+
"nta_shape.prj \u001b[34munzipped-data\u001b[m\u001b[m/\r\n",
3828+
"nta_shape.shp\r\n"
38133829
]
38143830
}
38153831
],
@@ -4037,9 +4053,10 @@
40374053
"name": "stdout",
40384054
"output_type": "stream",
40394055
"text": [
4040-
"output.cpg output.shp sample-data.dbf sample-data.shx\r\n",
4041-
"output.dbf output.shx sample-data.prj\r\n",
4042-
"output.prj sample-data.cpg sample-data.shp\r\n"
4056+
"nta-shape.cpg nta-shape.shx output.shp sample-data.prj\r\n",
4057+
"nta-shape.dbf output.cpg output.shx sample-data.shp\r\n",
4058+
"nta-shape.prj output.dbf sample-data.cpg sample-data.shx\r\n",
4059+
"nta-shape.shp output.prj sample-data.dbf\r\n"
40434060
]
40444061
}
40454062
],

0 commit comments

Comments
 (0)