Hello,
I have been working with a data set that uses NHANES data from 2003-2012. I wanted to add data from 2013-2018. To do this, I created a data set of the 2013-2018 cycles that had the same variables as the 2003-2012 cycles. In the original 2003-2012 dataset, I had generated a bunch of new variables that drew from the existing variables in the dataset. For instance I had a variable that was equal to the product of two other variables. However, when I appended the 2013-2018 data into the 2003-2012 dataset, the new data did not feed into these generated variables, even though the variables were consistent across the two data sets. Is there any way to make the new data feed into the existing code for the generated variables or do I just have to recode everything again?