expand_ems_codes: Expand EMS Codes

View source: R/codes.R

expand_ems_codesR Documentation

Expand EMS Codes

Description

Expands EMS codes by adding EMS_ to start if absent and replacing all '-' with '_'. This function is provided because wqbc stored EMS codes in expanded form.

Usage

expand_ems_codes(x)

Arguments

x

A character vector of codes to expand

See Also

compress_ems_codes

Examples

expand_ems_codes(c("0014", "KR-P", "0_15", "EMS_ZN_T"))

bcgov/wqbc documentation built on Feb. 11, 2023, 11:15 p.m.