BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6

Does proc geocode requiere address cleaning before use?

With it correlate the same addresss but slight differences?

Say I had "123 SAS Lane, 33178" vs 123 SAS ln., 33178"?

1 REPLY 1
EdO_sas
SAS Employee

PROC GEOCODE does recognize standard abbreviations for street types, e.g. Ln or Ln. for Lane. All of the supported types are in the SASHELP.GCTYPE data set.

If you have other street types not included, you can copy SASHELP.GCTPYE to another library and add them. Just make sure to sort the updated data set by NAME and then rebuild the simple index on that variable. Then, when submitting your PROC GEOCODE run, include the TYPE= option to use your new street type data set. See the PROC GEOCODE documentation for details on this option.

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

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

Browse our catalog!

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