Chapter 3. Combining Data Sets Horizontally: Match-Merging Data Sets by Value
Example 3.1 Merging Data Sets by a Common Variable 33
Example 3.2 Merging Observations from Multiple Data Sets by a Common Variable 36
Example 3.3 Combining Observations When Variable Values Do Not Match Exactly 40
Example 3.4 Combining Observations by the Formatted Value of a Variable 42
Example 3.5 Combining Multiple Tables When the Matching Column Has Different Attributes 45
Example 3.6 Combining Rows When There Is No Common Column 49
Example 3.7 Matching Observations Randomly 52
Example 3.8 Combining Multiple Data Sets without a Variable Common to All the Data Sets 55
Example 3.9 Generating Every Combination of Rows (Cartesian Product) between Tables 58
Get Combining and Modifying SAS® Data Sets: Examples Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.