The tv package

Given a dataset with feature values, exposure periods, and feature specifications, create a time-varying dataset.