url <- geocode("404 Wyman St #300, Waltham, MA, 02451, United Sates", url_only = TRUE)
json <- hereR:::.get_content(url)
#> Sending 1 request(s) to: 'https://geocode.search.hereapi.com/v1/geocode?...'
#> Received 1 response(s) with total size: 4.5 Kb
jsonlite::prettify(json)
#> {
#> "items": [
#> {
#> "title": "404 Wyman St, Broken Hill NSW 2880, Australia",
#> "id": "here:af:streetsection:mz6vcU0tg6ShaiNMU0dbkD:CggIBCD0kr2eARABGgM0MDQoZA",
#> "resultType": "houseNumber",
#> "houseNumberType": "PA",
#> "address": {
#> "label": "404 Wyman St, Broken Hill NSW 2880, Australia",
#> "countryCode": "AUS",
#> "countryName": "Australia",
#> "stateCode": "NSW",
#> "state": "New South Wales",
#> "city": "Broken Hill",
#> "street": "Wyman St",
#> "postalCode": "2880",
#> "houseNumber": "404"
#> },
#> "position": {
#> "lat": -31.94001,
#> "lng": 141.45513
#> },
#> "access": [
#> {
#> "lat": -31.94031,
#> "lng": 141.45538
#> }
#> ],
#> "mapView": {
#> "west": 141.45407,
#> "south": -31.94091,
#> "east": 141.45619,
#> "north": -31.93911
#> },
#> "scoring": {
#> "queryScore": 1.0,
#> "fieldScore": {
#> "streets": [
#> 1.0
#> ],
#> "houseNumber": 1.0
#> }
#> }
#> },
#> {
#> "title": "404 Wyman St, Waltham, MA 02451-1210, United States",
#> "id": "here:af:streetsection:8XJ.l40GZCw2R4HVzpIpiC:CgcIBCDVmqsfEAEaAzQwNChk",
#> "resultType": "houseNumber",
#> "houseNumberType": "PA",
#> "address": {
#> "label": "404 Wyman St, Waltham, MA 02451-1210, United States",
#> "countryCode": "USA",
#> "countryName": "United States",
#> "stateCode": "MA",
#> "state": "Massachusetts",
#> "county": "Middlesex",
#> "city": "Waltham",
#> "district": "Piety Corner",
#> "street": "Wyman St",
#> "postalCode": "02451-1210",
#> "houseNumber": "404"
#> },
#> "position": {
#> "lat": 42.40847,
#> "lng": -71.25705
#> },
#> "access": [
#> {
#> "lat": 42.4098,
#> "lng": -71.25522
#> }
#> ],
#> "mapView": {
#> "west": -71.25962,
#> "south": 42.40657,
#> "east": -71.25448,
#> "north": 42.41037
#> },
#> "scoring": {
#> "queryScore": 1.0,
#> "fieldScore": {
#> "streets": [
#> 1.0
#> ],
#> "houseNumber": 1.0
#> }
#> }
#> },
#> {
#> "title": "404 Wyman St, New London, WI 54961-1431, United States",
#> "id": "here:af:streetsection:0Wc-8Kpo2X-DxR6cktglqA:EAIaAzQwNChk",
#> "resultType": "houseNumber",
#> "houseNumberType": "interpolated",
#> "address": {
#> "label": "404 Wyman St, New London, WI 54961-1431, United States",
#> "countryCode": "USA",
#> "countryName": "United States",
#> "stateCode": "WI",
#> "state": "Wisconsin",
#> "county": "Waupaca",
#> "city": "New London",
#> "street": "Wyman St",
#> "postalCode": "54961-1431",
#> "houseNumber": "404"
#> },
#> "position": {
#> "lat": 44.38946,
#> "lng": -88.74292
#> },
#> "access": [
#> {
#> "lat": 44.38946,
#> "lng": -88.74311
#> }
#> ],
#> "mapView": {
#> "west": -88.74418,
#> "south": 44.38856,
#> "east": -88.74166,
#> "north": 44.39036
#> },
#> "scoring": {
#> "queryScore": 1.0,
#> "fieldScore": {
#> "streets": [
#> 1.0
#> ],
#> "houseNumber": 1.0
#> }
#> }
#> },
#> {
#> "title": "404 Wyman St, Sycamore, IL 60178, United States",
#> "id": "here:af:streetsection:lFOA2H38U-uR1ES9DkVqWD:EAIaAzQwNChk",
#> "resultType": "houseNumber",
#> "houseNumberType": "interpolated",
#> "address": {
#> "label": "404 Wyman St, Sycamore, IL 60178, United States",
#> "countryCode": "USA",
#> "countryName": "United States",
#> "stateCode": "IL",
#> "state": "Illinois",
#> "county": "Dekalb",
#> "city": "Sycamore",
#> "street": "Wyman St",
#> "postalCode": "60178",
#> "houseNumber": "404"
#> },
#> "position": {
#> "lat": 41.97939,
#> "lng": -88.69335
#> },
#> "access": [
#> {
#> "lat": 41.97952,
#> "lng": -88.69335
#> }
#> ],
#> "mapView": {
#> "west": -88.69456,
#> "south": 41.97849,
#> "east": -88.69214,
#> "north": 41.98029
#> },
#> "scoring": {
#> "queryScore": 1.0,
#> "fieldScore": {
#> "streets": [
#> 1.0
#> ],
#> "houseNumber": 1.0
#> }
#> }
#> },
#> {
#> "title": "404 Wyman St, Sheldon, IA 51201-1953, United States",
#> "id": "here:af:streetsection:X8Fr32OEG0xlH8mOTnq.KB:EAIaAzQwNChk",
#> "resultType": "houseNumber",
#> "houseNumberType": "interpolated",
#> "address": {
#> "label": "404 Wyman St, Sheldon, IA 51201-1953, United States",
#> "countryCode": "USA",
#> "countryName": "United States",
#> "stateCode": "IA",
#> "state": "Iowa",
#> "county": "Obrien",
#> "city": "Sheldon",
#> "street": "Wyman St",
#> "postalCode": "51201-1953",
#> "houseNumber": "404"
#> },
#> "position": {
#> "lat": 43.17528,
#> "lng": -95.85585
#> },
#> "access": [
#> {
#> "lat": 43.17541,
#> "lng": -95.8558
#> }
#> ],
#> "mapView": {
#> "west": -95.85708,
#> "south": 43.17438,
#> "east": -95.85462,
#> "north": 43.17618
#> },
#> "scoring": {
#> "queryScore": 1.0,
#> "fieldScore": {
#> "streets": [
#> 1.0
#> ],
#> "houseNumber": 1.0
#> }
#> }
#> },
#> {
#> "title": "404 Wyman St, West Union, IL 62477, United States",
#> "id": "here:af:streetsection:NJp8Mz2tM6T8d98cVnYH7C:EAIaAzQwNChk",
#> "resultType": "houseNumber",
#> "houseNumberType": "interpolated",
#> "address": {
#> "label": "404 Wyman St, West Union, IL 62477, United States",
#> "countryCode": "USA",
#> "countryName": "United States",
#> "stateCode": "IL",
#> "state": "Illinois",
#> "county": "Clark",
#> "city": "West Union",
#> "street": "Wyman St",
#> "postalCode": "62477",
#> "houseNumber": "404"
#> },
#> "position": {
#> "lat": 39.21663,
#> "lng": -87.66111
#> },
#> "access": [
#> {
#> "lat": 39.21666,
#> "lng": -87.66128
#> }
#> ],
#> "mapView": {
#> "west": -87.66227,
#> "south": 39.21573,
#> "east": -87.65995,
#> "north": 39.21753
#> },
#> "scoring": {
#> "queryScore": 1.0,
#> "fieldScore": {
#> "streets": [
#> 1.0
#> ],
#> "houseNumber": 1.0
#> }
#> }
#> }
#> ]
#> }
#>