Description Usage Arguments Value Examples
View source: R/valida_documento.R
valida_doc
returns true or false if the number of document is correct.
1 | valida_doc(entrada, type = "cpf", log = FALSE)
|
entrada |
Character or numeric of the document that will be validated. |
type |
Character, it could be CPF, CNPJ, PIS e titulo de eleitor. |
log |
Output errs found on entrada |
True or False. if log is giving return a data frame.
1 2 3 4 | valida_doc("529.982.247-25", type = "cpf")
valida_doc("529.982.247-25", type = "pis")
valida_doc("529.982.247-25", type = "cnes")
valida_doc("60.149.443/0001-70", type = "cnpj")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.