Learn R Programming

abjutils (version 0.2.3)

check_dig: Validate check digits for Brazilian lawsuits identification number

Description

Verifies if a check digit is correct

Usage

check_dig(num)

Arguments

num

String containing the complete lawsuit number

Value

Whether or not the check digit is well calculated

Examples

Run this code
# NOT RUN {
{
check_dig("0005268-75.2013.8.26.0100")

# }
# NOT RUN {
check_dig("0005268-75.2013.8.26.100", build = TRUE)
# }
# NOT RUN {
}

# }

Run the code above in your browser using DataLab