View source: R/calculate_overall_ranking.R
calculate_overall_ranking | R Documentation |
Calculate the overall ranking for all units in a Squadron of Merit Listing.
calculate_overall_ranking( som_report_path, growth_focus_area = "balanced", achv_award_weights = c(1, 2, 2, 3, 3) )
som_report_path |
A path to the Squadron of Merit Listing report in CSV format. |
growth_focus_area |
The focus area for growth scoring, which defaults to "balanced". |
achv_award_weights |
Weights for the major cadet awards, from Wright Brothers to Spaatz. |
Each of the component scores are calculated and the scores are ranked from 1 to N, using standard competition ranking (SCR). The individual ranks are summed and then the overall ranking is determined.
You can pass a different growth focus area through using growth_focus_area
. Similarly, you can
pass a different set of award weights to the achievement score using achv_award_weights
.
A data.table containing unit charter number, the component scores and rankings, and the overall ranking.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.