This section has the scripts required to perform GeoTAX operation for different types of formats.
Below is the example showing use of GeoTAX operation:.
- Performing GeoTAX in Snowflake
environment:
create or replace table geotax_result as select ID,addressline1,city,state,zip, object_construct( 'addressId', iff(ID is not null, ID,''), 'addressLines', array_construct(iff(ADDRESSLINE1 is not null, ADDRESSLINE1,'')), 'admin1', state, 'city', city, 'postalCode', zip ) as geotaxObject , geotax_address(geotaxObject) as geotaxResponse from GEOTAX_LOCATIONS order by zip;