Hello, I am pretty new to SAS and was wondering if someone
could help me with the following:
I have sample data set as follows:
name start_week end_week
----- ---------- --------
andy 3 8
cindy 4 6
jess 1 5
and I want to create a data as follows from the above data set.
name week
---- ----
andy 3
andy 4
andy 5
andy 6
andy 7
andy 8
cindy 4
cindy 5
cindy 6
jess 1
jess 2
jess 3
jess 4
jess 5
Any ideas are greatly appreciated!
Thanks very much!
Kushi_Wije
could help me with the following:
I have sample data set as follows:
name start_week end_week
----- ---------- --------
andy 3 8
cindy 4 6
jess 1 5
and I want to create a data as follows from the above data set.
name week
---- ----
andy 3
andy 4
andy 5
andy 6
andy 7
andy 8
cindy 4
cindy 5
cindy 6
jess 1
jess 2
jess 3
jess 4
jess 5
Any ideas are greatly appreciated!
Thanks very much!
Kushi_Wije