Description Usage Arguments Value
View source: R/reverse_geocode.R
Reverse geocodes an address using the Bing Maps Locations API For more information, please see https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/find-a-location-by-point
1 2 3 4 5 6 7 | reverse_geocode(
lat,
long,
includeEntityTypes = NULL,
verboseplacenames = NULL,
includeNeighborhood = NULL
)
|
lat |
Latitude of the location (e.g. '37.7708' ) |
long |
Longitude of the location (e.g. '-122.4195') |
includeEntityTypes |
Only include the specified entity types (e.g. 'naturalPOI') |
verboseplacenames |
Whether the returned location names should be represented with their official abbreviations or in expanded form (e.g. 'true' or 'false'), default value is 'false' |
includeNeighborhood |
Whether the response should include the neighborhood of the location (e.g. "0" or "1") |
S3 object containing the API response. Includes:
"address": Complete geocoded address
"content": Complete parsed response, including the geocoded address separated by descriptor as well as other information about the location
"params": Parameters inputted into the API from the user
"response": Response object returned from httr, including the request URL, status code returned, and time of request
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.