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

Move from Dropbox to Sharepoint (Consumable scripts) #1458

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

sakshimohan
Copy link
Collaborator

@sakshimohan sakshimohan commented Sep 5, 2024

This PR update the locations of raw consumables files from dropbox to the new sharepoint folder.

In addition, the following updates are made -

  1. A column identifying the category (programmatic) which consumables belong to has been added to ResourceFile_Consumables_availability_small.csv. This information is used in certain scripts (plotting cost estimates, predicting availability for consumable scenarios) - Previously this was taken from the large consumable availability ResourceFile_Consumables_availability_and_usage.csv
  2. Superfluous .py scripts which are no longer being used are removed - descriptive_stats.py, clean_fac_locations.py
  3. Columns Units per case and Unit_Cost are dropped from ResourceFile_Consumables_Items_and_Packages.csv
    (Following Issue Remove deprecated concept of Consumables Packages  #1303)

Pending tasks

@sakshimohan
Copy link
Collaborator Author

@tbhallett Should I also drop the Intervention_Pkg_Code column from ResourceFile_Consumables_Items_and_Packages.csv?

@@ -339,7 +339,7 @@ def check_format_of_consumables_file(df, fac_ids):
months = set(range(1, 13))
item_codes = set(df.item_code.unique())

assert set(df.columns) == {'Facility_ID', 'month', 'item_code', 'available_prop'}
assert set(df.columns) == {'Facility_ID', 'month', 'item_code', 'item_category', 'available_prop'}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@tbhallett I have updated the check_format_of_consumables_file function to include a check for item_category. This refers to a cleaned categorisation of item_codes into programs or categories, such as "general" consumables. I use this columns to make regression based projections in PR #1367 as it's useful to have for costing plots.
Is this OK?

sakshimohan pushed a commit that referenced this pull request Sep 6, 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.

1 participant