Skip to contents

All the functions have been tested most with Victoria- the other states work though, so I've built this to allow querying them too.

Usage

parse_url(portal, test = TRUE, type = FALSE, .errorhandling = "stop")

Arguments

portal

character, URL or name of data portal for some Australian portals. Currently accepts names for 'vic', 'nsw', 'qld', and 'bom' (case insensitive).

test

logical, default TRUE- don't just return the URL, ping it to test it works and return any errors

type

logical, FALSE - try to infer whether kiwis or hydstra

.errorhandling

intended to allow passing or removing errors. Currently only implemented in some places.

Value

character URL for the API request