paulify_classifications: Make the ANZSIC and ANZSCO classifications Paul-compliant

View source: R/chart_helpers.R

paulify_classificationsR Documentation

Make the ANZSIC and ANZSCO classifications Paul-compliant

Description

This inserts oxford commas and and sorts out the capitalisation so that ANZSCO and ANZSIC classifications are compliance with Paul's standards.

Usage

paulify_classifications(classification, remove_services = FALSE)

Arguments

classification

(character) the industry classification to be paulified

remove_services

(logical) whether to remove the word services in the classification

Value

a character

Examples


## Not run: 
    strayr::anzsic2006  %>%
       mutate(industry = paulify_classifications(anzsic_division))

## End(Not run)


grattan/grattantheme documentation built on June 28, 2023, 1:50 p.m.