View source: R/address_to_coords.R
address_to_coords | R Documentation |
The function address_to_coords
can be used to find coordinates to supplied Norwegian addresses. Internet access is required as the function utilizes the Norwegian Mapping Authority’s address API.
address_to_coords(zip_code, address, format = "sf", crs_out = 25833)
zip_code |
Character vector with zip codes. |
address |
Character vector with addresses (street name and house number). |
format |
Format of the returned object. Default value is set to “sf” (which returns an |
crs_out |
Numeric vector with the chosen coordinate reference system (CRS). Default value is set to |
If there are no coordinates found for the supplied address it means that it does not exist in Matrikkelen - Norway's official property register. See www.rettikartet.no to search for existing addresses.
Object with coordinates to the supplied addresses.
address_to_coords(zip_code = "0185", address = "Schweigaards gate 10")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.