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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Training: Just a Click Away

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

Browse our catalog!

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