
Last chance! 50% off unlimited learning
Sale ends in
Returns the check digit of a lawsuit numbers in the format unified by the brazillian National Council of Justice.
calc_dig(num, build = FALSE)
Ordered digits of the lawsuit number (including 0's) excluding the check digit
Whether or not the function return the complete lawsuit number (or only the check digits)?
The check digits or the complete identification number
# NOT RUN {
{
calc_dig("001040620018260004", build = TRUE)
calc_dig("001040620018260004", build = FALSE)
# }
# NOT RUN {
calc_dig("00104062001826000", build = TRUE)
# }
# NOT RUN {
}
# }
Run the code above in your browser using DataLab