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
-
Watch this YouTube video:
- For an overall overview of the GeoAnalytics or Location Analytics capabilities of Spotfire please also review this page.
- Useful Geospatial Data Functions for Spotfire
Recommended Comments
There are no comments to display.