Description
Building Sequences from SHP Waves.
Description
Based on the structure of the SPSS version of the Swiss Household Panel (SHP) data, provides a function seqFromWaves() that seeks the data of variables specified by the user in each of the wave files and collects them as sequences. The function also matches the sequences with variables from other files such as the master files of persons (MP) and households (MH), and social origins (SO). It can also match with activity calendar data (CA).
README.md
seqSHP R package
The library 'seqSHP' is intended for data from the Swiss Household Panel (SHP). It provides function seqFromWaves()
that extracts sequence data from the successive SHP wave files together with covariates from other SHP files. Function seqFromWaves()
returns the extracted data in a tibble. A getColumnIndex()
function retrieves the column indexes of a given protoname in the tibble.
See the help page of function `seqFromWaves()', which provides examples.
SHP data are available for free from FORS https://forscenter.ch/projects/swiss-household-panel/data/