Hi, I am trying to count the deaths by country at every day. I am doing this but it's not working.
DATA MYLIB_D3.NB_DECES;
SET MYLIB_D3.COVID_DATA;
BY date country;
WHERE new_deaths>=1;
RUN;
That just creates a subset, and no count of anything. Please give us an example of your data, and what you expect to get out of it.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.