parse_postcode: Extract postcode from an address

Description Usage Arguments Examples

View source: R/postcode.R

Description

Extracts postcode (5 digits). If more than one postcode (5 digits) can be found, it will return the last postcode found.

Usage

1
parse_postcode(address)

Arguments

address

Address variable

.data

Input data set

Examples

1
parse_postcode("5, shah alam, 40150")

zahiernasrudin/cleanpostr documentation built on Dec. 23, 2021, 9:11 p.m.