This application is using the HDX and the Healthsites Global Mappging Project APIs to automate the process of country data extraction from healthsites and sharing to HDX platform.
See:
for more information.
git clone https://github.com/healthsites/hdx-scraper.git
The script requires ogr2ogr
binary which is a part of the GDAL package
Open a terminal and run the installation script. This will install a virtualenv and install all the requirements.
cd hdx-scraper
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Adjust HDX environment in the .env
file
Get into HDX website and save your API in your home directory. The full process for getting the key is well documented in the HDX API repository : Usage -> Getting started -> Obtaining your API Key.
Obtain you API key from Healthsites.io and add it to the .env
file
Open a terminal and execute the following command (it takes ages, so wrap it into screen
or similar)
python main.py
The generated datasets are available in hdx from this link : https://data.humdata.org/organization/healthsites