pnds_example {PNDSIBGE}R Documentation

Get the path of the PNDS toy example files

Description

This function provides the path of the microdata from year 2023 of the PNDS toy example files, loaded with this package.

Usage

pnds_example(path = NULL)

Arguments

path

Name of file. If NULL, the PNDS toy example files names will be listed.

Value

A vector with names of all the available PNDS toy example files or the path for specific requested PNDS toy example file.

Note

For more information, visit the survey official website <https://www.ibge.gov.br/estatisticas/sociais/saude/9160-pesquisa-nacional-de-demografia-e-saude.html?=&t=o-que-e> and consult the other functions of this package, described below.

See Also

get_pnds for downloading, labeling, deflating and creating survey design object for PNDS microdata.
read_pnds for reading PNDS microdata.
pnds_labeller for labeling categorical variables from PNDS microdata.
pnds_deflator for adding deflator variables to PNDS microdata.
pnds_design for creating PNDS survey design object.

Examples

pnds_example()
pnds_example(path="exampledata.txt")
pnds_example(path="input_example.txt")
pnds_example(path="dictionaryexample.xls")
pnds_example(path="deflatorexample.xls")

[Package PNDSIBGE version 0.1.1 Index]