Checks whether R can access a Nominatim API server.
Usage
nominatim_check_access(
nominatim_server = "https://nominatim.openstreetmap.org/"
)
Arguments
- nominatim_server
A string giving the base URL of the Nominatim
server. Defaults to
"https://nominatim.openstreetmap.org/".
Value
A single logical value: TRUE if the API is available and FALSE otherwise.
Examples
# \donttest{
nominatim_check_access()
#> [1] TRUE
# }