BookmarkSubscribeRSS Feed
snag1
Calcite | Level 5

can someone please help me with the code for this case study?
https://r.search.yahoo.com/_ylt=Awr1VSNLWiNkEzITmxC7HAx.;_ylu=Y29sbwNzZzMEcG9zAzIEdnRpZAMEc2VjA3Ny/R...

 

I need help on these particular steps

  • Entirely duplicated records need to be removed from the data set.
  • All missing and “-“ values in the columns Claim_Type, Claim_Site, and Disposition must be changed to Unknown.
  • Values in the columns Claim_Type, Claim_Site, and Disposition must follow the requirements in the data layout (see attached).


1 REPLY 1
ballardw
Super User

Have you read that linked document?  Starting on page 1-11 in the section labeled "HINTS" there is block labeled "Remove duplicate rows", another block labeled "clean the Claim_site column", another "clean the Disposition column" , yet another labeled "clean the Claim_type column".

 

Ask more questions when you have finished reading the entire document and show us what code you have attempted that failed. If code creates errors be prepared to copy the Log messages from your log and paste into text box on the forum opened with the </> icon above the message window.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 824 views
  • 0 likes
  • 2 in conversation