Learn R Programming

ipumsr (version 0.5.2)

ipums_example: Get path to ipums example datasets

Description

Get access to example extracts.

Usage

ipums_example(path = NULL)

Value

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

Arguments

path

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

Examples

Run this code
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