Skip to content

Releases: micronutrientsupport/effectivenessCalculations

v1.2.0

15 Jun 11:48
Compare
Choose a tag to compare

This release introduces checks in calculate_pre_and_post_lsff_summaries_afe and calculate_pre_and_post_lsff_summaries_cd checks if "mg" is contained in the unitAdequcy in the threshold file then divide the year average fortification by 1000. If the unit contains "mcg" it uses the year average fortification levels as is.

This update also checks if the micronutrient is B9(folate) and in that case it multiplies the year average fortification levels by 1.7
Full Changelog: v1.1.2...v1.2.0

v1.1.2

14 Jun 08:50
Compare
Choose a tag to compare

Limited the summary stats of amountConsumedContainingFortificant

  • This is implemeneted in both calculate_pre_and_post_lsff_summaries_cnd and calculate_pre_and_post_lsff_summaries_afe functions.
  • The mean and median apparent consumption of the food vehicle (e.g., wheat flour) per AFE per day, will be limited to the mean and median apparent consumption among consumers (that is, excluding households with 0 apparent consumption – those that are not reached).
    Full Changelog: v1.1.1...v1.1.2

v1.1.1

12 Jun 21:46
Compare
Choose a tag to compare
  • Updates the calculate_pre_and_post_lsff_summaries_afe and calculate_pre_and_post_lsff_summaries_cnd to fix calculation problems
  • Creates new effectivenessCoverage columns in the outputs of both top level functions
  • minor bug fixes

Full Changelog: v1.0.4...v1.1.1

v1.0.4

12 Jun 19:33
Compare
Choose a tag to compare

implemented conversion of columns in fortificationLevelsDf in lsff summary functions

v1.0.3

12 Jun 10:22
Compare
Choose a tag to compare

Fixes incorrect assignment of fortificationLevelsDf in the calculate_pre_and_post_lsff_summaries_afe function.

v1.0.2

12 Jun 10:00
Compare
Choose a tag to compare
bug fix: updefined export

v1.0.0

07 Jun 12:23
277421d
Compare
Choose a tag to compare

Updated the way inadequacy summaries are handled by introducing an alternative universal function that calculates all inadequacy, fortification vehicle reach, and nutrient supply pre and post LSFF summary stats.

What's Changed

Full Changelog: v0.2.0...v1.0.0

v0.2.0-alpha

20 May 16:22
Compare
Choose a tag to compare
v0.2.0-alpha Pre-release
Pre-release

What's Changed

  • 1 refactor the calculatebaselineinadequacy function so that required data are passed to it as parameters by @dzvoti in #2

New Contributors

  • @dzvoti made their first contribution in #2

Full Changelog: https://github.com/dzvoti/effectivenessCalculations/commits/v0.2.0