
Last chance! 50% off unlimited learning
Sale ends in
Construct file path to example extracts included with ipumsr. These data are used in package examples and can be used to experiment with ipumsr functionality.
ipums_example(path = NULL)
The path to a specific example file or a vector of all available files.
Name of file. If NULL
, all available example files will be
listed.
# List all available example files
ipums_example()
# Get path to a specific example file
file <- ipums_example("cps_00157.xml")
read_ipums_micro(file)
Run the code above in your browser using DataLab