lshtm-gis / WHO_PHSM_Cleaning

Cleaning PHSM provider data for WHO
https://lshtm-gis.github.io/WHO_PHSM_Cleaning/html/
MIT License
0 stars 1 forks source link

WHO_PHSM_Cleaning

GitHub Actions (Tests)

Cleaning PHSM provider data for WHO

Cleaning routines for Non-pharmaceutical intervention data from 7 providers:

Guide for contributors

This project is developed in the Docker Python 3.8 container.

To develop this project locally - alter the project directory in the .env file.

Build the Docker image with:

make build

Enter a container and use bash with:

make bash

Testing

This project uses tox for automated unit testing.

Run unit tests with:

make test

Once in the container, run unit tests with:

tox

Cleaning

Run the full cleaning routine with:

make data

Please note: Some files may be required in a data directory which is not tracked in this repository.

To run individual components of the cleaning routine, see the targets available in the Makefile.

Linting

Once in the container, run isort, black, and flake8 with:

make lint