gera_digito: Complete Brazilian documents.

Description Usage Arguments Value Examples

View source: R/gera_digitos.R

Description

gera_digito generate the last digit of a administrative register.

Usage

1
gera_digito(entrada, type = "cpf")

Arguments

entrada

Character or numeric of the document that will be validated.

type

Character, it could be CPF, CNPF, PIS e titulo de eleitor.

Value

it will alter the number by reference.

Examples

1
2
 gera_digito("529.982.247-2", type = "cpf")
 gera_digito("60.149.443/0001-7", type = "cnpj")

validaRA documentation built on Nov. 17, 2017, 7:13 a.m.