Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WC2-566 Add v1 of health pyramid setup script from a CSV #1676

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bramj
Copy link
Contributor

@bramj bramj commented Oct 3, 2024

This little script was created for WFP and used to set up the South Sudan and Nigeria health pyramids.
Adding to the repo mainly for traceability, can be easily adapted for other countries.

Related JIRA tickets : https://bluesquare.atlassian.net/browse/WC2-566

How to test

Nothing really to test

This little script was created for WFP and used to set up the South
Sudan and Nigeria health pyramids.
Adding to the repo mainly for traceability, can be easily adapted for
other countries.
Copy link
Collaborator

@beygorghor beygorghor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, a few remarks:

  1. Interactive Input for Configuration
    Prompt the user for SERVER_BASE_URL and AUTH_TOKEN at runtime.
  2. Error Handling and User Feedback
    Add error handling to provide clear feedback to the user.
  3. Logging
    Implement basic logging to track the script's progress.
  4. Data Validation
    Validate the CSV data before processing.

@bramj bramj self-assigned this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants