00:01
For this problem, we have the bookstore dataset, and we are asked to create a, or we are first asked to create a subset of the dataset containing only horror genre books.
00:11
So i'll note up here, i have the code that i used for creating the bookstore dataset.
00:17
I think that that was submitted as a separate question, so there's a full -length video explaining all of that.
00:23
But then we are first asked to create a subset containing only horror genre books.
00:29
So the way that we can do this would be to create a new data step.
00:33
So we say data, we can call it horror underscore books.
00:38
Then we use set, say set bookstore.
00:43
And there are a few different ways that we can subset the data, but an efficient way of doing this would be to use a where statement...