powered by
Returns a random postcode and all available data for that postcode.
random_postcode(outcode = NULL)
A string. Filters random postcodes by outcode. Returns null if invalid outcode. Optional.
A list with a random postcode with corresponding characteristics.
postcode_lookup for documentation.
postcode_lookup
# NOT RUN { random_postcode() random_postcode("N1") # } # NOT RUN { # }
Run the code above in your browser using DataLab