Learn R Programming

ipumsr (version 0.4.5)

ipums_example: Get path to ipums example datasets

Description

Get access to example extracts.

Usage

ipums_example(path = NULL)

Arguments

path

Name of file. If `NULL`, the example files will be listed.

Value

The filepath to an example file, or if path is empty, a vector of all available files.

Examples

Run this code
# NOT RUN {
ipums_example() # Lists all available examples
ipums_example("cps_00006.xml") # Gives filepath for a cps DDI
# }

Run the code above in your browser using DataLab