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)

Arguments

classification

(character) the industry classification to be paulified

Value

a character

Examples


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