Download latitude longitude data by address
download_latlon_data(
.ste = c("NSW", "VIC", "QLD", "SA", "WA", "TAS", "NT", "ACT", "OT"),
data_dir = getOption("healthyAddress.data_dir"),
repo = "https://github.com/HughParsonage/PSMA-202311",
overwrite = NA
)
Called for its side effect (downloading the files), but returns the files downloaded.
The jurisdiction to download. Default is to download all.
The directory for healthyAddress
. Data will be downloaded into a
subdirector latlon
thereof.
The repository from which data will be downloaded. Currently only the default is supported,
and "https://github.com/HughParsonage/PSMA-202405"
are supported.
logical(1)
Applicable only if the file already exists
prior to invoking the function. If FALSE
, an error is raised. If NA
,
the default, the file is returned, with a message. Set to TRUE
if you wish to
overwrite the files (possibly having changed repo
to reflect updated data).