validaRA (version 0.1.1)

trata_cpf: Correct Brazilian cpf document.

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

trata_cpf(entrada)

Arguments

entrada

Character or numeric of the document that will be adjusted.

Value

Entrada adjusted.

Examples

Run this code
# NOT RUN {
   trata_cpf(52145795)
# }

Run the code above in your browser using DataCamp Workspace