Normalize ZIP codes

normalize_zip(zipcode)

Arguments

zipcode

messy ZIP code to be normalized

Value

Normalized zipcode

Examples

normalize_zip(0008731)
#> [1] "08731"