Script to edit an hospitals .xlsx file, generate the entity_id and get the geo coordinates of each hospital
Explore the docs »
Report Bug
·
Request Feature
This is a simple python script that, starting from a .xlsx file (which has a specific template), it create two columns, one for the entity_id and one for the coordinates of the hospital. The entity_id column is generated from the entity name, it cleans the field removing special characters and it replaces spaces with _. The coordinates column is generated calling and external API that retrieves the coordinates of a specific address.
- Python 3
Follow the instructions for setting up the project locally.
- Python 3
- pip
Run the script with Python
python3 main.py /your/path/ hospital.xlsx hospital_result.xlsx
or
Run the script with bash
bash converter.sh /your/path/ hospital.xlsx hospital_result.xlsx
or
Run the script with Docker
// TO DO
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Project Link: https://github.com/veronicadev/hospital-dataset-script