Dear all,
There is a string variable: cod_fluxo
I am going to show this variable in this way. First dedicating value 1= IMPORTS and 2 =EXPORTS. I mean instead of 1 and 2 I need to be shown as IMPORTS & EXPORTS.
Second, labeling IMPORTS as 2 and EXPORTS as 1.
Because the rest of the raw data are classified in a way that 1 is responsible for exports and number 2 for imports. But the new raw data classification is the other way around. So I have to modify this one in order to match with the rest.
Any ideas appreciated.
Cheers,
Paris
There is a string variable: cod_fluxo
I am going to show this variable in this way. First dedicating value 1= IMPORTS and 2 =EXPORTS. I mean instead of 1 and 2 I need to be shown as IMPORTS & EXPORTS.
Second, labeling IMPORTS as 2 and EXPORTS as 1.
Because the rest of the raw data are classified in a way that 1 is responsible for exports and number 2 for imports. But the new raw data classification is the other way around. So I have to modify this one in order to match with the rest.
Code:
input str3 cod_fluxo "1" "1" "1" "1" "1" "1" "1" "1" "1" "2" "1" "2" "2" "2" "2" "2" "2" "1" "1" "1" "1" "1" "1" "1" "1" "1" "1" "1" "2" "1" "1" "1 "1" "2" "1" "1" "2" "2" "1" "2" "1" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "1" "1" "1" "2" "2" "2" "2" "1" "1" "1" "2" "2" "2" "2" "2" "2" "2" "2" "2" "2" "1" "1" "1" "2" "2" "2" "2" "2" "2" "2" "2" "2" "1" "1" "1" "1" "2" "1" "1" "1" "1" "1" "2" end
Cheers,
Paris
Comment