pns_example {PNSIBGE} | R Documentation |
Get the path of the PNS toy example files
Description
This function provides the path of the microdata from year 2019 of the PNS toy example files, loaded with this package.
Usage
pns_example(path = NULL)
Arguments
path |
Name of file. If |
Value
A vector with names of all the available PNS toy example files or the path for specific requested PNS toy example file.
Note
For more information, visit the survey official website <https://www.ibge.gov.br/estatisticas/sociais/saude/9160-pesquisa-nacional-de-saude.html?=&t=o-que-e> and consult the other functions of this package, described below.
See Also
get_pns for downloading, labeling, deflating and creating survey design object for PNS microdata.
read_pns for reading PNS microdata.
pns_labeller for labeling categorical variables from PNS microdata.
pns_deflator for adding deflator variables to PNS microdata.
pns_design for creating PNS survey design object.
Examples
pns_example()
pns_example(path="exampledata.txt")
pns_example(path="input_example.txt")
pns_example(path="dictionaryexample.xls")
pns_example(path="deflatorexample.xls")