check_dig: Validate check digits for Brazilian lawsuits identification...

Description Usage Arguments Value Examples

View source: R/cnj.R

Description

Verifies if a check digit is correct

Usage

1
check_dig(num)

Arguments

num

String containing the complete lawsuit number

Value

Whether or not the check digit is well calculated

Examples

1
2
3
4
5
6
7
8
{
check_dig("0005268-75.2013.8.26.0100")

## Not run: 
check_dig("0005268-75.2013.8.26.100", build = TRUE)

## End(Not run)
}

abjur/abjutils documentation built on April 27, 2018, 4:14 p.m.