This package is an interface to the OpenCage API that allows forward and reverse geocoding. To use the package, you will need an API key. To get an API key for OpenCage geocoding, register at https://geocoder.opencagedata.com/pricing. The free API key provides up to 2,500 calls a day. For ease of use, save your API key as an environment variable as described at http://stat545.com/bit003_api-key-env-var.html.

Both functions of the package will conveniently look for your API key using Sys.getenv("OPENCAGE_KEY") so if your API key is an environment variable called “OPENCAGE_KEY” you don’t need to input it manually.

Geocoding

The OpenCage API supports forward and reverse geocoding. Sources of OpenCage are open geospatial data including OpenStreetMap, Yahoo! GeoPlanet, Natural Earth Data, Thematic Mapping, Ordnance Survey OpenSpace, Statistics New Zealand, Zillow, MaxMind, GeoNames, the US Census Bureau and Flickr’s shapefiles plus a whole lot more besides. See this page for the full list of credits.

Both forward and reverse geocoding typically return multiple results. Regarding these multiple results, the API doc states, “In cases where the geocoder is able to find multiple matches, the geocoder will return multiple results. The confidence or coordinates for each result should be examined to determine whether each result from an ambiguous query is sufficiently high to warrant using a result or not. A good strategy to reduce ambiguity is to use the optional bounds parameter described below to limit the area searched.” Multiple results might mean you get a result for the airport and a road when querying a city name, or results for cities with the same name in different countries.

Below are two simple examples.

Forward geocoding

Forward geocoding is from placename to latitude and longitude tuplet(s).

library("opencage")
output <- opencage_forward(placename = "Sarzeau")
print(output$time_stamp)
#> [1] "2016-05-12 14:07:38 CEST"
library("dplyr")
output$rate_info %>% knitr::kable()
limit remaining rest
2500 2359 2016-05-13 02:00:00
output$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words bounds.northeast.lat bounds.northeast.lng bounds.southwest.lat bounds.southwest.lng components._type components.city components.country components.country_code components.county components.postcode components.state confidence formatted geometry.lat geometry.lng components.post_office components.road components.suburb components.village
47° 31’ 43.56984’’ N 2° 45’ 51.11856’’ W 30TWT1774963954 IN87om86hv -307709.292 5997281.031 https://www.openstreetmap.org/edit?relation=959447#map=17/47.52877/-2.76420 https://www.openstreetmap.org/?mlat=47.52877&mlon=-2.76420#map=17/47.52877/-2.76420 33 gbqn3h75jkz3h3mvtyj6 1463027820 1463019420 1463025660 1463022840 1463081940 1463090400 1463084100 1463086920 Europe/Paris 1 7200 200 CEST gasp.jiggle.creamier 47.568813 -2.6630649 47.484236 -2.8536849 city Sarzeau France fr Vannes 56370 Brittany 6 56370 Sarzeau, France 47.52877 -2.7642 NA NA NA NA
47° 31’ 40.80828’’ N 2° 46’ 7.68144’’ W 30TWT1740363867 IN87om76rr -308221.451 5997154.952 https://www.openstreetmap.org/edit?node=846574100#map=17/47.52800/-2.76880 https://www.openstreetmap.org/?mlat=47.52800&mlon=-2.76880#map=17/47.52800/-2.76880 33 gbqn2upydmbc15dm9h6g 1463027820 1463019420 1463025660 1463022840 1463081940 1463090400 1463084100 1463086920 Europe/Paris 1 7200 200 CEST netball.anchored.accomplice 47.5280523 -2.7687504 47.5279523 -2.7688504 post_office NA France fr Vannes 56370 Brittany 10 SARZEAU, Rue de la Poste, 56370 Sarzeau, France 47.52800 -2.7688 SARZEAU Rue de la Poste Kerjolis Sarzeau

Reverse geocoding

Reverse geocoding is from latitude and longitude to placename(s).

output2 <- opencage_reverse(latitude = 51.5034070, 
                            longitude = -0.1275920)
print(output2$time_stamp)
#> [1] "2016-05-12 14:11:35 CEST"
output2$rate_info %>% knitr::kable()
limit remaining rest
2500 2358 2016-05-13 02:00:00
output2$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSGB.easting annotations.OSGB.gridref annotations.OSGB.northing annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words components._type components.attraction components.city components.country components.country_code components.house_number components.postcode components.road components.state components.state_district components.suburb confidence formatted geometry.lat geometry.lng
51° 30’ 12.38490’’ N 0° 7’ 39.74919’’ E 30UXC9933909723 IO91wm40qt -14216.402 6677371.368 530044.64 TQ 300 799 179939.726 https://www.openstreetmap.org/edit?relation=1879842#map=17/51.50344/-0.12771 https://www.openstreetmap.org/?mlat=51.50344&mlon=-0.12771#map=17/51.50344/-0.12771 44 gcpuvpgj21jujy3ytfp1 1463026320 1463015820 1463023860 1463020560 1463082180 1463092860 1463084640 1463088000 Europe/London 1 3600 100 BST onions.toned.active attraction 10 Downing Street London United Kingdom gb 10 SW1A 2AA Downing Street England Greater London Covent Garden 10 10 Downing Street, London SW1A 2AA, United Kingdom 51.50344 -0.1277081

Output

For both opencage_forward and opencage_reverse functions, the package returns a list with a time stamp for the query, the total number of results, a data.frame (dplyr tbl_df) with information about the remaining calls to the API unless you have an unlimited account, and a data.frame (dplyr tbl_df) with the results corresponding to your query. You can find longitude and latitude for each results as geometry.lat and geometry.lng. Other information includes country and country information, time of sunset and sunrise, geohash (a geocoding system identifying a point with a single string, as explained in many more details here and here; for pure conversion between longitude/latitude and geohashes, see this package). Depending on the data available in the API for the results one gets different columns; there can be a lot to explore!

Parameters

Optional parameters of both opencage_forward and opencage_reverse can make the query more precise:

Below is an example of the use of bounds where the rectangle given in the second call does not include Europe so that we don’t get results for Berlin in Germany.

results1 <- opencage_forward(placename = "Berlin")
results1$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words bounds.northeast.lat bounds.northeast.lng bounds.southwest.lat bounds.southwest.lng components._type components.city components.country components.country_code components.state confidence formatted geometry.lat geometry.lng components.county components.town
52° 31’ 1.33140’’ N 13° 23’ 19.89564’’ E 33UUU9067619766 JO62qm64pc 1490441.066 6860227.862 https://www.openstreetmap.org/edit?node=240109189#map=17/52.51704/13.38886 https://www.openstreetmap.org/?mlat=52.51704&mlon=13.38886#map=17/52.51704/13.38886 49 u33db8mmzj1t355u0c0j 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST third.gurgled.such 52.6770365 13.5488599 52.3570365 13.2288599 city Berlin Germany de Berlin 4 Berlin, Germany 52.51704 13.38886 NA NA
44° 28’ 7.21056’’ N 71° 11’ 6.27612’’ W 19TCK2619726251 FN44jl72sl -7924286.49 5508315.317 https://www.openstreetmap.org/edit?relation=170184#map=17/44.46867/-71.18508 https://www.openstreetmap.org/?mlat=44.46867&mlon=-71.18508#map=17/44.46867/-71.18508 1 drvkupk8g2zdsyw72s2c 1463044740 1463037240 1463042700 1463040180 1463011380 1463018880 1463013360 1463015940 America/New_York 1 -14400 -400 EDT angle.liability.nerve 44.528436 -71.1236419 44.445057 -71.3978579 city Berlin United States of America us New Hampshire 5 Berlin, Coös County, New Hampshire, United States of America 44.46867 -71.18508 Coös County NA
41° 37’ 17.35680’’ N 72° 44’ 44.34648’’ W 18TXM8780710206 FN31po09md -8098008.916 5076059.694 https://www.openstreetmap.org/edit?node=158845944#map=17/41.62149/-72.74565 https://www.openstreetmap.org/?mlat=41.62149&mlon=-72.74565#map=17/41.62149/-72.74565 1 drkkb8unxrwwbsuj9tjy 1463045580 1463038680 1463043660 1463041320 1463011260 1463018160 1463013180 1463015520 America/New_York 1 -14400 -400 EDT frosts.crowds.reef 41.661488 -72.7056518 41.581488 -72.7856518 city NA United States of America us Connecticut 7 Berlin, Hartford County, Connecticut, United States of America 41.62149 -72.74565 Hartford County Berlin
39° 47’ 28.41432’’ N 74° 55’ 44.59260’’ W 18SWK0607404588 FM29ms89mv -8341064.081 4808298.871 https://www.openstreetmap.org/edit?relation=170680#map=17/39.79123/-74.92905 https://www.openstreetmap.org/?mlat=39.79123&mlon=-74.92905#map=17/39.79123/-74.92905 1 dr4dqgy2dw0jyzb7kgs3 1463046360 1463039820 1463044560 1463042280 1463011500 1463018100 1463013360 1463015580 America/New_York 1 -14400 -400 EDT verdict.rushes.upgrading 39.8091498 -74.9079589 39.77601 -74.9661129 city Berlin United States of America us New Jersey 7 Berlin, Camden County, New Jersey, United States of America 39.79123 -74.92905 Camden County NA
42° 22’ 52.33440’’ N 71° 38’ 13.24320’’ W 19TBG8291095470 FN42ej31nl -7974595.698 5189444.074 https://www.openstreetmap.org/edit?relation=1844156#map=17/42.38120/-71.63701 https://www.openstreetmap.org/?mlat=42.38120&mlon=-71.63701#map=17/42.38120/-71.63701 1 drt11g782th32euc09nn 1463045160 1463038140 1463043240 1463040840 1463097540 1463018160 1463013060 1463015460 America/New_York 1 -14400 -400 EDT astonished.rightfully.pythons 42.4182811 -71.5802309 42.3505932 -71.6787957 city Berlin United States of America us Massachusetts 7 Berlin, Worcester County, Massachusetts, United States of America 42.38120 -71.63701 Worcester County NA
38° 19’ 21.41544’’ N 75° 13’ 3.68076’’ W 18SVH8097141633 FM28jh37vk -8373194.849 4598602.233 https://www.openstreetmap.org/edit?relation=133689#map=17/38.32262/-75.21769 https://www.openstreetmap.org/?mlat=38.32262&mlon=-75.21769#map=17/38.32262/-75.21769 1 dqfd02kjkv3cm4dts5ph 1463046660 1463040300 1463044860 1463042700 1463011380 1463017680 1463013120 1463015340 America/New_York 1 -14400 -400 EDT floral.evenly.shortwave 38.355184 -75.1880179 38.308406 -75.2347939 city Berlin United States of America us Maryland 7 Berlin, Worcester County, Maryland, United States of America 38.32262 -75.21769 Worcester County NA
43° 58’ 4.93140’’ N 88° 56’ 36.41136’’ W 16TCP4410170158 EN53mx62sh -9901139.296 5430821.988 https://www.openstreetmap.org/edit?relation=251729#map=17/43.96804/-88.94345 https://www.openstreetmap.org/?mlat=43.96804&mlon=-88.94345#map=17/43.96804/-88.94345 1 dpbf0h1k7kn9fnpft5qz 1463049060 1463041680 1463047080 1463044560 1463015520 1463022960 1463017560 1463020020 America/Chicago 1 -18000 -500 CDT admits.indecision.skins 43.997968 -88.9207259 43.947614 -88.9808519 city City of Berlin United States of America us Wisconsin 7 City of Berlin, Green Lake County, Wisconsin, United States of America 43.96804 -88.94345 Green Lake County NA
39° 55’ 14.29068’’ N 78° 57’ 28.08756’’ W 17SPE7452920945 FM09mw50bw -8789542.324 4826990.633 https://www.openstreetmap.org/edit?relation=189091#map=17/39.92064/-78.95780 https://www.openstreetmap.org/?mlat=39.92064&mlon=-78.95780#map=17/39.92064/-78.95780 1 dppg572dtcgx2cbq86cy 1463047320 1463040720 1463045460 1463043240 1463012520 1463019060 1463014320 1463016600 America/New_York 1 -14400 -400 EDT rangers.chopsticks.crumbs 39.927231 -78.9372069 39.914615 -78.9657809 city Berlin United States of America us Pennsylvania 8 Berlin, Somerset County, Pennsylvania, United States of America 39.92064 -78.95780 Somerset County NA
39° 45’ 32.17932’’ N 89° 54’ 11.38824’’ W 16SBK5129805033 EM59bs12od -10007974.37 4803640.851 https://www.openstreetmap.org/edit?relation=126290#map=17/39.75894/-89.90316 https://www.openstreetmap.org/?mlat=39.75894&mlon=-89.90316#map=17/39.75894/-89.90316 1 dp044jys87qee3bchu0k 1463049960 1463043420 1463048100 1463045880 1463015100 1463021640 1463016900 1463019180 America/Chicago 1 -18000 -500 CDT fluent.mocked.fancied 39.764932 -89.8931649 39.750371 -89.9121009 city Berlin United States of America us Illinois 8 Berlin, Sangamon County, Illinois, United States of America 39.75894 -89.90316 Sangamon County NA
results2 <- opencage_forward(placename = "Berlin",
                             bounds = c(-90,38,0, 45))
results2$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words bounds.northeast.lat bounds.northeast.lng bounds.southwest.lat bounds.southwest.lng components._type components.city components.country components.country_code components.county components.state confidence formatted geometry.lat geometry.lng components.town components.village
44° 28’ 7.21056’’ N 71° 11’ 6.27612’’ W 19TCK2619726251 FN44jl72sl -7924286.49 5508315.317 https://www.openstreetmap.org/edit?relation=170184#map=17/44.46867/-71.18508 https://www.openstreetmap.org/?mlat=44.46867&mlon=-71.18508#map=17/44.46867/-71.18508 1 drvkupk8g2zdsyw72s2c 1463044740 1463037240 1463042700 1463040180 1463011380 1463018880 1463013360 1463015940 America/New_York 1 -14400 -400 EDT angle.liability.nerve 44.528436 -71.1236419 44.445057 -71.3978579 city Berlin United States of America us Coös County New Hampshire 5 Berlin, Coös County, New Hampshire, United States of America 44.46867 -71.18508 NA NA
41° 37’ 17.35680’’ N 72° 44’ 44.34648’’ W 18TXM8780710206 FN31po09md -8098008.916 5076059.694 https://www.openstreetmap.org/edit?node=158845944#map=17/41.62149/-72.74565 https://www.openstreetmap.org/?mlat=41.62149&mlon=-72.74565#map=17/41.62149/-72.74565 1 drkkb8unxrwwbsuj9tjy 1463045580 1463038680 1463043660 1463041320 1463011260 1463018160 1463013180 1463015520 America/New_York 1 -14400 -400 EDT frosts.crowds.reef 41.661488 -72.7056518 41.581488 -72.7856518 city NA United States of America us Hartford County Connecticut 7 Berlin, Hartford County, Connecticut, United States of America 41.62149 -72.74565 Berlin NA
39° 47’ 28.41432’’ N 74° 55’ 44.59260’’ W 18SWK0607404588 FM29ms89mv -8341064.081 4808298.871 https://www.openstreetmap.org/edit?relation=170680#map=17/39.79123/-74.92905 https://www.openstreetmap.org/?mlat=39.79123&mlon=-74.92905#map=17/39.79123/-74.92905 1 dr4dqgy2dw0jyzb7kgs3 1463046360 1463039820 1463044560 1463042280 1463011500 1463018100 1463013360 1463015580 America/New_York 1 -14400 -400 EDT verdict.rushes.upgrading 39.8091498 -74.9079589 39.77601 -74.9661129 city Berlin United States of America us Camden County New Jersey 7 Berlin, Camden County, New Jersey, United States of America 39.79123 -74.92905 NA NA
42° 22’ 52.33440’’ N 71° 38’ 13.24320’’ W 19TBG8291095470 FN42ej31nl -7974595.698 5189444.074 https://www.openstreetmap.org/edit?relation=1844156#map=17/42.38120/-71.63701 https://www.openstreetmap.org/?mlat=42.38120&mlon=-71.63701#map=17/42.38120/-71.63701 1 drt11g782th32euc09nn 1463045160 1463038140 1463043240 1463040840 1463097540 1463018160 1463013060 1463015460 America/New_York 1 -14400 -400 EDT astonished.rightfully.pythons 42.4182811 -71.5802309 42.3505932 -71.6787957 city Berlin United States of America us Worcester County Massachusetts 7 Berlin, Worcester County, Massachusetts, United States of America 42.38120 -71.63701 NA NA
38° 19’ 21.41544’’ N 75° 13’ 3.68076’’ W 18SVH8097141633 FM28jh37vk -8373194.849 4598602.233 https://www.openstreetmap.org/edit?relation=133689#map=17/38.32262/-75.21769 https://www.openstreetmap.org/?mlat=38.32262&mlon=-75.21769#map=17/38.32262/-75.21769 1 dqfd02kjkv3cm4dts5ph 1463046660 1463040300 1463044860 1463042700 1463011380 1463017680 1463013120 1463015340 America/New_York 1 -14400 -400 EDT floral.evenly.shortwave 38.355184 -75.1880179 38.308406 -75.2347939 city Berlin United States of America us Worcester County Maryland 7 Berlin, Worcester County, Maryland, United States of America 38.32262 -75.21769 NA NA
43° 58’ 4.93140’’ N 88° 56’ 36.41136’’ W 16TCP4410170158 EN53mx62sh -9901139.296 5430821.988 https://www.openstreetmap.org/edit?relation=251729#map=17/43.96804/-88.94345 https://www.openstreetmap.org/?mlat=43.96804&mlon=-88.94345#map=17/43.96804/-88.94345 1 dpbf0h1k7kn9fnpft5qz 1463049060 1463041680 1463047080 1463044560 1463015520 1463022960 1463017560 1463020020 America/Chicago 1 -18000 -500 CDT admits.indecision.skins 43.997968 -88.9207259 43.947614 -88.9808519 city City of Berlin United States of America us Green Lake County Wisconsin 7 City of Berlin, Green Lake County, Wisconsin, United States of America 43.96804 -88.94345 NA NA
39° 55’ 14.29068’’ N 78° 57’ 28.08756’’ W 17SPE7452920945 FM09mw50bw -8789542.324 4826990.633 https://www.openstreetmap.org/edit?relation=189091#map=17/39.92064/-78.95780 https://www.openstreetmap.org/?mlat=39.92064&mlon=-78.95780#map=17/39.92064/-78.95780 1 dppg572dtcgx2cbq86cy 1463047320 1463040720 1463045460 1463043240 1463012520 1463019060 1463014320 1463016600 America/New_York 1 -14400 -400 EDT rangers.chopsticks.crumbs 39.927231 -78.9372069 39.914615 -78.9657809 city Berlin United States of America us Somerset County Pennsylvania 8 Berlin, Somerset County, Pennsylvania, United States of America 39.92064 -78.95780 NA NA
39° 45’ 32.17932’’ N 89° 54’ 11.38824’’ W 16SBK5129805033 EM59bs12od -10007974.37 4803640.851 https://www.openstreetmap.org/edit?relation=126290#map=17/39.75894/-89.90316 https://www.openstreetmap.org/?mlat=39.75894&mlon=-89.90316#map=17/39.75894/-89.90316 1 dp044jys87qee3bchu0k 1463049960 1463043420 1463048100 1463045880 1463015100 1463021640 1463016900 1463019180 America/Chicago 1 -18000 -500 CDT fluent.mocked.fancied 39.764932 -89.8931649 39.750371 -89.9121009 city Berlin United States of America us Sangamon County Illinois 8 Berlin, Sangamon County, Illinois, United States of America 39.75894 -89.90316 NA NA
42° 41’ 35.28636’’ N 73° 22’ 19.39728’’ W 18TXN3335128023 FN32hq56ii -8167739.779 5236398.071 https://www.openstreetmap.org/edit?node=158915747#map=17/42.69314/-73.37205 https://www.openstreetmap.org/?mlat=42.69314&mlon=-73.37205#map=17/42.69314/-73.37205 1 dreffkh1e1nwfg7r4r2t 1463045520 1463038440 1463043600 1463041200 1463011560 1463018700 1463013540 1463015940 America/New_York 1 -14400 -400 EDT cartons.eliminates.uses 42.7131351 -73.3520548 42.6731351 -73.3920548 village NA United States of America us Rensselaer County New York 7 Berlin, Rensselaer County, New York, United States of America 42.69314 -73.37205 NA Berlin
40° 33’ 40.22424’’ N 81° 47’ 39.48144’’ W 17TME3275690348 EN90cn44qq -9105299.87 4920037.921 https://www.openstreetmap.org/edit?node=153968558#map=17/40.56117/-81.79430 https://www.openstreetmap.org/?mlat=40.56117&mlon=-81.79430#map=17/40.56117/-81.79430 1 dpjydxzjywtpgn0rxvjf 1463047860 1463041200 1463046060 1463043720 1463013300 1463019960 1463015100 1463017440 America/New_York 1 -14400 -400 EDT sing.quietest.certificate 40.5811734 -81.7743004 40.5411734 -81.8143004 village NA United States of America us Holmes County Ohio 7 Berlin, Holmes County, Ohio, United States of America 40.56117 -81.79430 NA Berlin
results3 <- opencage_forward(placename = "Berlin", country = "DE")
results3$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words bounds.northeast.lat bounds.northeast.lng bounds.southwest.lat bounds.southwest.lng components._type components.city components.country components.country_code components.state confidence formatted geometry.lat geometry.lng components.county components.hamlet components.postcode components.road components.village components.city_district components.house_number components.suburb components.unknown components.restaurant components.building components.residential
52° 31’ 1.33140’’ N 13° 23’ 19.89564’’ E 33UUU9067619766 JO62qm64pc 1490441.066 6860227.862 https://www.openstreetmap.org/edit?node=240109189#map=17/52.51704/13.38886 https://www.openstreetmap.org/?mlat=52.51704&mlon=13.38886#map=17/52.51704/13.38886 49 u33db8mmzj1t355u0c0j 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST third.gurgled.such 52.6770365 13.5488599 52.3570365 13.2288599 city Berlin Germany de Berlin 4 Berlin, Germany 52.51704 13.388860 NA NA NA NA NA NA NA NA NA NA NA NA
54° 2’ 10.89780’’ N 10° 26’ 46.07268’’ E 32UNE9470788534 JO54fa38mr 1162858.017 7142435.831 https://www.openstreetmap.org/edit?node=50798110#map=17/54.03636/10.44613 https://www.openstreetmap.org/?mlat=54.03636&mlon=10.44613#map=17/54.03636/10.44613 49 u1x7mtn8se8n18vzuczv 1463023140 0 1463020440 1463016660 1463080260 0 1463083020 1463086860 Europe/Berlin 1 7200 200 CEST jungle.scaled.quantity 54.0563605 10.4661313 54.0163605 10.4261313 village NA Germany de Schleswig-Holstein 7 23823 Berlin, Germany 54.03636 10.446131 Trave-Land Berlin 23823 NA NA NA NA NA NA NA NA NA
54° 24’ 18.42840’’ N 9° 25’ 55.18776’’ E 32UNF2804128682 JO44rj17uf 1049965.059 7212486.314 https://www.openstreetmap.org/edit?way=68276512#map=17/54.40512/9.43200 https://www.openstreetmap.org/?mlat=54.40512&mlon=9.43200#map=17/54.40512/9.43200 49 u1wtw8hhv3q2jjmfesu3 1463023260 0 1463020560 1463016660 1463080620 0 1463083380 1463087340 Europe/Berlin 1 7200 200 CEST makeups.propelled.panther 54.4069751 9.4342708 54.4029778 9.4299614 road NA Germany de Schleswig-Holstein 10 Berlin, 24848 Klein Bennebek, Germany 54.40512 9.431997 Kropp-Stapelholm NA 24848 Berlin Klein Bennebek NA NA NA NA NA NA NA
52° 30’ 13.47300’’ N 13° 19’ 47.85456’’ E 33UUU8664618379 JO62pm90ov 1483884.315 6857802.372 https://www.openstreetmap.org/edit?node=4012854129#map=17/52.50374/13.32996 https://www.openstreetmap.org/?mlat=52.50374&mlon=13.32996#map=17/52.50374/13.32996 49 u336xq486wfr91wcvvev 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST touchy.candle.reserved 52.5037925 13.3300096 52.5036925 13.3299096 building NA Germany de Berlin 10 Berlin, Kurfürstendamm 21, 10719 Berlin, Germany 52.50374 13.329960 NA NA 10719 Kurfürstendamm NA Charlottenburg-Wilmersdorf 21 Charlottenburg Berlin NA NA NA
52° 19’ 25.76604’’ N 9° 48’ 22.74660’’ E 32UNC5495397361 JO42vh67sr 1091634.382 6825048.473 https://www.openstreetmap.org/edit?node=260139043#map=17/52.32382/9.80632 https://www.openstreetmap.org/?mlat=52.32382&mlon=9.80632#map=17/52.32382/9.80632 49 u1qcxjk8rg9p397vepz1 1463023740 1463012460 1463021220 1463017740 1463079960 1463091540 1463082540 1463086020 Europe/Berlin 1 7200 200 CEST dial.vine.finders 52.3238739 9.8063685 52.3237739 9.8062685 restaurant Hanover Germany de Lower Saxony 10 Berlin, 4. Allee, 30521 Hanover, Germany 52.32382 9.806318 Region Hannover NA 30521 4. Allee NA Döhren-Wülfel NA Mittelfeld NA Berlin NA NA
52° 22’ 12.67680’’ N 9° 45’ 10.62252’’ E 32UND5126202479 JO42vi08iu 1085693.506 6833476.151 https://www.openstreetmap.org/edit?node=320881943#map=17/52.37019/9.75295 https://www.openstreetmap.org/?mlat=52.37019&mlon=9.75295#map=17/52.37019/9.75295 49 u1qcvvtyknx5um9fq9f9 1463023740 1463012400 1463021220 1463017740 1463080020 1463091600 1463082540 1463086080 Europe/Berlin 1 7200 200 CEST army.outdoors.hitters 52.370238 9.7530007 52.370138 9.7529007 road Hanover Germany de Lower Saxony 10 Berliner Allee, 30175 Hanover, Germany 52.37019 9.752951 Region Hannover NA 30175 Berliner Allee NA South-City-Bult NA South-City Berlin NA NA NA
52° 30’ 20.91132’’ N 13° 19’ 56.43624’’ E 33UUU8681318605 JO62pm91vj 1484149.678 6858179.301 https://www.openstreetmap.org/edit?node=3889599519#map=17/52.50581/13.33234 https://www.openstreetmap.org/?mlat=52.50581&mlon=13.33234#map=17/52.50581/13.33234 49 u336xqkkd05ubvhv9zd8 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST empire.opposite.unwell 52.5058587 13.3323934 52.5057587 13.3322934 building NA Germany de Berlin 10 Berlin, Hardenbergstraße 27-28a, 10623 Berlin, Germany 52.50581 13.332343 NA NA 10623 Hardenbergstraße NA Charlottenburg-Wilmersdorf 27-28a Charlottenburg Berlin NA NA NA
53° 51’ 4.53384’’ N 10° 40’ 56.93196’’ E 32UPE1067368285 JO53iu14vh 1189168.356 7107508.609 https://www.openstreetmap.org/edit?node=1630863689#map=17/53.85126/10.68248 https://www.openstreetmap.org/?mlat=53.85126&mlon=10.68248#map=17/53.85126/10.68248 49 u1xd756drf74zwdx76by 1463023140 0 1463020440 1463016720 1463080200 0 1463082840 1463086680 Europe/Berlin 1 7200 200 CEST chase.pencils.themes 53.8513094 10.6825311 53.8512094 10.6824311 road Lübeck Germany de Schleswig-Holstein 10 Berliner Platz, 23560 Lübeck, Germany 53.85126 10.682481 NA NA 23560 Berliner Platz NA Sankt Jürgen NA Hüxtertor / Mühlentor / Gärtnergasse Berlin NA NA NA
52° 27’ 24.31584’’ N 13° 34’ 45.17324’’ E 33UVU0346012790 JO62sk99mo 1511631.276 6849235.295 https://www.openstreetmap.org/edit?way=168058334#map=17/52.45675/13.57921 https://www.openstreetmap.org/?mlat=52.45675&mlon=13.57921#map=17/52.45675/13.57921 49 u33dmj2ndxu2tewv03c0 1463022840 1463011380 1463020260 1463016780 1463079120 1463090820 1463081640 1463085180 Europe/Berlin 1 7200 200 CEST fields.lists.impulse 52.4569793 13.5798073 52.4565392 13.5784995 building NA Germany de Berlin 10 Vitanas Seniorencentrum, Parrisiusstraße 4-14, 12555 Berlin, Germany 52.45675 13.579215 NA NA 12555 Parrisiusstraße NA Treptow-Köpenick 4-14 Köpenick NA NA Vitanas Seniorencentrum Dammvorstadt
results3$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words bounds.northeast.lat bounds.northeast.lng bounds.southwest.lat bounds.southwest.lng components._type components.city components.country components.country_code components.state confidence formatted geometry.lat geometry.lng components.county components.hamlet components.postcode components.road components.village components.city_district components.house_number components.suburb components.unknown components.restaurant components.building components.residential
52° 31’ 1.33140’’ N 13° 23’ 19.89564’’ E 33UUU9067619766 JO62qm64pc 1490441.066 6860227.862 https://www.openstreetmap.org/edit?node=240109189#map=17/52.51704/13.38886 https://www.openstreetmap.org/?mlat=52.51704&mlon=13.38886#map=17/52.51704/13.38886 49 u33db8mmzj1t355u0c0j 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST third.gurgled.such 52.6770365 13.5488599 52.3570365 13.2288599 city Berlin Germany de Berlin 4 Berlin, Germany 52.51704 13.388860 NA NA NA NA NA NA NA NA NA NA NA NA
54° 2’ 10.89780’’ N 10° 26’ 46.07268’’ E 32UNE9470788534 JO54fa38mr 1162858.017 7142435.831 https://www.openstreetmap.org/edit?node=50798110#map=17/54.03636/10.44613 https://www.openstreetmap.org/?mlat=54.03636&mlon=10.44613#map=17/54.03636/10.44613 49 u1x7mtn8se8n18vzuczv 1463023140 0 1463020440 1463016660 1463080260 0 1463083020 1463086860 Europe/Berlin 1 7200 200 CEST jungle.scaled.quantity 54.0563605 10.4661313 54.0163605 10.4261313 village NA Germany de Schleswig-Holstein 7 23823 Berlin, Germany 54.03636 10.446131 Trave-Land Berlin 23823 NA NA NA NA NA NA NA NA NA
54° 24’ 18.42840’’ N 9° 25’ 55.18776’’ E 32UNF2804128682 JO44rj17uf 1049965.059 7212486.314 https://www.openstreetmap.org/edit?way=68276512#map=17/54.40512/9.43200 https://www.openstreetmap.org/?mlat=54.40512&mlon=9.43200#map=17/54.40512/9.43200 49 u1wtw8hhv3q2jjmfesu3 1463023260 0 1463020560 1463016660 1463080620 0 1463083380 1463087340 Europe/Berlin 1 7200 200 CEST makeups.propelled.panther 54.4069751 9.4342708 54.4029778 9.4299614 road NA Germany de Schleswig-Holstein 10 Berlin, 24848 Klein Bennebek, Germany 54.40512 9.431997 Kropp-Stapelholm NA 24848 Berlin Klein Bennebek NA NA NA NA NA NA NA
52° 30’ 13.47300’’ N 13° 19’ 47.85456’’ E 33UUU8664618379 JO62pm90ov 1483884.315 6857802.372 https://www.openstreetmap.org/edit?node=4012854129#map=17/52.50374/13.32996 https://www.openstreetmap.org/?mlat=52.50374&mlon=13.32996#map=17/52.50374/13.32996 49 u336xq486wfr91wcvvev 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST touchy.candle.reserved 52.5037925 13.3300096 52.5036925 13.3299096 building NA Germany de Berlin 10 Berlin, Kurfürstendamm 21, 10719 Berlin, Germany 52.50374 13.329960 NA NA 10719 Kurfürstendamm NA Charlottenburg-Wilmersdorf 21 Charlottenburg Berlin NA NA NA
52° 19’ 25.76604’’ N 9° 48’ 22.74660’’ E 32UNC5495397361 JO42vh67sr 1091634.382 6825048.473 https://www.openstreetmap.org/edit?node=260139043#map=17/52.32382/9.80632 https://www.openstreetmap.org/?mlat=52.32382&mlon=9.80632#map=17/52.32382/9.80632 49 u1qcxjk8rg9p397vepz1 1463023740 1463012460 1463021220 1463017740 1463079960 1463091540 1463082540 1463086020 Europe/Berlin 1 7200 200 CEST dial.vine.finders 52.3238739 9.8063685 52.3237739 9.8062685 restaurant Hanover Germany de Lower Saxony 10 Berlin, 4. Allee, 30521 Hanover, Germany 52.32382 9.806318 Region Hannover NA 30521 4. Allee NA Döhren-Wülfel NA Mittelfeld NA Berlin NA NA
52° 22’ 12.67680’’ N 9° 45’ 10.62252’’ E 32UND5126202479 JO42vi08iu 1085693.506 6833476.151 https://www.openstreetmap.org/edit?node=320881943#map=17/52.37019/9.75295 https://www.openstreetmap.org/?mlat=52.37019&mlon=9.75295#map=17/52.37019/9.75295 49 u1qcvvtyknx5um9fq9f9 1463023740 1463012400 1463021220 1463017740 1463080020 1463091600 1463082540 1463086080 Europe/Berlin 1 7200 200 CEST army.outdoors.hitters 52.370238 9.7530007 52.370138 9.7529007 road Hanover Germany de Lower Saxony 10 Berliner Allee, 30175 Hanover, Germany 52.37019 9.752951 Region Hannover NA 30175 Berliner Allee NA South-City-Bult NA South-City Berlin NA NA NA
52° 30’ 20.91132’’ N 13° 19’ 56.43624’’ E 33UUU8681318605 JO62pm91vj 1484149.678 6858179.301 https://www.openstreetmap.org/edit?node=3889599519#map=17/52.50581/13.33234 https://www.openstreetmap.org/?mlat=52.50581&mlon=13.33234#map=17/52.50581/13.33234 49 u336xqkkd05ubvhv9zd8 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST empire.opposite.unwell 52.5058587 13.3323934 52.5057587 13.3322934 building NA Germany de Berlin 10 Berlin, Hardenbergstraße 27-28a, 10623 Berlin, Germany 52.50581 13.332343 NA NA 10623 Hardenbergstraße NA Charlottenburg-Wilmersdorf 27-28a Charlottenburg Berlin NA NA NA
53° 51’ 4.53384’’ N 10° 40’ 56.93196’’ E 32UPE1067368285 JO53iu14vh 1189168.356 7107508.609 https://www.openstreetmap.org/edit?node=1630863689#map=17/53.85126/10.68248 https://www.openstreetmap.org/?mlat=53.85126&mlon=10.68248#map=17/53.85126/10.68248 49 u1xd756drf74zwdx76by 1463023140 0 1463020440 1463016720 1463080200 0 1463082840 1463086680 Europe/Berlin 1 7200 200 CEST chase.pencils.themes 53.8513094 10.6825311 53.8512094 10.6824311 road Lübeck Germany de Schleswig-Holstein 10 Berliner Platz, 23560 Lübeck, Germany 53.85126 10.682481 NA NA 23560 Berliner Platz NA Sankt Jürgen NA Hüxtertor / Mühlentor / Gärtnergasse Berlin NA NA NA
52° 27’ 24.31584’’ N 13° 34’ 45.17324’’ E 33UVU0346012790 JO62sk99mo 1511631.276 6849235.295 https://www.openstreetmap.org/edit?way=168058334#map=17/52.45675/13.57921 https://www.openstreetmap.org/?mlat=52.45675&mlon=13.57921#map=17/52.45675/13.57921 49 u33dmj2ndxu2tewv03c0 1463022840 1463011380 1463020260 1463016780 1463079120 1463090820 1463081640 1463085180 Europe/Berlin 1 7200 200 CEST fields.lists.impulse 52.4569793 13.5798073 52.4565392 13.5784995 building NA Germany de Berlin 10 Vitanas Seniorencentrum, Parrisiusstraße 4-14, 12555 Berlin, Germany 52.45675 13.579215 NA NA 12555 Parrisiusstraße NA Treptow-Köpenick 4-14 Köpenick NA NA Vitanas Seniorencentrum Dammvorstadt
results4 <- opencage_forward(placename = "Berlin", country = "DE", language = "de")
results4$results %>% knitr::kable()
annotations.DMS.lat annotations.DMS.lng annotations.MGRS annotations.Maidenhead annotations.Mercator.x annotations.Mercator.y annotations.OSM.edit_url annotations.OSM.url annotations.callingcode annotations.geohash annotations.sun.rise.apparent annotations.sun.rise.astronomical annotations.sun.rise.civil annotations.sun.rise.nautical annotations.sun.set.apparent annotations.sun.set.astronomical annotations.sun.set.civil annotations.sun.set.nautical annotations.timezone.name annotations.timezone.now_in_dst annotations.timezone.offset_sec annotations.timezone.offset_string annotations.timezone.short_name annotations.what3words.words bounds.northeast.lat bounds.northeast.lng bounds.southwest.lat bounds.southwest.lng components._type components.city components.country components.country_code components.state confidence formatted geometry.lat geometry.lng components.county components.hamlet components.postcode components.road components.village components.city_district components.house_number components.suburb components.unknown components.restaurant components.building components.residential
52° 31’ 1.33140’’ N 13° 23’ 19.89564’’ E 33UUU9067619766 JO62qm64pc 1490441.066 6860227.862 https://www.openstreetmap.org/edit?node=240109189#map=17/52.51704/13.38886 https://www.openstreetmap.org/?mlat=52.51704&mlon=13.38886#map=17/52.51704/13.38886 49 u33db8mmzj1t355u0c0j 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST nirgends.digitalen.landkarte 52.6770365 13.5488599 52.3570365 13.2288599 city Berlin Deutschland de Berlin 4 Berlin, Deutschland 52.51704 13.388860 NA NA NA NA NA NA NA NA NA NA NA NA
54° 2’ 10.89780’’ N 10° 26’ 46.07268’’ E 32UNE9470788534 JO54fa38mr 1162858.017 7142435.831 https://www.openstreetmap.org/edit?node=50798110#map=17/54.03636/10.44613 https://www.openstreetmap.org/?mlat=54.03636&mlon=10.44613#map=17/54.03636/10.44613 49 u1x7mtn8se8n18vzuczv 1463023140 0 1463020440 1463016660 1463080260 0 1463083020 1463086860 Europe/Berlin 1 7200 200 CEST zusehen.sicht.besucht 54.0563605 10.4661313 54.0163605 10.4261313 village NA Deutschland de Schleswig-Holstein 7 23823 Berlin, Deutschland 54.03636 10.446131 Trave-Land Berlin 23823 NA NA NA NA NA NA NA NA NA
54° 24’ 18.42840’’ N 9° 25’ 55.18776’’ E 32UNF2804128682 JO44rj17uf 1049965.059 7212486.314 https://www.openstreetmap.org/edit?way=68276512#map=17/54.40512/9.43200 https://www.openstreetmap.org/?mlat=54.40512&mlon=9.43200#map=17/54.40512/9.43200 49 u1wtw8hhv3q2jjmfesu3 1463023260 0 1463020560 1463016660 1463080620 0 1463083380 1463087340 Europe/Berlin 1 7200 200 CEST niedrig.sicher.kranz 54.4069751 9.4342708 54.4029778 9.4299614 road NA Deutschland de Schleswig-Holstein 10 Berlin, 24848 Klein Bennebek, Deutschland 54.40512 9.431997 Kropp-Stapelholm NA 24848 Berlin Klein Bennebek NA NA NA NA NA NA NA
52° 30’ 13.47300’’ N 13° 19’ 47.85456’’ E 33UUU8664618379 JO62pm90ov 1483884.315 6857802.372 https://www.openstreetmap.org/edit?node=4012854129#map=17/52.50374/13.32996 https://www.openstreetmap.org/?mlat=52.50374&mlon=13.32996#map=17/52.50374/13.32996 49 u336xq486wfr91wcvvev 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST abgekürzt.vergabe.bequem 52.5037925 13.3300096 52.5036925 13.3299096 building NA Deutschland de Berlin 10 Berlin, Kurfürstendamm 21, 10719 Berlin, Deutschland 52.50374 13.329960 NA NA 10719 Kurfürstendamm NA Charlottenburg-Wilmersdorf 21 Charlottenburg Berlin NA NA NA
52° 19’ 25.76604’’ N 9° 48’ 22.74660’’ E 32UNC5495397361 JO42vh67sr 1091634.382 6825048.473 https://www.openstreetmap.org/edit?node=260139043#map=17/52.32382/9.80632 https://www.openstreetmap.org/?mlat=52.32382&mlon=9.80632#map=17/52.32382/9.80632 49 u1qcxjk8rg9p397vepz1 1463023740 1463012460 1463021220 1463017740 1463079960 1463091540 1463082540 1463086020 Europe/Berlin 1 7200 200 CEST erreichte.kreis.knopf 52.3238739 9.8063685 52.3237739 9.8062685 restaurant Hannover Deutschland de Niedersachsen 10 Berlin, 4. Allee, 30521 Hannover, Deutschland 52.32382 9.806318 Region Hannover NA 30521 4. Allee NA Döhren-Wülfel NA Mittelfeld NA Berlin NA NA
52° 22’ 12.67680’’ N 9° 45’ 10.62252’’ E 32UND5126202479 JO42vi08iu 1085693.506 6833476.151 https://www.openstreetmap.org/edit?node=320881943#map=17/52.37019/9.75295 https://www.openstreetmap.org/?mlat=52.37019&mlon=9.75295#map=17/52.37019/9.75295 49 u1qcvvtyknx5um9fq9f9 1463023740 1463012400 1463021220 1463017740 1463080020 1463091600 1463082540 1463086080 Europe/Berlin 1 7200 200 CEST greift.zentrum.teilt 52.370238 9.7530007 52.370138 9.7529007 road Hannover Deutschland de Niedersachsen 10 Berliner Allee, 30175 Hannover, Deutschland 52.37019 9.752951 Region Hannover NA 30175 Berliner Allee NA Südstadt-Bult NA Südstadt Berlin NA NA NA
52° 30’ 20.91132’’ N 13° 19’ 56.43624’’ E 33UUU8681318605 JO62pm91vj 1484149.678 6858179.301 https://www.openstreetmap.org/edit?node=3889599519#map=17/52.50581/13.33234 https://www.openstreetmap.org/?mlat=52.50581&mlon=13.33234#map=17/52.50581/13.33234 49 u336xqkkd05ubvhv9zd8 1463022840 1463011380 1463020320 1463016840 1463079180 1463090940 1463081760 1463085240 Europe/Berlin 1 7200 200 CEST übungen.schon.furcht 52.5058587 13.3323934 52.5057587 13.3322934 building NA Deutschland de Berlin 10 Berlin, Hardenbergstraße 27-28a, 10623 Berlin, Deutschland 52.50581 13.332343 NA NA 10623 Hardenbergstraße NA Charlottenburg-Wilmersdorf 27-28a Charlottenburg Berlin NA NA NA
53° 51’ 4.53384’’ N 10° 40’ 56.93196’’ E 32UPE1067368285 JO53iu14vh 1189168.356 7107508.609 https://www.openstreetmap.org/edit?node=1630863689#map=17/53.85126/10.68248 https://www.openstreetmap.org/?mlat=53.85126&mlon=10.68248#map=17/53.85126/10.68248 49 u1xd756drf74zwdx76by 1463023140 0 1463020440 1463016720 1463080200 0 1463082840 1463086680 Europe/Berlin 1 7200 200 CEST umzug.hübsch.tapfer 53.8513094 10.6825311 53.8512094 10.6824311 road Lübeck Deutschland de Schleswig-Holstein 10 Berliner Platz, 23560 Lübeck, Deutschland 53.85126 10.682481 NA NA 23560 Berliner Platz NA Sankt Jürgen NA Hüxtertor / Mühlentor / Gärtnergasse Berlin NA NA NA
52° 27’ 24.31584’’ N 13° 34’ 45.17324’’ E 33UVU0346012790 JO62sk99mo 1511631.276 6849235.295 https://www.openstreetmap.org/edit?way=168058334#map=17/52.45675/13.57921 https://www.openstreetmap.org/?mlat=52.45675&mlon=13.57921#map=17/52.45675/13.57921 49 u33dmj2ndxu2tewv03c0 1463022840 1463011380 1463020260 1463016780 1463079120 1463090820 1463081640 1463085180 Europe/Berlin 1 7200 200 CEST allein.ausübt.schock 52.4569793 13.5798073 52.4565392 13.5784995 building NA Deutschland de Berlin 10 Vitanas Seniorencentrum, Parrisiusstraße 4-14, 12555 Berlin, Deutschland 52.45675 13.579215 NA NA 12555 Parrisiusstraße NA Treptow-Köpenick 4-14 Köpenick NA NA Vitanas Seniorencentrum Dammvorstadt

For more information about the output and the query parameters, see the package documentation, the API doc and OpenCage FAQ.

Caching

The underlying data at OpenCage is updated about once a day. Note that the package uses memoise with no timeout argument so that results are cached inside an active R session.

system.time(opencage_reverse(latitude = 10, longitude = 10))
#>    user  system elapsed 
#>    0.03    0.00    0.34

system.time(opencage_reverse(latitude = 10, longitude = 10))
#>    user  system elapsed 
#>       0       0       0

memoise::forget(opencage_reverse)
#> [1] TRUE
system.time(opencage_reverse(latitude = 10, longitude = 10))
#>    user  system elapsed 
#>    0.00    0.00    0.34