-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: master
Are you sure you want to change the base?
Conversation
- note that the location of the files in sharepoint has also been changed
- the units per case are now hard coded in the script - the unit cost is in ResourceFile_costing.xlsx
@tbhallett Should I also drop the |
@@ -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'} |
There was a problem hiding this comment.
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?
- this is due to changes in PR #1458
This PR update the locations of raw consumables files from dropbox to the new sharepoint folder.
In addition, the following updates are made -
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 availabilityResourceFile_Consumables_availability_and_usage.csv
descriptive_stats.py
,clean_fac_locations.py
Units per case
andUnit_Cost
are dropped fromResourceFile_Consumables_Items_and_Packages.csv
(Following Issue Remove deprecated concept of Consumables Packages #1303)
Pending tasks
ResourceFile_Consumables_Items_and_Packages.csv
so that the definitions are all in one placeIntervention_Pkg_Code
also needs to be dropped fromResourceFile_Consumables_Item_Designations.csv