Data and code accompanying 'Simulation-based assessment of a Bayesian survival model with flexible baseline hazard and time-dependent effects'.