geocoding | R Documentation |
Match a query string to geographic coordinates.
geocoding(query, within.country = NA, exclude.location.types = NA)
query |
A query to geocode. Can be an address, a postcode or a venue. |
within.country |
Only return the results that are within the specified country. If no results are found it will return the country itself. Optional. Format:ISO 3166-1 alpha-2 or alpha-3 |
exclude.location.types |
Exclude location types from results. Available values: "country". Optional. |
See https://traveltime.com/docs/api/reference/geocoding-search for details
API response parsed as list and as a raw json
## Not run: geocoding('Parliament square') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.