Skip to content

Commit

Permalink
up small change to address standardization
Browse files Browse the repository at this point in the history
  • Loading branch information
bfifield committed Jun 8, 2017
1 parent b0a13e6 commit bae2c7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/cleanAddressUSPS.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ cleanAddressUSPS <- function(address.field){
gsub(" avenue", " ave", address.field),
ifelse(grepl(" avn", address.field),
gsub(" avn", " ave", address.field),
gsub(" av ", " ave ", address.field)))
gsub(" av", " ave", address.field)))
address.field <- gsub(" avee", " ave", address.field)
address.field <- gsub(" boulevard", " blvd", address.field)
address.field <- gsub(" circle", " cir", address.field)
address.field <- gsub(" court", " ct", address.field)
Expand Down

0 comments on commit bae2c7b

Please sign in to comment.