Description Usage Arguments Value References Examples
View source: R/geocod-reverse-batch.R
If you have several addresses that you need to reverse geocode, batch rev-geocoding is a much faster option since it removes the overhead of having to perform multiple HTTP requests.
1 | gio_batch_reverse(coordinates, fields, api_key = gio_auth())
|
coordinates |
data frame with coordinates in |
fields |
vector of additional fields to return with query results. Note that these
count as extra lookups and impact your dailu quota/costs. See the official documentation
for more information on costs/pricing. Can be |
api_key |
|
tibble
Official Geocodio API documentation
1 2 3 4 5 6 | data.frame(
lat = c(35.9746000, 32.8793700, 33.8337100, 35.4171240),
lon = c(-77.9658000, -96.6303900, -117.8362320, -80.6784760)
) -> to_code
gio_batch_reverse(to_code)
gio_batch_reverse(to_code, fields=c("census", "stateleg"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.