arc_api_call: Helper function for centralize API queries

View source: R/arcgeocoder_check_access.R

arc_api_callR Documentation

Helper function for centralize API queries

Description

A wrapper of utils::download.file(). On warning on error it will retry the call.

Usage

arc_api_call(url, destfile, quiet)

Arguments

url

a character string (or longer vector for the "libcurl" method) naming the URL of a resource to be downloaded.

destfile

a character string (or vector, see the url argument) with the file path where the downloaded file is to be saved. Tilde-expansion is performed.

quiet

If TRUE, suppress status messages (if any), and the progress bar.

Value

A logical TRUE/FALSE

See Also

Other api_management: arcgeocoder_check_access()


arcgeocoder documentation built on April 3, 2025, 7:36 p.m.