I'm new to SAS and need to find a way to do the following:
I have two datasets:
Users (user_id, friends)
(friends areuser_id
s seperated by a ",")Reviews (user_id, review_id, business_id, text)
I've merged both on user_id
. Now I need to know what percentage of the reviews of the friends of a user is about the same business(es) a user has reviewed.
I guess I need a stored procedure for this (but I'm new to SQL also). Any tips how to start on it?