The get_api_query function can create queries for this
function to execute.
query_api(
api_url,
query_parameters,
mode = "single",
batch_file = NULL,
address_list = NULL,
content_encoding = "UTF-8",
timeout = 20
)Base URL of the API. query parameters are appended to this
api query parameters in the form of a named list
"single" : geocode a single address (all methods) "list" : batch geocode a list of addresses (geocodio) "file" : batch geocode a file of addresses (census)
a csv file of addresses to upload (census)
a list of addresses for batch geocoding (geocodio) should be 'json' for geocodio and 'multipart' for census
Encoding to be used for parsing content. "UTF-8" is the default, but "ISO-8859-1" is used for Census batch queries.
timeout in minutes
raw results from the query