afsc_type: Officer/Enlisted Air Force Specialty Codes (AFSCs)

Description Usage Arguments Value Examples

Description

Determine which AFSCs are officer and which are enlisted.

Usage

1
2
3
4
5
afsc_type(x, allow_X = FALSE)

is_enlisted(x, allow_X = FALSE)

is_officer(x, allow_X = FALSE)

Arguments

x

A character vector containing AFSCs.

allow_X

Logical indicating wether or not the "X" placeholder is allowed. Default is FALSE.

Value

afsc_type returns the AFSC type (i.e., either "officer" or "enlisted"). The functions is_enlisted and is_officer are logical tests.

Examples

1
2
3
4
afscs <- c("9T000", "92T0", "A9T0X0K")
afsc_type(afscs)
is_enlisted(afscs, allow_X = TRUE)
is_officer(afscs)

bgreenwell/afsc documentation built on May 12, 2019, 8:19 p.m.