A file containing a mapping of Counties to Regions can be found in the input files, at: …\inputData\AddressCheck\regionsByCounty\regionsByCounty.xlsx You will use this data to find the Region for each of the customer addresses that you have already loaded. Notice that there is a header line in this file with the column names of the data. Add a new file collector to read this file into the new model you created in exercise 1:
Drag File Collector onto the model.
In the new file collector form that pops up, enter the Name: Regions by County.
Press OK.
You will now see the new file collector in the model.
Save the model.
Set up File Collector and table
Hover over your newFile Collector, and press Upload File
In the file explorer, go to: …\inputData\AddressCheck\regionsByCounty
Select the file regionsByCounty.xlsx and press Open.
In the Upload Managed File form, press Upload.
You will see a table appear on your model – PhixFlow has automatically configured the file collector and the table to load the file into PhixFlow.
Pause file data
To pause the data loaded from the file:
Hover over the table RegionsByCounty.
In the hover menu press Static.
Run Analysis and view table data
Hover over your new table, and press Run Analysisin the hover menu.
Wait for your task to complete.
View the data: hover over the table and in the hover menu press Show view.