https://github.com/jtemporal/folium-101
https://github.com/jtemporal/folium-101
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jtemporal/folium-101
- Owner: jtemporal
- Created: 2021-05-05T00:08:05.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-05T01:39:30.000Z (about 5 years ago)
- Last Synced: 2025-01-17T11:22:46.946Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 70.3 KB
- Stars: 9
- Watchers: 4
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using Folium
## Preparing the environment
For this project I'm using Python version `3.8.2`, and the module `venv` to create the environment:
```console
$ python3 -m venv .env
$ source .env/bin/activate
```
## Installing required packages
```console
(.env) $ cd folium-101/
(.env) $ pip install -r requirements.txt
```
## Files
- `folium-101.ipynb`: A notebook containing all the code for reproducibility and study;
- `maps_htmls/`: Directory of saved maps in the HTML format;
- `cities.csv`: Data file in the CSV format containing cities data.
### Data
The data here presented was created using a spreadsheets software and exported to CSV format.
| Column | Descriptions |
|:---------:|:------------:|
| city | City name |
| latitude | City coordinate: Latitude |
| longitude | City coordinate: Longitude |
| lived | Whether or not I lived in that city |
| visited | Whether or not I visited in that city |