...
- Create File Collectors and Streams to read data from files into PhixFlow
- Run Analysis on Streams
- View Stream data
Anchor |
---|
| _Ref393297067 |
---|
| _Ref393297067 |
---|
|
Anchor |
---|
| _Toc442889039 |
---|
| _Toc442889039 |
---|
|
Create a new File CollectorA file containing details of customer addresses can be found in the input files, at:
…\inputData\AddressCheck\custAddrFiles\input\custAddr_20090322_1.txt
Open this file and have a look at the data in it.
Notice, in particular, that there is a header line in the file with the column names of the data in the file.
Add a new File Collector to your model to read this file into PhixFlow:
You will see a Stream appear on your model – PhixFlow has automatically configured the File Collector and the Stream to load the file into PhixFlow.
Anchor |
---|
| _Toc442889041 |
---|
| _Toc442889041 |
---|
|
Pause file dataIn this course you will build up a model by adding components and running them. In PhixFlow, running a component causes each of its inputs to also run. This is so that you only need to run the final component in a model and it will, in turn, run everything needed to populate this component all the way back to the raw inputs to PhixFlow (via file collectors and database collectors).
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 over the stream (the icon on your model) CustomerAddresses
- In the hover menu press
Anchor |
---|
| _Toc442889042 |
---|
| _Toc442889042 |
---|
|
Run Analysis on StreamYou will now run Analysis on your new Stream. Analysis is the process that does all PhixFlow's data processing.
To run Analysis:
- Hover over the stream – a hover menu appears
- Select the - Run Analysis - this will run the Stream, and read in data from the file of customer addresses via the File Collector
- You will see the console appear; this will show your task as running, and then completed
Anchor |
---|
| _Toc442889043 |
---|
| _Toc442889043 |
---|
|
View Stream dataTo view the data you just loaded:
...