Jump to content
  • This article provides information about the Location Geocoder Data Function for Spotfire, which takes address information as input and returns latitude and longitude coordinates in a new table that can be linked back to the original data table.

    Please download the Location Geocoder Data Function for Spotfire from the exchange. 

    Overview

    This function takes address info and returns a latitude and longitude coordinate in a new table that can be joined back to the original table.  The download contains a data function you can import into your own .dxp. 

    Details about the data function

    Programing Language: TERR
    Required Packages: jsonlite, curl
    Inputs:

    • YOUR_API_KEY - Value for your purchased TIBCO® Geoanalytics Builder API Key (contact askdatascience@tibco.com for more info)

    • country - Column for country code in ISO 3166-2 Standard (reference: https://en.wikipedia.org/wiki/ISO_3166- 2)

    • zip - Column for Zip Code of address

    • street - Column of Street Addresses

    • city - Column for City name of address

    • state - Column for State name of address

    Outputs:

    • result.df - Table of inputs columns with Longitude and Latitude outputs. Can be joined back to the original data table.

    Reference Info


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...