clean_sic: Clean SIC codes

Description Usage Arguments Value

Description

Converts 3 or 4 digit SIC codes from format 123 or 1234 into 12.3 and 12.34 respectively. Codes with length of 2 or greater than 4 are ignored, and returned as is.

Usage

1

Arguments

x

A character vector of SIC codes.

Value

A cleaned character vector of SIC codes.


DCMSstats/eesectors documentation built on May 3, 2019, 2:43 p.m.