Get IPUMS metadata information about the data file loaded into R from an ipums_ddi
ipums_file_info(object, type = NULL)
If type
is NULL, a list with the ipums_project
,
extract_date
, extract_notes
, conditions
, and citation
.
Otherwise a string with the type of information requested in type
.
An ipums_ddi object (loaded with read_ipums_ddi
).
NULL to load all types, or one of "ipums_project", "extract_data", "extract_notes", "conditions" or "citation".
ddi <- read_ipums_ddi(ipums_example("cps_00006.xml"))
ipums_file_info(ddi)
Run the code above in your browser using DataLab