| read_pnadc | R Documentation | 
This function reads PNADC microdata.
read_pnadc(microdata, input_txt, vars = NULL)
| microdata | A text file containing microdata from PNADC survey, available on official website: | 
| input_txt | A text file, related to the microdata, containing the input script for SAS, available on official website: | 
| vars | Vector of variable names to be kept for analysis. Default is to keep all variables. | 
A tibble with selected variables of the microdata, including the necessary survey design ones.
For more information, visit the survey official website <https://www.ibge.gov.br/estatisticas/sociais/trabalho/9171-pesquisa-nacional-por-amostra-de-domicilios-continua-mensal.html?=&t=o-que-e> and consult the other functions of this package, described below.
get_pnadc for downloading, labeling, deflating and creating survey design object for PNADC microdata.
 pnadc_labeller for labeling categorical variables from PNADC microdata.
 pnadc_deflator for adding deflator variables to PNADC microdata.
 pnadc_design for creating PNADC survey design object.
 pnadc_example for getting the path of the quarter PNADC toy example files.
input_path <- pnadc_example(path="input_example.txt")
data_path <- pnadc_example(path="exampledata.txt")
pnadc.df <- read_pnadc(microdata=data_path, input_txt=input_path, vars=c("VD4001","VD4002"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.