clean_nfd: Return highest level of detail from "NFD" codes

View source: R/clean_nfd.R

clean_nfdR Documentation

Return highest level of detail from "NFD" codes

Description

Removes ", nfd" or trailing zeroes from the end of ANZCO/ANZSIC labels or codes.

Usage

clean_nfd(vector)

Arguments

vector

A character vector or column containing ANZCO/ANZSIC names or codes.

Value

Returns the same character vector without "NFD" or trailing zeroes. Strings without "NFC" or trailing zeroes are unchanged.

See Also

Other cleaning functions: clean_anzsco(), clean_anzsic(), clean_asced_foe(), clean_asced_qual()

Examples


clean_nfd("Furniture Manufacturing, nfd")

clean_nfd(c("Managers, nfd", "2510"))


runapp-aus/abscorr documentation built on Oct. 15, 2024, 2:18 p.m.