Learn R Programming

abjutils (version 0.3.2)

check_dig_vet: Validate check digits for Brazilian lawsuits identification number on vectors.

Description

Verifies if a check digit is correct

Usage

check_dig_vet(num)

Arguments

num

A vector containing strings with the complete lawsuit number

Value

Whether or not the check digit is well calculated

Examples

Run this code
# NOT RUN {
{
  check_dig_vet(c("0005268-75.2013.8.26.0100", "0004122-85.2010.6.16.0100"))
}
# }

Run the code above in your browser using DataLab