This notebook converts your address list to a list with coordinates. This code was written for our app project during the Coding Davince Hackathon. Enjoy it!
Features:
Converts addresses to coordinates using the Google Geocoding API Saves coordinates to a new CSV file Visualizes coordinates on a map Requirements:
Python 3 Jupyter Notebook Google Geocoding API key Instructions:
Clone this repository Install the required dependencies: pip install -r requirements.txt Obtain a Google Geocoding API key from https://developers.google.com/maps/documentation/geocoding/overview Set your API key as an environment variable: export GOOGLE_API_KEY=YOUR_API_KEY Open the address_to_coordinates.ipynb notebook in Jupyter Notebook Run the notebook cells The coordinates will be saved to a new CSV file named coordinates.csv Open coordinates.csv to view the coordinates You can also visualize the coordinates on a map by running the last cell of the notebook