Skip to content

ipea/validaRA

Repository files navigation

Valida RA Build Status Cran Downloads Coverage Status

work in progress

NEW:

  • Generate last digit of pis

COMMING SOON:

  • Generate last digits for any RA document

Description

This package contains functions to work with brazilian documents ids as CPF, PIS and CNPJ. It can validate them e outputing the result on different ways. Also, it can handle situations where the ids has just its prefix(first ten digits, on cpf, for example) and it is needed to generate the last one.

Installation

After that, it is possible install validaRA from CRAN:

install.packages("validaRA")

The package, validaRA, depends on c++ code that has to be compiled, then Rtools must be installed. It can be found here

Basic Usage

# Validanting cpf
result <- valida_doc(c("788.346.838-38"), type = "cpf")

# Validanting pis
result <- valida_doc(c("788.346.838-38"), type = "pis")

About

Funções para validação de qualidade de Registros Administrativos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •