...
Before starting this exercise, you will need to download a pack of files. These are available here: download train.zip. Save these Extract the files to a convenient location on your local drive, and unzip. Throughout the course, these will be referred to as the input files.
...
- Hover over your new file collector, and press click
.Insert excerpt _upload_file _upload_file nopanel true - In the file explorer, go to: …\inputData\AddressCheck\custAddrFiles\input.
- Select the file custAddr_20090322_1.txt and press click Open.
- In the Upload Managed File form, press Upload.You will see a stream appear on your model – window, click the
button.Insert excerpt _upload_button _upload_button nopanel true - PhixFlow adds a new stream to your model. PhixFlow has automatically configured the file collector and the stream to load the file into PhixFlow.
...
In this case, once you have loaded the file, you will "pause" the file data so that you do not need to reload the file from your computer every time you run the model.
We will cover pausing components in PhixFlow in more detail in the Modelling Concepts course.
To pause the data loaded from the file:
- Hover In your model, hover your mouse pointer over the stream (the icon on your model) for
CustomerAddresses
. - In the pop-up toolbar, click
.Insert excerpt _static _static nopanel true
...
You will now run analysis on your new stream. Analysis is the process that does all PhixFlow's data processing.
To run analysis:
- Hover In your model, hover your mouse pointer over the stream icon .
- In the pop-up toolbar, select the
. This will run the stream, and read PhixFlow runs the model, reading in data from the file of customer addresses via the file collector.Insert excerpt _run_analysis _run_analysis nopanel true - You will get a confirmation message when this has completed. We will look at messages in the console later.
...
To view the data you just loaded:
- Hover In your model, hover your mouse pointer over the stream , and in icon .
- In the pop-up toolbar, click
.Insert excerpt _stream_views _stream_views nopanel true - In the drop-down list, select
.Insert excerpt _view_default _view_default nopanel true