Package validara. October 19, 2017

Similar documents
Package ECctmc. May 1, 2018

Package fastdummies. January 8, 2018

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package utilsipea. November 13, 2017

Package semver. January 6, 2017

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package SEMrushR. November 3, 2018

Package kdtools. April 26, 2018

Package canvasxpress

Package datasets.load

Package knitrprogressbar

Package triebeard. August 29, 2016

Package messaging. May 27, 2018

Package bisect. April 16, 2018

Package wrswor. R topics documented: February 2, Type Package

Package docxtools. July 6, 2018

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package robotstxt. November 12, 2017

Package calpassapi. August 25, 2018

Package coga. May 8, 2018

Package strat. November 23, 2016

Package readxl. April 18, 2017

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package gtrendsr. October 19, 2017

Package liftr. R topics documented: May 14, Type Package

Package dkanr. July 12, 2018

Package rsppfp. November 20, 2018

Package nmslibr. April 14, 2018

Package spark. July 21, 2017

Package geogrid. August 19, 2018

Package barcoder. October 26, 2018

Package fst. December 18, 2017

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package elmnnrcpp. July 21, 2018

Package reconstructr

Package farver. November 20, 2018

Package goodpractice

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package data.world. April 5, 2018

Package nngeo. September 29, 2018

Package postgistools

Package qualmap. R topics documented: September 12, Type Package

Package editdata. October 7, 2017

Package githubinstall

Package fitbitscraper

Package stapler. November 27, 2017

Package essurvey. August 23, 2018

Package tidyselect. October 11, 2018

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package deductive. June 2, 2017

Package WordR. September 7, 2017

Package rucrdtw. October 13, 2017

Package TrafficBDE. March 1, 2018

Package milr. June 8, 2017

Package tidytransit. March 4, 2019

Package projector. February 27, 2018

Package jpmesh. December 4, 2017

Package wdman. January 23, 2017

Package opencage. January 16, 2018

Package ecoseries. R topics documented: September 27, 2017

Package gtrendsr. August 4, 2018

Package censusr. R topics documented: June 14, Type Package Title Collect Data from the Census API Version 0.0.

Package repec. August 31, 2018

Package facerec. May 14, 2018

Package pdfsearch. July 10, 2018

Package crossrun. October 8, 2018

Package rtext. January 23, 2019

Package lumberjack. R topics documented: July 20, 2018

Package effectr. January 17, 2018

Package statsdk. September 30, 2017

Package vinereg. August 10, 2018

Package balance. October 12, 2018

Package rzeit2. January 7, 2019

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption

Package RODBCext. July 31, 2017

Package fst. June 7, 2018

Package AhoCorasickTrie

Package bikedata. April 27, 2018

Package snakecase. R topics documented: March 25, Version Date Title Convert Strings into any Case

Package pkgbuild. October 16, 2018

Package clipr. June 23, 2018

Package fastrtext. December 10, 2017

Package Numero. November 24, 2018

Package splithalf. March 17, 2018

Package modules. July 22, 2017

Package diffusr. May 17, 2018

Package internetarchive

Package spelling. December 18, 2017

Package fingertipsr. May 25, Type Package Version Title Fingertips Data for Public Health

Package sessioninfo. June 21, 2017

Package shinyfeedback

Package smapr. October 20, 2017

Package dbx. July 5, 2018

Package geoops. March 19, 2018

Package kirby21.base

Package TVsMiss. April 5, 2018

Package eply. April 6, 2018

Package wikitaxa. December 21, 2017

Transcription:

Type Package Title Validate Brazilian Administrative Registers Version 0.1.1 Package validara October 19, 2017 Maintainer Gustavo Coelho <gustavo.coelho@ipea.gov.br> Contains functions to validate administrative register as CPF (Cadastro de Pessoa Fisica), CNPJ (Cadastro de Pessoa Juridica), PIS (Programa de Integracao Social), CNES (Cadastro Nacional de Saude). It can check individual registers or create a 'rmarkdown' analysis of a base. License GPL-3 Encoding UTF-8 LazyData LazyData: true URL https://github.com/ipea/validara BugReports https://github.com/ipea/validara/issues/ Suggests testthat, knitr, covr RoxygenNote 6.0.1 Depends R (>= 3.0) LinkingTo Rcpp, BH Imports Rcpp, bit64, stringr, data.table, rmarkdown SystemRequirements C++11 VignetteBuilder knitr NeedsCompilation yes Author Gustavo Coelho [aut, cre], Lucas Mation [aut] Repository CRAN Date/Publication 2017-10-19 19:21:25 UTC 1

2 gera_digito R topics documented: doc2integer64........................................ 2 gera_digito......................................... 2 relatoriodoc........................................ 3 tabulacaodoc........................................ 4 trata_cpf........................................... 4 valida_doc.......................................... 5 valida_doc_df........................................ 5 Index 7 doc2integer64 Convert Brazilian documents. doc2integer64 returns a Brazilian document without special characters and as an integer64. doc2integer64() Character or numeric that will be converted. an bit64 integer doc2integer64("086.090.705-65") gera_digito Complete Brazilian documents. gera_digito generate the last digit of a administrative register. gera_digito(, type = "cpf")

relatoriodoc 3 type Character or numeric of the document that will be validated. Character, it could be CPF, CNPF, PIS e titulo de eleitor. it will alter the number by reference. gera_digito("529.982.247-2", type = "cpf") gera_digito("60.149.443/0001-7", type = "cnpj") 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. 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. relatoriodoc(input_file = NULL, data = NULL, columns, types, output_filename, tipo_relatorio = "tabela") input_file data columns file where the data is located. Data frame with data to be validate. Columns of data that will be evaluated. types output_filename Character, where the output will be save. tipo_relatorio Character, grafico or tabela, indicates the kind of output return a data frame.

4 trata_cpf tabulacaodoc Check Brazilian documents. tabulacaodoc returns 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. tabulacaodoc(input_file = NULL, data = NULL, columns, types) input_file data columns types file where the data is located. Data frame with data to be validate. Columns of data that will be evaluated. return a data frame. trata_cpf Correct Brazilian cpf document. trada_cpf The aim is transform the 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 to character. trata_cpf() Character or numeric of the document that will be adjusted. Entrada adjusted. trata_cpf(52145795)

valida_doc 5 valida_doc Check Brazilian documents. valida_doc returns true or false if the number of document is correct. valida_doc(, type = "cpf", log = FALSE) type log Character or numeric of the document that will be validated. Output errs found on True or False. if log is giving return a data frame. 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") valida_doc_df Check Brazilian documents. valida_doc_df returns true or false if the number of document is correct. valida_doc_df(data, column, type = "cpf", log = FALSE) data column type log Data frame with data to be validate. Column of data that will be evaluated. Output errs found on

6 valida_doc_df True or False. if log is giving return a data frame.

Index doc2integer64, 2 gera_digito, 2 relatoriodoc, 3 tabulacaodoc, 4 trata_cpf, 4 valida_doc, 5 valida_doc_df, 5 7