UrbanMapper
’s Examples Playground¶
New here? Start with the basics!
Before jumping into this playground, make sure you’ve walked through
the Getting Started Step-By-Step
and Getting Started W/ Pipeline guides. They’re explaining quite in depth UrbanMapper
—trust us,
it could be useful before delving into these examples, which are more straightforward and focused on specific tasks.
Welcome to the examples/
folder, where you will get hands-on experience with UrbanMapper
! This set of Jupyter
notebooks guides users through the process of loading, mapping, enhancing, and visualising urban data. These examples
are suitable for both newcomers to urban analysis and experienced urban planners seeking to improve their process.
Explore the full potential of UrbanMapper
with these real-world demos, including Brooklyn collisions, Paris trees, cab rides,
to name a few.
Where’s the data at?
All the datasets powering these examples are public and ready for you to grab. Pick your channel:
- Channel 1: Our Google Drive stash
- Option A: Snag everything in one go with this command (no fuss, no muss!):
- Option B: Cherry-pick what you need manually from the Google Drive folder.
- Channel 2: Straight from the source
- Check the links in each notebook, download from the official sites, and drop them into your
data/
folder.
- Check the links in each notebook, download from the official sites, and drop them into your
- Channel 3: HuggingFace OSCUR datasets hub
- If you prefer HuggingFace, you can find the datasets in the OSCUR datasets hub.
Use the
datasets
library to load them directly into your code (integrated withUrbanMapper
):
- If you prefer HuggingFace, you can find the datasets in the OSCUR datasets hub.
Use the
Once you’ve got the goods, you’re ready to roll! 🎉
Interactivity Table Support¶
Some Notebooks Are Fully Interactive / Partially Interactive / Non-interactive
- Fully Interactive: These notebooks are fully interactive, meaning you can view the entire process from input to output directly on the documentation site.
- Partially Interactive: These notebooks are partially interactive; while most content is visible, some components, such as maps, may not display because Material For MkDocs does not support some of Ipywidget components used in some Jupyter notebooks. However, you can find these notebooks in the
examples/
directory of the original repository and run them locally to view the full content. - Non-interactive: These are static notebooks that have not been executed, often because they require data or resources that were not available. For example, if certain data are needed but were not accessible on HuggingFace, we could not retrieve them. For these notebooks, we suggest cloning the repository, installing the library, and running them locally too.
All the notebooks mentioned can be found in the examples/
directory of the original repository.
For the partially interactive and non-interactive notebooks, running them locally will allow you to experience
their full functionality.
See below the table 👇
Category | Fully Interactive | Partially Interactive | Non-interactive | Comments |
---|---|---|---|---|
1-Per-Module | - Non-interactive: Require specific data or setup not available in the documentation environment. - Partially interactive: Some cells require local files not available on HuggingFace or others. |
|||
2-End-to-End | ||||
3-Case-Studies |
|
- EU Restaurants, Paris Remarkable Trees - Pipeline, Overture Pipeline: Require specific data not available on HuggingFace. - All Advanced Pipelines: Too resource-intensive to run in documentation or locally. - Partially interactive items require ipywidgets, which are not supported by material for mkdocs. |
||
4-External-Libraries-Usages | Non-interactive due to requiring external resources or specific data not accessible in the documentation environment. Furthermore, JGIS is not yet supported in material for MKDocs. |