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

Update Consumable availability (New OpenLMIS data) #1444

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e452e98
update the location of the raw LMIS data file in dropbox
Jul 18, 2024
59ae151
initial cleaning of lmis data:
Jul 19, 2024
6436aa6
update script to include 2018 LMIS data
Jul 23, 2024
79dea2d
calculate probability of stock-out
Jul 23, 2024
75c1b4d
interpolation - step 1
Jul 24, 2024
70e1b09
update interpolation to be applied to long dataframe rather than wide
Jul 26, 2024
32b7b12
complete LMIS interpolation code
Jul 29, 2024
d0108d6
when mutiple rows for the same item, preserve program from the first row
Jul 29, 2024
b13293e
update stockout probability for substitutaable drugs
Jul 30, 2024
510c301
preserve facility and consumable features
Jul 30, 2024
62062a5
TO BE REMOVED: temporary code to facilitate cleaning
Jul 30, 2024
d0f6d6b
remove superfluous columns
Jul 30, 2024
f732d17
map to tlo consumables and recalculate probabilities
Jul 30, 2024
1895352
minor changes
Aug 2, 2024
f07455c
average stockout_days instead of adding
Aug 5, 2024
e6d4c4a
use lower case consumable names
Aug 5, 2024
5d92c40
use lower case consumable nameslpot heatmaps before and after cleanin…
Aug 5, 2024
0a068c3
update matched TLO model list to map to the cleaned LMIS consumable n…
Aug 5, 2024
a9eb3d7
before interpolation, preserve only those items from the LMIS data wh…
Aug 5, 2024
abeb024
add time tracker and 'year_month' columns
Aug 6, 2024
81c49a8
add regression model and time trend visualisation
Aug 6, 2024
10e8f2f
create a clean 'category' column in place of 'module_name' and update…
Aug 6, 2024
3c38d08
experimental regression analysis on R
Aug 13, 2024
fc0c89a
Keep only a subset of models + predict availability
Aug 13, 2024
1e569e8
Clean script
Aug 15, 2024
03f4a61
Clean regression analysis script
Aug 15, 2024
399e767
Add LMIS consumable names from later years matched with the TLO consu…
Aug 15, 2024
6a10207
add RF to clean consumable names in LMIS data
Aug 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Git LFS file not shown
Git LFS file not shown
Loading
Loading