
Parse a set of SPSS split command files for PUMF metadata
Source:R/metadata_parsers.R
parse_spss_split.RdHandles surveys where metadata is spread across separate files:
*_i.sps (layout), *vare.sps (English variable labels),
*vale.sps (English value labels), *miss.sps (missing values),
with optional *varf.sps / *valf.sps for French.
Arguments
- layout_dir
Path to the directory containing the SPSS split files.
- layout_mask
Optional string or regex; passed to
find_unique_layout_file()to disambiguate when multiple sets of split files exist (e.g. SFS has bothEFAM_PUMF_*andbsweights_pumf_*files in the same directory).- encoding
Character encoding, e.g.
"Latin1"or"CP1252".