shred_afsc: Shredout

Description Usage Arguments Details

Description

Shred different levels.

Usage

1
shred_afsc(x, level = 1L, allow_X = FALSE)

Arguments

x

A character vector containing AFSCs.

level

Integer specifying the depth the AFSCs should be shred to. Default is 1L meaning return the first character (which should be career group for valid AFSCs without any prefix).

allow_X

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

Details

For example, level = 1L extracts the career group.


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