Closed bbdaniels closed 1 year ago
I think I'd prefer this to be a warning instead of an error, although I haven't thought as much about it as I would like. I have quite a few times added more variables to data sets after creating the codebook. And although I think this should be flagged, it will not necessarily have bad consequences for the rest of the workflow.
It is quite easy for the user to fix, the way it's written, since it gives the list of names that are missing. What I do not want to allow is for the user to produce a data set that does not match the codebook. So either they force the codebook to dominate (with drop
), or they update the codebook.
if you use a codebook that does not match the underlying data, behavior is unexpected. need to evaluate further.