Summary
This chapter provided an overview of some PROCs and data step approaches that can be helpful for exploring, understanding, and documenting datasets in SAS. First, we talked about what we can learn about a SAS dataset from PROC CONTENTS
. Next, we practiced applying SAS labels and formats to document our data and change the look of our output.
While labels and formats improved the display of data in some positive ways, we found that adding them also introduced limitations. Some data warehouses embrace SAS labels and formats, and a description of how these are managed in such an environment was provided. Other data warehouses use other methods to document and report their data, and these alternatives were discussed.
Finally, the chapter covered ways to view data in SAS using the traditional PROC PRINT
and the newer PROC SQL
methods. Since we were using criteria, we went over arithmetic operators in SAS. Finally, we talked about how SAS data can be viewed through windows...