diff --git a/dicionariosIBGE/DESCRIPTION b/dicionariosIBGE/DESCRIPTION index b23e8ee..5e76fd1 100755 --- a/dicionariosIBGE/DESCRIPTION +++ b/dicionariosIBGE/DESCRIPTION @@ -1,8 +1,8 @@ Package: dicionariosIBGE Type: Package Title: Dictionaries for reading microdata surveys from IBGE -Version: 1.6 -Date: 2014-08-13 +Version: 1.7 +Date: 2022-06-22 Author: Alexandre Rademaker Maintainer: Alexandre Rademaker Description: This package contains the dictionaries for reading microdata diff --git a/dicionariosIBGE/NAMESPACE b/dicionariosIBGE/NAMESPACE index 9c9f9ac..b3946eb 100644 --- a/dicionariosIBGE/NAMESPACE +++ b/dicionariosIBGE/NAMESPACE @@ -1 +1,3 @@ exportPattern("^[^\\.]") +importFrom("utils", "setTxtProgressBar", "txtProgressBar", + "type.convert") \ No newline at end of file diff --git a/dicionariosIBGE/R/le.pesquisa.R b/dicionariosIBGE/R/le.pesquisa.R index 4d4ce22..16a0510 100644 --- a/dicionariosIBGE/R/le.pesquisa.R +++ b/dicionariosIBGE/R/le.pesquisa.R @@ -3,35 +3,39 @@ le.pesquisa <- function(dicionario, pathname.in, codigos, rotulos = NULL, tbloco inicios <- numeric(0) tamanhos <- numeric(0) + #Condições da função: + ## Se é um NA, print "You must provide the number of lines of the data file" if(is.na(nlines)) stop(paste("You must provide the number of lines of the data file", substitute(dicionario), sep=" ")) - - if( !all(c("inicio","cod", "tamanho", "desc") == colnames(dicionario)) ) + + ## Se os valores forem falsos, print "The", substitute(dicionario)," is not a valid object for 'dicionario' parameter" + if(!all(c("inicio","cod", "tamanho", "desc") == colnames(dicionario)) ) stop(paste("The", substitute(dicionario)," is not a valid object for 'dicionario' parameter",sep=" ")) - - if( ! all(c("cod", "valor", "rotulo") == colnames(rotulos)) ) + + ## Se os valores forem falsos, print "The", substitute(dicionario)," is not a valid object for 'rotulos' parameter" + if(!all(c("cod", "valor", "rotulo") == colnames(rotulos)) ) stop(paste("The", substitute(rotulos), "is not a valid object for 'rotulos' parameter", sep=" ")) tmp <- merge(data.frame(cod = codigos, stringsAsFactors = FALSE), dicionario) - inicios <- tmp[,"inicio"] - tamanhos <- tmp[,"tamanho"] + inicios <- tmp[ ,"inicio"] + tamanhos <- tmp[ ,"tamanho"] rm(tmp) - - if ( length(inicios) == 0) - stop(paste("Variables do not exist in", substitute(dicionario), sep=" ")) + ## Se o início do dado for == 0, print "Variables do not exist in", substitute(dicionario) + if (length(inicios) == 0) + stop(paste("Variables do not exist in", substitute(dicionario), sep=" ")) + ## Aqui é quando está lendo? "Will display a progress bar on the R console via text representation pb <- txtProgressBar(min = 0, max = (nlines/tbloco) * length(codigos), style = 3) - - arq <- file(pathname.in, open="r") + arq <- file(pathname.in, open = "r") dados <- NULL process <- 0 cont <- TRUE while (cont) { - bloco <- scan(file = arq, what = "", sep = "", nlines = tbloco, quiet = TRUE) + bloco <- scan(file = arq, what = " ", sep = " ", nlines = tbloco, quiet = TRUE) df.temp <- NULL for (k in 1:length(inicios)) { - coluna <- substr(bloco, inicios[k], inicios[k] + tamanhos[k] - 1) + coluna <- substr(bloco, inicios[k], inicios[k] + tamanhos[k] - 1) if(is.null(df.temp)) df.temp <- data.frame(type.convert(coluna)) else @@ -39,24 +43,21 @@ le.pesquisa <- function(dicionario, pathname.in, codigos, rotulos = NULL, tbloco process <- process + 1 setTxtProgressBar(pb, process) } + ## Se os dados forem nulos if(is.null(dados)) dados <- df.temp else dados <- rbind(dados, df.temp) - if (length(bloco) < tbloco) cont <- FALSE } - close(arq) rm(bloco, df.temp) colnames(dados) <- codigos close(pb) - if(is.null(rotulos)){ return(dados) } - for(n in 1:ncol(dados)){ colname <- colnames(dados)[n] if(colname %in% rotulos$cod){ @@ -64,6 +65,5 @@ le.pesquisa <- function(dicionario, pathname.in, codigos, rotulos = NULL, tbloco dados[,n] <- factor(dados[,n], levels = tmp[,1], labels = tmp[,2]) } } - return(dados) -} +} \ No newline at end of file diff --git a/dicionariosIBGE/data/dicPNAD2003.rda b/dicionariosIBGE/data/dicPNAD2003.rda index d559fa6..224e3a2 100644 Binary files a/dicionariosIBGE/data/dicPNAD2003.rda and b/dicionariosIBGE/data/dicPNAD2003.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2004.rda b/dicionariosIBGE/data/dicPNAD2004.rda index 60fa669..9e9f009 100644 Binary files a/dicionariosIBGE/data/dicPNAD2004.rda and b/dicionariosIBGE/data/dicPNAD2004.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2005.rda b/dicionariosIBGE/data/dicPNAD2005.rda index 4e302a2..82b1fbf 100644 Binary files a/dicionariosIBGE/data/dicPNAD2005.rda and b/dicionariosIBGE/data/dicPNAD2005.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2007.rda b/dicionariosIBGE/data/dicPNAD2007.rda index ccd8aaf..01774fd 100644 Binary files a/dicionariosIBGE/data/dicPNAD2007.rda and b/dicionariosIBGE/data/dicPNAD2007.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2009.rda b/dicionariosIBGE/data/dicPNAD2009.rda index b556147..b627397 100644 Binary files a/dicionariosIBGE/data/dicPNAD2009.rda and b/dicionariosIBGE/data/dicPNAD2009.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2011.rda b/dicionariosIBGE/data/dicPNAD2011.rda new file mode 100644 index 0000000..4a4fd5e Binary files /dev/null and b/dicionariosIBGE/data/dicPNAD2011.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2012.rda b/dicionariosIBGE/data/dicPNAD2012.rda index 688817d..0671b16 100644 Binary files a/dicionariosIBGE/data/dicPNAD2012.rda and b/dicionariosIBGE/data/dicPNAD2012.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2013.rda b/dicionariosIBGE/data/dicPNAD2013.rda new file mode 100644 index 0000000..a4c0530 Binary files /dev/null and b/dicionariosIBGE/data/dicPNAD2013.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2014.rda b/dicionariosIBGE/data/dicPNAD2014.rda new file mode 100644 index 0000000..5945a45 Binary files /dev/null and b/dicionariosIBGE/data/dicPNAD2014.rda differ diff --git a/dicionariosIBGE/data/dicPNAD2015.rda b/dicionariosIBGE/data/dicPNAD2015.rda new file mode 100644 index 0000000..a99e7f4 Binary files /dev/null and b/dicionariosIBGE/data/dicPNAD2015.rda differ diff --git a/dicionariosIBGE/data/dicPOF2017.2018.rda b/dicionariosIBGE/data/dicPOF2017.2018.rda new file mode 100644 index 0000000..28153bc Binary files /dev/null and b/dicionariosIBGE/data/dicPOF2017.2018.rda differ diff --git a/dicionariosIBGE/man/dic10pof2017.2018.Rd b/dicionariosIBGE/man/dic10pof2017.2018.Rd new file mode 100644 index 0000000..35d6adc --- /dev/null +++ b/dicionariosIBGE/man/dic10pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_10_pof_2017_2018} +\alias{dic_10_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for diet features record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "CARACTERISTICAS_DIETA.txt" file + (diet features record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic11pof2017.2018.Rd b/dicionariosIBGE/man/dic11pof2017.2018.Rd new file mode 100644 index 0000000..d721a40 --- /dev/null +++ b/dicionariosIBGE/man/dic11pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_11_pof_2017_2018} +\alias{dic_11_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for food consumption record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "CONSUMO_ALIMENTAR.txt" file + (food consumption record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic12pof2017.2018.Rd b/dicionariosIBGE/man/dic12pof2017.2018.Rd new file mode 100644 index 0000000..72595ea --- /dev/null +++ b/dicionariosIBGE/man/dic12pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_12_pof_2017_2018} +\alias{dic_12_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for life conditions record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "CONDICOES_VIDA.txt" file + (life conditions record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic13pof2017.2018.Rd b/dicionariosIBGE/man/dic13pof2017.2018.Rd new file mode 100644 index 0000000..7486366 --- /dev/null +++ b/dicionariosIBGE/man/dic13pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_13_pof_2017_2018} +\alias{dic_13_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for restriction / products and health services record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "RESTRICAO_PRODUTOS_SERVICOS_SAUDE.txt" file + (restriction / products and health services record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic14pof2017.2018.Rd b/dicionariosIBGE/man/dic14pof2017.2018.Rd new file mode 100644 index 0000000..098ef03 --- /dev/null +++ b/dicionariosIBGE/man/dic14pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_14_pof_2017_2018} +\alias{dic_14_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for non-monetary services POF 2 record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "SERVICO_NAO_MONETARIO_POF2.txt" file + (non-monetary services POF 2 record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic15pof2017.2018.Rd b/dicionariosIBGE/man/dic15pof2017.2018.Rd new file mode 100644 index 0000000..e76f016 --- /dev/null +++ b/dicionariosIBGE/man/dic15pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_15_pof_2017_2018} +\alias{dic_15_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for non-monetary services POF 4 record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "SERVICO_NAO_MONETARIO_POF4.txt" file + (non-monetary services POF 4 record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic1pof2008.2009.Rd b/dicionariosIBGE/man/dic1pof2008.2009.Rd index 306ae2b..249a922 100644 --- a/dicionariosIBGE/man/dic1pof2008.2009.Rd +++ b/dicionariosIBGE/man/dic1pof2008.2009.Rd @@ -36,5 +36,5 @@ } } \source{The dictionaries were made based on the documentation of the - PNAD survey available at \url{http://www.ibge.gov.br}.} + POF survey available at \url{http://www.ibge.gov.br}.} \keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic1pof2017.2018.Rd b/dicionariosIBGE/man/dic1pof2017.2018.Rd new file mode 100644 index 0000000..6dc79ac --- /dev/null +++ b/dicionariosIBGE/man/dic1pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_1_pof_2017_2018} +\alias{dic_1_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for domiciles record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "MORADOR.txt" file + (residents (type 1) record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic1pof20172018.Rd b/dicionariosIBGE/man/dic1pof20172018.Rd new file mode 100644 index 0000000..6dc79ac --- /dev/null +++ b/dicionariosIBGE/man/dic1pof20172018.Rd @@ -0,0 +1,31 @@ +\name{dic_1_pof_2017_2018} +\alias{dic_1_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for domiciles record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "MORADOR.txt" file + (residents (type 1) record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic2pof2017.2018.Rd b/dicionariosIBGE/man/dic2pof2017.2018.Rd new file mode 100644 index 0000000..92d3be4 --- /dev/null +++ b/dicionariosIBGE/man/dic2pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_2_pof_2017_2018} +\alias{dic_2_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for collective expenditure record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "DESPESA_COLETIVA.txt" file + (collective expenditure record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic3pof2017.2018.Rd b/dicionariosIBGE/man/dic3pof2017.2018.Rd new file mode 100644 index 0000000..db37746 --- /dev/null +++ b/dicionariosIBGE/man/dic3pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_3_pof_2017_2018} +\alias{dic_3_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for collective notebook record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "CADERNETA_COLETIVA.txt" file + (collective notebook record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic3pof20172018.Rd b/dicionariosIBGE/man/dic3pof20172018.Rd new file mode 100644 index 0000000..db37746 --- /dev/null +++ b/dicionariosIBGE/man/dic3pof20172018.Rd @@ -0,0 +1,31 @@ +\name{dic_3_pof_2017_2018} +\alias{dic_3_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for collective notebook record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "CADERNETA_COLETIVA.txt" file + (collective notebook record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic4pof2017.2018.Rd b/dicionariosIBGE/man/dic4pof2017.2018.Rd new file mode 100644 index 0000000..cc9dd81 --- /dev/null +++ b/dicionariosIBGE/man/dic4pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_4_pof_2017_2018} +\alias{dic_4_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for individual expenditure record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "DESPESA_INDIVIDUAL.txt" file + (individual expenditure record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic4pof20172018.Rd b/dicionariosIBGE/man/dic4pof20172018.Rd new file mode 100644 index 0000000..cc9dd81 --- /dev/null +++ b/dicionariosIBGE/man/dic4pof20172018.Rd @@ -0,0 +1,31 @@ +\name{dic_4_pof_2017_2018} +\alias{dic_4_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for individual expenditure record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "DESPESA_INDIVIDUAL.txt" file + (individual expenditure record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic5pof2017.2018.Rd b/dicionariosIBGE/man/dic5pof2017.2018.Rd new file mode 100644 index 0000000..1baa4b6 --- /dev/null +++ b/dicionariosIBGE/man/dic5pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_5_pof_2017_2018} +\alias{dic_5_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for estimated rent record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "ALUGUEL_ESTIMADO.txt" file + (estimated rent record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic6pof2017.2018.Rd b/dicionariosIBGE/man/dic6pof2017.2018.Rd new file mode 100644 index 0000000..e0cccd3 --- /dev/null +++ b/dicionariosIBGE/man/dic6pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_6_pof_2017_2018} +\alias{dic_6_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for work income record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "RENDIMENTO_TRABALHO.txt" file + ( work income record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic7pof2017.2018.Rd b/dicionariosIBGE/man/dic7pof2017.2018.Rd new file mode 100644 index 0000000..2b27e6a --- /dev/null +++ b/dicionariosIBGE/man/dic7pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_7_pof_2017_2018} +\alias{dic_7_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for other income record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "OUTROS_RENDIMENTOS.txt" file + ( other income record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic8pof2017.2018.Rd b/dicionariosIBGE/man/dic8pof2017.2018.Rd new file mode 100644 index 0000000..2a2bf17 --- /dev/null +++ b/dicionariosIBGE/man/dic8pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_8_pof_2017_2018} +\alias{dic_8_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for domicile record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "DOMICILIO.txt" file + ( other income record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic9pof2017.2018.Rd b/dicionariosIBGE/man/dic9pof2017.2018.Rd new file mode 100644 index 0000000..4f9d8e6 --- /dev/null +++ b/dicionariosIBGE/man/dic9pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{dic_9_pof_2017_2018} +\alias{dic_9_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for inventory record from POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "INVENTARIO.txt" file + ( inventory record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dicPNAD.Rd b/dicionariosIBGE/man/dicPNAD.Rd index 8aa75da..d93d797 100644 --- a/dicionariosIBGE/man/dicPNAD.Rd +++ b/dicionariosIBGE/man/dicPNAD.Rd @@ -15,6 +15,13 @@ \alias{dicPNAD2003} \alias{dicPNAD2004} \alias{dicPNAD2005} +\alias{dicPNAD2007} +\alias{dicPNAD2009} +\alias{dicPNAD2011} +\alias{dicPNAD2012} +\alias{dicPNAD2013} +\alias{dicPNAD2014} +\alias{dicPNAD2015} @@ -39,18 +46,32 @@ \alias{dicpes2001} \alias{dicdom2002} \alias{dicpes2002} -\alias{dicdom2003} -\alias{dicpes2003} -\alias{dicdom2004} -\alias{dicpes2004} -\alias{dicdom2005} -\alias{dicpes2005} +\alias{dic_dom_2003} +\alias{dic_pessoas_2003} +\alias{dic_dom_2004} +\alias{dic_pessoas_2004} +\alias{dic_dom_2005} +\alias{dic_pessoas_2005} +\alias{dic_dom_2007} +\alias{dic_pessoas_2007} +\alias{dic_dom_2009} +\alias{dic_pessoas_2009} +\alias{dic_dom_2011} +\alias{dic_pessoas_2011} +\alias{dic_dom_2012} +\alias{dic_pessoas_2012} +\alias{dic_dom_2013} +\alias{dic_pessoas_2013} +\alias{dic_dom_2014} +\alias{dic_pessoas_2014} +\alias{dic_dom_2015} +\alias{dic_pessoas_2015} \encoding{UTF-8} \title{Data Dictionaries for PNAD} \description{ One data dictionary for people records and one for house records, - for each PNAD of the years 1983, 1988 and from 1993 to 2009. + for each PNAD of the years 1983, 1988 and from 1993 to 2015. } \format{ Each dictionary is a data frame with one line for each survey variable, @@ -64,5 +85,5 @@ desc \tab character \tab Short description } } -\source{PNAD documentation available in the CD's made by IBGE} +\source{PNAD documentation available in the IBGE website} \keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dicPNAD2003.Rd b/dicionariosIBGE/man/dicPNAD2003.Rd new file mode 100644 index 0000000..d1a7b29 --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2003.Rd @@ -0,0 +1,31 @@ +\name{dicPNAD2003} +\alias{dicPNAD2003} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2003 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2003} and \link{dic_pessoas_2003}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2003 + \item dic_pessoas_2003 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2004.Rd b/dicionariosIBGE/man/dicPNAD2004.Rd new file mode 100644 index 0000000..2c4c3ff --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2004.Rd @@ -0,0 +1,31 @@ +\name{dicPNAD2004} +\alias{dicPNAD2004} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2004 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2004} and \link{dic_pessoas_2004}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2004 + \item dic_pessoas_2004 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2005.Rd b/dicionariosIBGE/man/dicPNAD2005.Rd new file mode 100644 index 0000000..705af91 --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2005.Rd @@ -0,0 +1,31 @@ +\name{dicPNAD2005} +\alias{dicPNAD2005} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2005 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2005} and \link{dic_pessoas_2005}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2005 + \item dic_pessoas_2005 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2007.Rd b/dicionariosIBGE/man/dicPNAD2007.Rd index d8e2c0e..99c1eb4 100644 --- a/dicionariosIBGE/man/dicPNAD2007.Rd +++ b/dicionariosIBGE/man/dicPNAD2007.Rd @@ -1,27 +1,31 @@ \name{dicPNAD2007} +\alias{dicPNAD2007} \docType{data} +\encoding{UTF-8} -\alias{dicPNAD2007} +\title{Data set for PNAD 2007 suvey} -\encoding{UTF-8} -\title{Data set for PNAD 2007 survey} \description{ - This dataset contains 2 data.frames. - The two data.frames, \link{dicdom2007} and \link{dicpes2007}, are data + The two data.frames, \link{dic_dom_2007} and \link{dic_pessoas_2007}, are data dictionaries used by the fuction \link{le.pesquisa} for reading the two microdada files provided by IBGE. - + } -\format{ - A data set with 2 different data frames: - \enumerate{ - \item dicdom2007 (dictionary with domiciles record from PNAD 2007 survey) - \item dicpes2007 (dictionary with people record from PNAD 2007 survey) +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2007 + \item dic_pessoas_2007 } } + \source{The dictionaries were made based on the documentation of the PNAD survey available at \url{http://www.ibge.gov.br}.} -\keyword{datasets} \ No newline at end of file + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2009.Rd b/dicionariosIBGE/man/dicPNAD2009.Rd index ad434c7..3815c8e 100644 --- a/dicionariosIBGE/man/dicPNAD2009.Rd +++ b/dicionariosIBGE/man/dicPNAD2009.Rd @@ -1,30 +1,24 @@ \name{dicPNAD2009} -\docType{data} - \alias{dicPNAD2009} - +\docType{data} \encoding{UTF-8} + \title{Data set for PNAD 2009 suvey} \description{ - This dataset contains 4 data.frames. + This dataset contains 2 data.frames. - The two data.frames, \link{dicdom2009} and \link{dicpes2009}, are data + The two data.frames, \link{dic_dom_2009} and \link{dic_pessoas_2009}, are data dictionaries used by the fuction \link{le.pesquisa} for reading the two microdada files provided by IBGE. - - The two data.frames, \link{rotdom2009} and \link{rotpes2009}, are - labels of some data values. They are needed only if one wants to work - with factors. + } -\format{ A data set with 4 different data frames: - +\format{A data set with 2 data.frames: + \enumerate{ - \item dicdom2009 - \item dicpes2009 - \item rotdom2009 - \item rotpes2009 + \item dic_dom_2009 + \item dic_pessoas_2009 } } @@ -32,4 +26,6 @@ PNAD survey available at \url{http://www.ibge.gov.br}.} \keyword{datasets} - \ No newline at end of file + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2011.Rd b/dicionariosIBGE/man/dicPNAD2011.Rd new file mode 100644 index 0000000..443e236 --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2011.Rd @@ -0,0 +1,31 @@ +\name{dicPNAD2011} +\alias{dicPNAD2011} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2011 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2011} and \link{dic_pessoas_2011}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2011 + \item dic_pessoas_2011 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2012.Rd b/dicionariosIBGE/man/dicPNAD2012.Rd index b9f100d..086e2ce 100644 --- a/dicionariosIBGE/man/dicPNAD2012.Rd +++ b/dicionariosIBGE/man/dicPNAD2012.Rd @@ -8,7 +8,7 @@ \description{ This dataset contains 2 data.frames. - The two data.frames, \link{dicdom2012} and \link{dicpes2012}, are data + The two data.frames, \link{dic_dom_2012} and \link{dic_pessoas_2012}, are data dictionaries used by the fuction \link{le.pesquisa} for reading the two microdada files provided by IBGE. @@ -17,8 +17,8 @@ \format{A data set with 2 data.frames: \enumerate{ - \item dicdom2012 - \item dicpes2012 + \item dic_dom_2012 + \item dic_pessoas_2012 } } @@ -27,3 +27,5 @@ \keyword{datasets} + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2013.Rd b/dicionariosIBGE/man/dicPNAD2013.Rd new file mode 100644 index 0000000..1c0396c --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2013.Rd @@ -0,0 +1,31 @@ +\name{dicPNAD2013} +\alias{dicPNAD2013} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2013 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2013} and \link{dic_pessoas_2013}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2013 + \item dic_pessoas_2013 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dicPNAD2014.Rd b/dicionariosIBGE/man/dicPNAD2014.Rd new file mode 100644 index 0000000..57eacdc --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2014.Rd @@ -0,0 +1,32 @@ +\name{dicPNAD2014} +\alias{dicPNAD2014} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2014 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2014} and \link{dic_pessoas_2014}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2014 + \item dic_pessoas_2014 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} + diff --git a/dicionariosIBGE/man/dicPNAD2015.Rd b/dicionariosIBGE/man/dicPNAD2015.Rd new file mode 100644 index 0000000..88c9cc1 --- /dev/null +++ b/dicionariosIBGE/man/dicPNAD2015.Rd @@ -0,0 +1,31 @@ +\name{dicPNAD2015} +\alias{dicPNAD2015} +\docType{data} +\encoding{UTF-8} + +\title{Data set for PNAD 2015 suvey} + +\description{ + This dataset contains 2 data.frames. + + The two data.frames, \link{dic_dom_2015} and \link{dic_pessoas_2015}, are data + dictionaries used by the fuction \link{le.pesquisa} for reading the + two microdada files provided by IBGE. + +} + +\format{A data set with 2 data.frames: + + \enumerate{ + \item dic_dom_2015 + \item dic_pessoas_2015 + } +} + +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + + +\keyword{datasets} diff --git a/dicionariosIBGE/man/dic_2pof20172018.Rd b/dicionariosIBGE/man/dic_2pof20172018.Rd new file mode 100644 index 0000000..92d3be4 --- /dev/null +++ b/dicionariosIBGE/man/dic_2pof20172018.Rd @@ -0,0 +1,31 @@ +\name{dic_2_pof_2017_2018} +\alias{dic_2_pof_2017_2018} +\docType{data} + +\encoding{UTF-8} +\title{Dictionary for collective expenditure record POF 2017-2018 survey} + +\description{ + + Data dictionary for reading "DESPESA_COLETIVA.txt" file + (collective expenditure record from POF 2017-2018 survey). + + +} + +\format{ + This dictionary is a data frame with one line for each variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic_dom_2007.Rd b/dicionariosIBGE/man/dic_dom_2007.Rd new file mode 100644 index 0000000..db2ca78 --- /dev/null +++ b/dicionariosIBGE/man/dic_dom_2007.Rd @@ -0,0 +1,31 @@ +\name{dic_dom_2007} +\docType{data} + +\alias{dic_dom_2007} + +\encoding{UTF-8} +\title{Data Dictionary for domiciles record PNAD 2007 survey} + +\description{ + + Data dictionary for reading "DOM2007.TXT" file (domiciles record from + PNAD 2007 survey). In the column \code{desc} we choose to remove all accents + to avoid encoding problems. +} + +\format{ + This dictionary is a data frame with one line for each survey variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dic_dom_2009.Rd b/dicionariosIBGE/man/dic_dom_2009.Rd new file mode 100644 index 0000000..b5ecc42 --- /dev/null +++ b/dicionariosIBGE/man/dic_dom_2009.Rd @@ -0,0 +1,68 @@ +\name{dicdom2009} +\docType{data} + +\alias{dicdom2009} + +\encoding{UTF-8} +\title{Data Dictionary for domiciles record PNAD 2009 survey} + +\description{ + + Data dictionary for reading "DOM2009.TXT" file (domiciles record from + PNAD 2009 survey). In the column \code{desc} we choose to remove all accents + to avoid encoding problems. + + The variable V0216 in the original PNAD documentation has two meanings + (categorical and quantitative), because of that we created two + variables V0216a (categorical) and V0216b (quantitative) to avoid + complications with the dicitionary analysis + + + In the original PNAD documentation, the variables below have the + following comments: + + Variable V0102 has comment " As 2 primeiras posições são o código da + Unidade da Federação" + + Variable V4614 has comment "exclusive o rendimento das pessoas cuja + condição na unidade domiciliar era pensionista, empregado doméstico ou + parente do empregado doméstico e das pessoas de menos de 10 anos de + idade" + + Variable V4617 has comment "Identificação de estrato de município auto-representativo e não auto-representativo" + + Variable V4618 has comment "Unidade primária de amostragem" + + Variable V4620 has comment "exclusive as pessoas cuja condição na unidade domiciliar era pensionista, empregado doméstico ou parente do empregado doméstico" + + Variable V4605 has value with 10 decimals + + Variable V4607 has value with 10 decimals + + Variable V4608 has value with 1 decimal + + Variable V4619 has value with 2 decimals + + Variable V9992 has values in the format AAAAMMDD. + + Variable V4611 has comment "Igual ao peso da pessoa de referencia do + domicilio". +} + +\format{ + This dictionary is a data frame with one line for each survey variable, + and it has 4 columms, with important information of each variable. + + \tabular{lll}{ + inicio \tab numeric \tab Position of the value's first character in + the data file \cr + cod \tab character \tab Variable code \cr + tamanho \tab numeric \tab Field size \cr + desc \tab character \tab Short description\cr + + } +} +\source{The dictionaries were made based on the documentation of the + PNAD survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/dicdom2007.Rd b/dicionariosIBGE/man/dicdom2007.Rd index 508b9be..db2ca78 100644 --- a/dicionariosIBGE/man/dicdom2007.Rd +++ b/dicionariosIBGE/man/dicdom2007.Rd @@ -1,7 +1,7 @@ -\name{dicdom2007} +\name{dic_dom_2007} \docType{data} -\alias{dicdom2007} +\alias{dic_dom_2007} \encoding{UTF-8} \title{Data Dictionary for domiciles record PNAD 2007 survey} diff --git a/dicionariosIBGE/man/dicdom2012.Rd b/dicionariosIBGE/man/dicdom2012.Rd index 6035dcb..4ac3929 100644 --- a/dicionariosIBGE/man/dicdom2012.Rd +++ b/dicionariosIBGE/man/dicdom2012.Rd @@ -1,7 +1,7 @@ -\name{dicdom2012} +\name{dic_dom_2012} \docType{data} -\alias{dicdom2012} +\alias{dic_dom_2012} \encoding{UTF-8} \title{Data Dictionary for domiciles record PNAD 2012 survey} diff --git a/dicionariosIBGE/man/dicionariosIBGE-package.Rd b/dicionariosIBGE/man/dicionariosIBGE-package.Rd index eba9e7a..63730d5 100644 --- a/dicionariosIBGE/man/dicionariosIBGE-package.Rd +++ b/dicionariosIBGE/man/dicionariosIBGE-package.Rd @@ -10,8 +10,8 @@ \description{ This package contains dictionaries for reading the following IBGE - surveys: PNAD(1983, 1988, 1993-2007), PME(2002-2009) and - POF(1987/1988, 1995/1996, 2002/2003, 2008/2009). + surveys: PNAD(1983, 1988, 1993-2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015), PME(2002-2009) and + POF(1987/1988, 1995/1996, 2002/2003, 2008/2009, 2017/2018). The data can be read using the function le.pesquisa from package IBGEPesq. } diff --git a/dicionariosIBGE/man/rot10pof2017.2018.Rd b/dicionariosIBGE/man/rot10pof2017.2018.Rd new file mode 100644 index 0000000..ade6c46 --- /dev/null +++ b/dicionariosIBGE/man/rot10pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_10_pof_2017_2018} +\alias{rot_10_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for diet features record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "CARACTERISTICAS_DIETA.txt" file + (diet features record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot11pof2017.2018.Rd b/dicionariosIBGE/man/rot11pof2017.2018.Rd new file mode 100644 index 0000000..2afb6b7 --- /dev/null +++ b/dicionariosIBGE/man/rot11pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_11_pof_2017_2018} +\alias{rot_11_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for food consumption record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "CONSUMO_ALIMENTAR.txt" file + (food consumption record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot12pof2017.2018.Rd b/dicionariosIBGE/man/rot12pof2017.2018.Rd new file mode 100644 index 0000000..66a7863 --- /dev/null +++ b/dicionariosIBGE/man/rot12pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_12_pof_2017_2018} +\alias{rot_12_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for life conditions record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "CONDICOES_VIDA.txt" file + (life conditions record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot13pof2017.2018.Rd b/dicionariosIBGE/man/rot13pof2017.2018.Rd new file mode 100644 index 0000000..6095b4d --- /dev/null +++ b/dicionariosIBGE/man/rot13pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_13_pof_2017_2018} +\alias{rot_13_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for restriction / products and health services record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "RESTRICAO_PRODUTOS_SERVICOS_SAUDE.txt" file + (restriction / products and health services record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot14pof2017.2018.Rd b/dicionariosIBGE/man/rot14pof2017.2018.Rd new file mode 100644 index 0000000..5f6a067 --- /dev/null +++ b/dicionariosIBGE/man/rot14pof2017.2018.Rd @@ -0,0 +1,32 @@ +\name{rot_14_pof_2017_2018} +\alias{rot_14_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for non-monetary services POF2 record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "SERVICO_NAO_MONETARIO_POF2.txt" file + (non-monetary services POF 2 record from POF 2017-2018 survey). + + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot15pof2017.2018.Rd b/dicionariosIBGE/man/rot15pof2017.2018.Rd new file mode 100644 index 0000000..d525b8d --- /dev/null +++ b/dicionariosIBGE/man/rot15pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_15_pof_2017_2018} +\alias{rot_15_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for non-monetary services POF4 record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "SERVICO_NAO_MONETARIO_POF4.txt" file + (non-monetary services POF 4 record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot1pof2008.2009.Rd b/dicionariosIBGE/man/rot1pof2008.2009.Rd index cbf7376..7159954 100644 --- a/dicionariosIBGE/man/rot1pof2008.2009.Rd +++ b/dicionariosIBGE/man/rot1pof2008.2009.Rd @@ -22,7 +22,7 @@ } } \source{The dictionaries were made based on the documentation of the - PNAD survey available at \url{http://www.ibge.gov.br}.} + POF survey available at \url{http://www.ibge.gov.br}.} \keyword{datasets} \ No newline at end of file diff --git a/dicionariosIBGE/man/rot1pof2017.2018.Rd b/dicionariosIBGE/man/rot1pof2017.2018.Rd new file mode 100644 index 0000000..58fd2f7 --- /dev/null +++ b/dicionariosIBGE/man/rot1pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_1_pof_2017_2018} +\alias{rot_1_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for collective expenditure record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "MORADOR.txt" file + (residents (type 1) record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to not occur any loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot2pof2017.2018.Rd b/dicionariosIBGE/man/rot2pof2017.2018.Rd new file mode 100644 index 0000000..43c34d6 --- /dev/null +++ b/dicionariosIBGE/man/rot2pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_2_pof_2017_2018} +\alias{rot_2_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for domiciles record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "DESPESA_COLETIVA.txt" file + (collective expenditure record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to not occur any loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot3pof2017.2018.Rd b/dicionariosIBGE/man/rot3pof2017.2018.Rd new file mode 100644 index 0000000..9129e8e --- /dev/null +++ b/dicionariosIBGE/man/rot3pof2017.2018.Rd @@ -0,0 +1,32 @@ +\name{rot_3_pof_2017_2018} +\alias{rot_3_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for collective notebook record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "CADERNETA_COLETIVA.txt" file + (collective notebook record from POF 2017-2018 survey). + + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to not occur any loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot4pof2017.2018.Rd b/dicionariosIBGE/man/rot4pof2017.2018.Rd new file mode 100644 index 0000000..69319e5 --- /dev/null +++ b/dicionariosIBGE/man/rot4pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_4_pof_2017_2018} +\alias{rot_4_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for individual expenditure record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "DESPESA_INDIVIDUAL.txt" file + (individual expenditure record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot5pof2017.2018.Rd b/dicionariosIBGE/man/rot5pof2017.2018.Rd new file mode 100644 index 0000000..1c25677 --- /dev/null +++ b/dicionariosIBGE/man/rot5pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_5_pof_2017_2018} +\alias{rot_5_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for estimated rent record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "ALUGUEL_ESTIMADO.txt" file + (estimated rent record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot6pof2017.2018.Rd b/dicionariosIBGE/man/rot6pof2017.2018.Rd new file mode 100644 index 0000000..86bcb6d --- /dev/null +++ b/dicionariosIBGE/man/rot6pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_6_pof_2017_2018} +\alias{rot_6_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for work income record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "RENDIMENTO_TRABALHO.txt" file + ( work income record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot7pof2017.2018.Rd b/dicionariosIBGE/man/rot7pof2017.2018.Rd new file mode 100644 index 0000000..0274134 --- /dev/null +++ b/dicionariosIBGE/man/rot7pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_7_pof_2017_2018} +\alias{rot_7_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for other income record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "OUTROS_RENDIMENTOS.txt" file + (other income record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot8pof2017.2018.Rd b/dicionariosIBGE/man/rot8pof2017.2018.Rd new file mode 100644 index 0000000..9fe6cb6 --- /dev/null +++ b/dicionariosIBGE/man/rot8pof2017.2018.Rd @@ -0,0 +1,31 @@ +\name{rot_8_pof_2017_2018} +\alias{rot_8_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for domicile record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "DOMICILIO.txt" file + (domicile record from POF 2017-2018 survey). + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file diff --git a/dicionariosIBGE/man/rot9pof2017.2018.Rd b/dicionariosIBGE/man/rot9pof2017.2018.Rd new file mode 100644 index 0000000..a01f642 --- /dev/null +++ b/dicionariosIBGE/man/rot9pof2017.2018.Rd @@ -0,0 +1,32 @@ +\name{rot_9_pof_2017_2018} +\alias{rot_9_pof_2017_2018} +\docType{data} + + + +\encoding{UTF-8} +\title{Data Dictionary label for inventory record POF 2017-2018 survey} +\description{ + One data dictionary label for reading "INVENTARIO.txt" file + (inventory record from POF 2017-2018 survey). + + + There may be "NA" values in the "valor" column because in some questions of the PNAD survey, there is the option "Blank", that is, "NA", which has a correspondent lable. In order to prevent loss of data, this was preserved. + +} + +\format{ + This dictionary is a data frame with one line for each survey categorical variable, + and it has 3 columms, with important information of each categorical variable. + + \tabular{lll}{ + cod \tab character \tab Variable code \cr + valor \tab numeric \tab Levels of the categorical variable \cr + rotulo \tab character \tab Labels of the categorical variable + } +} +\source{The dictionaries were made based on the documentation of the + POF survey available at \url{http://www.ibge.gov.br}.} + +\keyword{datasets} + \ No newline at end of file