postcodes | R Documentation |
Derived from several government sources with some community curation. This version additionally attempts to canonicalise non-physical postcodes to assist with mapping.
postcodes
A data frame with 7 columns:
A postal code
A suburb or locality
NSW
Statistical Area 2 name to assist with disambiguating localities with identical names
Flag indicating this is a post office box, mail distribution centre or other special postal code
Flag indicating that this code appears to have been superseded
The closest canonical postal code, e.g. mapping post office boxes to the main suburb's postal code
Matthew Proctor. "Australian Postcodes", https://www.matthewproctor.com/australian_postcodes, accessed 6 February 2023.
The original dataset is released to the public domain.
set.seed(12345)
postcodes[sort(sample.int(nrow(postcodes), 5)),]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.