/hospital-dataset-script

🏥 Script to edit an hospitals .xlsx file, generate the entity_id and get the geo coordinates of each hospital

Primary LanguagePython

Hospital dataset script

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

Table of Contents

About the Project

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.

Built With

  • Python 3

Getting Started

Follow the instructions for setting up the project locally.

Prerequisites

  • Python 3
  • pip

Usage

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

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Project Link: https://github.com/veronicadev/hospital-dataset-script