Lookups
These example csvpaths create an index of zipcodes by city and perform lookups against it.
The data comes from data.gov: catalog.data.gov/dataset/boundaries-us-zip-codes. The extensive geo-coding data was removed for brevity.

To run this example:
Stage
Boundaries_US_Zip_Codes.csvas a named-file calledzipsLoad
index_zipcodes.csvpathsas a named-paths group calledzip_indexLoad
zipcoode_looksups.csvpathsas a named-paths group calledzip_lookupsRun
zip_indexagainst the named-filezipsRun
zip_lookupsagainst the named-filezips
Staging named-files and loading named-paths groups are options on the context menu when you right-click a filename in the project directory tree on the left.
To run, right click on either the named-file folder or the named-paths folder in the windows on the right-hand side and select New run.
The result is a variable "a" with the value of Boston's zipcode
Last updated