@@ -36,25 +36,28 @@ In [1]: import geodatasets
3636In [2 ]: geodatasets.data
3737Out[2 ]:
3838{' geoda' : {' airbnb' : {' url' : ' https://geodacenter.github.io/data-and-lab//data/airbnb.zip' ,
39- ' license' : ' CC-0 ' ,
40- ' attribution' : ' GeoDa Data and Lab ' ,
39+ ' license' : ' NA ' ,
40+ ' attribution' : ' Center for Spatial Data Science, University of Chicago ' ,
4141 ' name' : ' geoda.airbnb' ,
4242 ' description' : ' Airbnb rentals, socioeconomics, and crime in Chicago' ,
43+ ' geometry_type' : ' Polygon' ,
4344 ' nrows' : 77 ,
44- ' ncols' : 20 ,
45+ ' ncols' : 21 ,
4546 ' details' : ' https://geodacenter.github.io/data-and-lab//airbnb/' ,
4647 ' hash' : ' a2ab1e3f938226d287dd76cde18c00e2d3a260640dd826da7131827d9e76c824' ,
4748 ' filename' : ' airbnb.zip' },
4849 ' atlanta' : {' url' : ' https://geodacenter.github.io/data-and-lab//data/atlanta_hom.zip' ,
49- ' license' : ' CC-0 ' ,
50- ' attribution' : ' GeoDa Data and Lab ' ,
50+ ' license' : ' NA ' ,
51+ ' attribution' : ' Center for Spatial Data Science, University of Chicago ' ,
5152 ' name' : ' geoda.atlanta' ,
5253 ' description' : ' Atlanta, GA region homicide counts and rates' ,
54+ ' geometry_type' : ' Polygon' ,
5355 ' nrows' : 90 ,
54- ' ncols' : 23 ,
56+ ' ncols' : 24 ,
5557 ' details' : ' https://geodacenter.github.io/data-and-lab//atlanta_old/' ,
56- ' hash' : ' missing' ,
57- ' filename' : ' atlanta_hom.zip' },
58+ ' hash' : ' a33a76e12168fe84361e60c88a9df4856730487305846c559715c89b1a2b5e09' ,
59+ ' filename' : ' atlanta_hom.zip' ,
60+ ' members' : [' atlanta_hom/atl_hom.geojson' ]},
5861 ...
5962```
6063
@@ -69,8 +72,8 @@ And one to get the local path. If the file is not available in the cache, it wil
6972downloaded first.
7073
7174```py
72- Out[4 ]: ' /Users/martin/Library/Caches/geodatasets/airbnb.zip'
7375In [4 ]: geodatasets.get_path(' geoda airbnb' )
76+ Out[4 ]: ' /Users/martin/Library/Caches/geodatasets/airbnb.zip'
7477```
7578
7679You can also get all the details:
@@ -79,12 +82,13 @@ You can also get all the details:
7982In [5 ]: geodatasets.data.geoda.airbnb
8083Out[5 ]:
8184{' url' : ' https://geodacenter.github.io/data-and-lab//data/airbnb.zip' ,
82- ' license' : ' CC-0 ' ,
83- ' attribution' : ' GeoDa Data and Lab ' ,
85+ ' license' : ' NA ' ,
86+ ' attribution' : ' Center for Spatial Data Science, University of Chicago ' ,
8487 ' name' : ' geoda.airbnb' ,
8588 ' description' : ' Airbnb rentals, socioeconomics, and crime in Chicago' ,
89+ ' geometry_type' : ' Polygon' ,
8690 ' nrows' : 77 ,
87- ' ncols' : 20 ,
91+ ' ncols' : 21 ,
8892 ' details' : ' https://geodacenter.github.io/data-and-lab//airbnb/' ,
8993 ' hash' : ' a2ab1e3f938226d287dd76cde18c00e2d3a260640dd826da7131827d9e76c824' ,
9094 ' filename' : ' airbnb.zip' }
@@ -96,12 +100,13 @@ Or using the name query:
96100In [6 ]: geodatasets.data.query_name(' geoda airbnb' )
97101Out[6 ]:
98102{' url' : ' https://geodacenter.github.io/data-and-lab//data/airbnb.zip' ,
99- ' license' : ' CC-0 ' ,
100- ' attribution' : ' GeoDa Data and Lab ' ,
103+ ' license' : ' NA ' ,
104+ ' attribution' : ' Center for Spatial Data Science, University of Chicago ' ,
101105 ' name' : ' geoda.airbnb' ,
102106 ' description' : ' Airbnb rentals, socioeconomics, and crime in Chicago' ,
107+ ' geometry_type' : ' Polygon' ,
103108 ' nrows' : 77 ,
104- ' ncols' : 20 ,
109+ ' ncols' : 21 ,
105110 ' details' : ' https://geodacenter.github.io/data-and-lab//airbnb/' ,
106111 ' hash' : ' a2ab1e3f938226d287dd76cde18c00e2d3a260640dd826da7131827d9e76c824' ,
107112 ' filename' : ' airbnb.zip' }
0 commit comments