Hello!
I am currently trying to do a frequency count for a range of dates. I've done the frequency using the weeku6 format using this code:
proc freq data=work.test noprint;
tables date1 / out=work.test2;
format date1 weeku6.;
run;
This has given me an output of this (this is the beginning of the output):
What I would like to do is write some code that will fill in the missing weeks in-between the range of weeks I have (this specific dataset goes from 19W43 to 20W19, but I am working with different datasets that have different start and end dates) as well as give them a count of 0. Is there a way to do this? I hope I explained this clear enough. Thank you so much for reading!!