trata_cpf: Correct Brazilian cpf document.

Description Usage Arguments Value Examples

View source: R/tratadocumento.R

Description

trada_cpf The aim is transform the entrada to the pattern of Brazilian document cpf. It must have 11 numeric characters. When a dataset is read as a numeric, it lost the 0 character on the left. This function fix that lost and transform entrada to character.

Usage

1
trata_cpf(entrada)

Arguments

entrada

Character or numeric of the document that will be adjusted.

Value

Entrada adjusted.

Examples

1
   trata_cpf(52145795)

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