As featured in:
Data Management Solutions Using SAS Hash Table Operations: A Business Intelligence Case Study
, and built from this
github repository
.
Chapter 6 Sample from AtBats.sas
1
/* "Chapter 6 Sample from AtBats.sas" from the SAS Press book
2
Data Management Solutions Using SAS Hash Table Operations:
3
A Business Intelligence Case Study
4
*/
5
6
data Sample (keep = Batter_ID Result Sequence) ;
7
set
bizarro.AtBats ;
8
where Team_SK = 193 and Position_code =
"SP"
and Top_Bot =
"B"
9
and date between
"20mar2017"
d and
"09apr2017"
d
10
and Result in (
"Single"
,
"Double"
) ;
11
Sequence + 1 ;
12
run ;
Generated by
For more information visit the
Bizarro Ball library
.