ipums_example {ipumsr} | R Documentation |
Get path to IPUMS example datasets
Description
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.
Usage
ipums_example(path = NULL)
Arguments
path |
Name of file. If |
Value
The path to a specific example file or a vector of all available files.
Examples
# List all available example files
ipums_example()
# Get path to a specific example file
file <- ipums_example("cps_00157.xml")
read_ipums_micro(file)
[Package ipumsr version 0.8.1 Index]