These functions change a code into another code, and make it easy to justify that decision.
recode_source( input, codes, output = NULL, justification = NULL, justificationFile = rock::opts$get("justificationFile"), preventOverwriting = rock::opts$get("preventOverwriting"), encoding = rock::opts$get("encoding"), silent = rock::opts$get("silent") )
A file with a source (for
A named list of character vectors, where each character vector lists the codes to replace, and the name of that character vector is the code to replace them with.
Whether to be chatty or quiet.
Invisibly, the recoded source(s) or source(s) object.