Date: Thu, 28 Oct 2010 12:31:45 -0500
Reply-To: "White, Svend A." <SvendW@HEALTH.OK.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "White, Svend A." <SvendW@HEALTH.OK.GOV>
Subject: rolling up counts in PROC FREQ based regex patterns
In-Reply-To: A<AANLkTi=7hWDzmKfjmbhZzYZgRH82xLgLHh6jq4+xiyxO@mail.gmail.com>
Content-Type: TEXT/plain; charset="us-ascii"
I'm running frequencies on addresses to identify the most common
patterns of invalid street addresses.
What I'm wondering is this: Is there a way to instruct PROC FREQ to roll
up counts based on regular expression patterns (e.g., combine the counts
for "Rural Route 1" and "Rural Route 10", using a Perl regex like "Rural
Route \d+").
Thanks.
Svend
|