Learn R Programming

PNDSIBGE (version 0.1.1)

pnds_example: 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)

Value

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

Arguments

path

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

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

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

Run the code above in your browser using DataLab