validaRA (version 0.1.1)

relatorioDOC: relatorioDOC output on pdf a data frame that summarize the output of validaDOC. It is require a file where the data is located or the data itself. If neither, input and data, is giving the function stop. Also, columns and types must the same size.

Description

relatorioDOC output on pdf a data frame that summarize the output of validaDOC. It is require a file where the data is located or the data itself. If neither, input and data, is giving the function stop. Also, columns and types must the same size.

Usage

relatorioDOC(input_file = NULL, data = NULL, columns, types,
  output_filename, tipo_relatorio = "tabela")

Arguments

input_file

file where the data is located.

data

Data frame with data to be validate.

columns

Columns of data that will be evaluated.

types

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

output_filename

Character, where the output will be save.

tipo_relatorio

Character, grafico or tabela, indicates the kind of output

Value

return a data frame.