Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The old script cannot run now due to outdated/changed pandas functions, such as append and groupby, and the read_excel function that cannot read the auxiliary data of facility level establishment. Besides, the dropbox path needs to be replaced by the OneDrive path.
Code are now updated and can run now.
To fix the issue of that auxiliary file cannot be read, I have added a csv file copying the relevant data from the original file to OneDrive.
Checked that the newly resource files are only different with master ones in the data format, not the data numerics.
I have created this pull request so that Marianca can run the script herself. Not necessarily needed to be merged to master for now.
As Mariana will examine the CHAM and MOH data separately, and in the future, we would need to format the coding in more general way to be applied to wider context (e.g. other countries in the region), I expect we would need to update this script more thoroughly.