Closed daviddiviny closed 3 years ago
This is great, David. Well done! Happy with this as it is.
Adding to this later, it could be worth allowing the user to specify a level -- eg clean_anzsco(x, level = "Major")
-- to minimise risk of accidental matching when fuzzy_match = TRUE
.
This should be working now and has some tests.
In addition to the exported functions of
clean_anzsco
andclean_anzsic
there are two helper functionsclean_titles
andmake_dictionary
that should make it relatively easy to create new cleaning functions.