pns_example | R Documentation |
This function provides the path of the microdata from year 2019 of the PNS toy example files, loaded with this package.
pns_example(path = NULL)
path |
Name of file. If |
A vector with names of all the available PNS toy example files or the path for specific requested PNS toy example file.
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.
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.
pns_example()
pns_example(path="exampledata.txt")
pns_example(path="input_example.txt")
pns_example(path="dictionaryexample.xls")
pns_example(path="deflatorexample.xls")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.