calculate_achv_score: Calculate the Achievement Score

View source: R/calculate_achv_score.R

calculate_achv_scoreR Documentation

Calculate the Achievement Score

Description

Calculate the achievement score for all units in a Squadron of Merit Listing.

Usage

calculate_achv_score(som_report, award_weights = c(1, 2, 2, 3, 3))

Arguments

som_report

A data.table containing the Squadron of Merit Listing data.

award_weights

Weights for the five major awards, from Wright Brothers to Spaatz.

Details

By default, the achievement score awards 1 point for every Wright Brothers Award, 2 points for every Mitchell and Earhart Award, and 3 points for every Eaker and Spaatz Award.

You can pass an alternative vector of weights in to award_weights if you want to change these weightings.

The final result is then standardized using the distribution of the scores to have a mean of 1 and standard deviation of 1.

Value

A data.table containing the unit charter number and the achievement score.


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