Description Usage Arguments Details Value References Examples
If you have several addresses that you need to geocode, batch geocoding is a much faster option since it removes the overhead of having to perform multiple HTTP requests.
1 | gio_batch_geocode(addresses, fields, api_key = gio_auth())
|
addresses |
character vector of addresses (10K max) |
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 |
|
You can also geocode intersections. Just specify the two streets that you want to geocode in your query.
tibble
Official Geocodio API documentation
1 2 3 4 5 6 7 8 9 10 | addresses <- c(
"1109 N Highland St, Arlington VA",
"525 University Ave, Toronto, ON, Canada",
"4410 S Highway 17 92, Casselberry FL",
"15000 NE 24th Street, Redmond WA",
"17015 Walnut Grove Drive, Morgan Hill CA"
)
gio_batch_geocode(addresses)
gio_batch_geocode(addresses, fields=c("cd", "stateleg"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.