/mapping_earthquakes

These set of notebooks will show you how to map earthquakes from a database using standard Python and Folium libraries.

Primary LanguageJupyter NotebookMIT LicenseMIT

Binder GitHub license GitHub issues GitHub forks GitHub stars Twitter

Title

Retrieving, Analyzing and Visualizing georeferenced data of earthquakes near Fiji since 1964

Introduction

These set of notebooks will show you how to map earthquakes from a database using standard Python and Folium libraries. The database was filled out from a CSV file obtained from the Rdatasets.

Rdatasets is a collection of over 1300 datasets that were originally distributed alongside the statistical software environment R and some of its add-on packages.

Prerequisites

See requirements.txt and runtime.txt for details about the required packages to deploy the notebooks.

Deployment

This repository contains three notebooks:

  1. reading_dataset.ipynb: contains the code to read through the Rdatasers and look for dataset links containing the terms latitude and longitude.

  2. db_earthquakes.ipynb creates a database from the selected dataset and computes some spatial statistics.

  3. map_earthquakes.ipynb takes the database data and creates a web map using the Folium package.

To reproduce the results run the above notebooks in the same order on Binder.

Additionally, there is a file named map.html showing the final result.

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thanks to Coursera's financial aid I could complete the Python Specialization Python for Everybody that allowed me to obtain the essentials insights to write the above-mentioned notebooks.