download_latlon_data {healthyAddress}R Documentation

Download latitude longitude data by address

Description

Download latitude longitude data by address

Usage

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
)

Arguments

.ste

The jurisdiction to download. Default is to download all.

data_dir

The directory for healthyAddress. Data will be downloaded into a subdirector latlon thereof.

repo

The repository from which data will be downloaded. Currently only the default is supported, and "https://github.com/HughParsonage/PSMA-202405" are supported.

overwrite

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).

Value

Called for its side effect (downloading the files), but returns the files downloaded.


[Package healthyAddress version 0.4.3 Index]