due to selection
cols <- cols[!grepl('^IM',cols)]
all individual measure are indicators are correctly removed.
a few lines later dt.melt.ncat the number of indicators are calculated to be used for weighing the score later on.
this has the consequence that management is rated by only a single indicator, underestimating the impact on final score.
needs to be updated, probably by linking it directly to dt rather than to dt.melt (that is made after filtering).
up to now this is a choice
so, the number of management measures do not increase the contribution of management to the total score (unlike the other aggregated soil functions). This requires a decision later on.
due to selection cols <- cols[!grepl('^IM',cols)] all individual measure are indicators are correctly removed.
a few lines later dt.melt.ncat the number of indicators are calculated to be used for weighing the score later on. this has the consequence that management is rated by only a single indicator, underestimating the impact on final score. needs to be updated, probably by linking it directly to dt rather than to dt.melt (that is made after filtering).