Comments (11)
@ResidentMario Thank you! All I did was run:
import quilt
quilt.install("ResidentMario/geoplot_data")
and was then able to run the example.
from geoplot.
Went well so far! We'll see if this develops any hiccups.
from geoplot.
The code snippet pybokeh included in his comment should do the job. I think the new URL is https://docs.quiltdata.com/get-started/step-by-step.
from geoplot.
I think you should store the data online someplace stable (maybe figshare) and use the module to download the data to ~/geoplot_data
folder when the person requests it. IME that's the best long-term solution!
from geoplot.
I asked Reddit this question (here) and Jake VanderPlas actually recommended Quilt, a startup'd data package management tool, in the comments.
I'd heard of it before, but was wary of trusting a startup to continue existing long-term...but they've been around for a little while now, and it's got a VanderPlus thumbs-up, so I've gone ahead and integrated that in. And it works great! Lets me delegate the problem of dealing with file downloads to a dedicated package (quilt
) that I don't need to worry about.
from geoplot.
very interesting! I hadn't heard of that before. Lemme know how it goes!
from geoplot.
Hello, how do I install the geoplot_data? I installed quilt via pip install quilt
. Then when I tried to run the example notebook tutorial and do the import:
from quilt.data.ResidentMario import geoplot_data
It says the module is not found. So I'm assuming I'm missing a step or need to install it somehow?? I tried pip install geoplot_data
or pip install geoplot-data
, but those packages don't exist. Perhaps can we have the geoplot_data pip-installable too?
from geoplot.
There's a CLI command or a Python statement you can run to get the data locally, described here: https://docs.quiltdata.com/use-a-package.html
I'll make this clearer the next time I revise the docs.
from geoplot.
Hello,I get the same problem and the page above cound not be found.
How can I solve this to get the geoplot_data?
Thanks.
from geoplot.
Oh I miss the important code above,thank you very much!
I get the geoplot_data finally!
from geoplot.
For future reference for anyone visiting this GH issue, the system for getting example data in geoplot
has changed again. There is now a geoplot.datasets.get_path
method which serves a URL to a specific example dataset from the ResidentMario/geoplot-data
repository on GitHub. Now that geopandas
has the ability to read URLs, grabbing an example dataset is as easy as:
import geoplot as gplt
import geopandas as gpd
gpd.read_file(gplt.datasets.get_path("world"))
This feature was introduced in [email protected]
, and is used throughout the updated documentation.
This removes the external dependency on quilt
and the managerial overhead that comes with having yet another package manager.
from geoplot.
Related Issues (20)
- cProfiling geoplot vs Cartopy vs GeoPandas: puzzling results HOT 2
- Typo in UserWarnings
- geoplot installed but geoplot.crs is not found HOT 4
- Legends in Geoplot 0.4.4 HOT 1
- Unable to install geoplot with pipenv under Ubuntu 20.04LTS HOT 1
- Grey boxes when clipping data with kdeplot HOT 8
- geoplot.kdeplot --> overlapping isolines HOT 8
- Fix KDEPlot hue tests HOT 6
- Voronoi plot fails with Value Error: Points cannot contain Nan HOT 4
- Does geoplot only work with EPSG:4326 unless the projection argument is set?
- Tests fail with geopandas 0.11
- Feature request? Apply pointplot "hue" to edgecolor only
- ModuleNotFoundError: No module named 'matplotlib.axes._subplots' HOT 1
- AttributeError: 'MultiPolygon' object has no attribute 'exterior' / TypeError: 'MultiPolygon' object is not iterable HOT 2
- kdeplot not working when fill=True HOT 3
- New Feature request - question: Bivariate choropleth?
- Exporting a KDEPlot as KML
- Documentation Update: shade is deprecated HOT 1
- Cannot import GeoPlot due to Iterable from collections
- Sanskey does not accept `linestyle` argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoplot.