Learn R Programming

abjutils (version 0.2.3)

carf_check_dig: Validate check digits for Brazilian lawsuits identification number

Description

Verifies if a check digit is correct

Usage

carf_check_dig(id)

Arguments

id

String containing the complete lawsuit number

Value

Whether or not the check digit is well calculated

Examples

Run this code
# NOT RUN {
{
carf_check_dig("10120.008427/2003-02")
carf_check_dig(c("10120008427200302", "10766.000511/96-12"))
}
# }

Run the code above in your browser using DataLab