reverse {dawaR} | R Documentation |
Base function for interacting with reverse geocoding
of sections.
Description
This function reverse geocodes the coordinates provided. When
used out of the box, the function wants WGS84 coordinates (lat/long). ETRS89
or UTM zone 32 can be provided as well. When coordinates from outside of
Denmark is provided, the function will fail with a code 404
.
Usage
reverse(section, x, y, verbose = TRUE, type = NULL, ...)
Arguments
section |
Defines what section of the api should be called.
|
x |
The X coordinate to geocode. If no |
y |
The Y coordinate to geocode. If no |
verbose |
whether or not to provide |
type |
The coordinate type for the API to parse. By default none is
provided and |
... |
< |
Value
Returns a list object with information about the provided section
for the location that is input.
Examples
if (connection_check()) {
reverse("regioner", x = 12.58515, y = 55.68324)
}