BookmarkSubscribeRSS Feed
Christina_j920
Calcite | Level 5
Create the np sort table contains data for national parks. You want the data sorted by regional code and decreasing numbers of daily visitors.

1.Open p103p08. sas from the practices folder.

2. Modify the Proc Sort Step to read pg1.np_summary and create a temporary, sort table named np_sort.

3. Add a BY statement to order the data by Reg descending DayVisits values.

4. Add a WHERE statement to select Type equal to NP.

5. Submit the program and view the output data.

How many rows are in the np sort table?
3 REPLIES 3
sahaj
Calcite | Level 5
 
 

Create the np sort table that contains data for national parks. You want the data sorted by regional code and decreasing numbers of daily visitors.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2506 views
  • 0 likes
  • 3 in conversation