calculate_overall_ranking: Calculate the Overall SOM Ranking

View source: R/calculate_overall_ranking.R

calculate_overall_rankingR Documentation

Calculate the Overall SOM Ranking

Description

Calculate the overall ranking for all units in a Squadron of Merit Listing.

Usage

calculate_overall_ranking(
  som_report_path,
  growth_focus_area = "balanced",
  achv_award_weights = c(1, 2, 2, 3, 3)
)

Arguments

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.

Details

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.

Value

A data.table containing unit charter number, the component scores and rankings, and the overall ranking.


cap-nhq-analytics/sqdn-of-merit-calculator documentation built on April 14, 2022, 12:40 a.m.