Introduction
merge-ing data and append-ing data are often confused. In this post, I try to quickly distinguish the two.
merge-ing Data Compared To append-ing Data
- Visually,
mergecan be thought of as placing data sets side by side, effectively making a wider data set. - Visually,
appendcan be thought of as stacking data sets on top of each other, making a longer data set. - In both procedures, you likely want to start by
use-ing each data set, onlykeep-ing variables of interest, andsave-ing under a new filename. - In
merge-ing you are more likely to want to ensure that variables in different waves will have different names. You may have torenamevariables to accomplish this. - When
append-ing, you are more likely to wantrenamethe variables in different waves of data so that they have the same name. Make sure each wave of data has a time variable for the wave before youappend!

