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

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


if (FALSE) {
    strayr::anzsic2006  %>%
       mutate(industry = paulify_classifications(anzsic_division))
}