I need to create the following file structure. The information originally came from an excel pivot table. I have managed to create a csv file with labels in the first column and counts in the second. The desired output is shown below.
The source data is as below
I need to create a loop statement which uses the locality as a counter, the number opposite is the total for the locality, the number against the country is the total for the country and the same applied for sex, age and visa class. Where the number is opposite a language such as Dari it is that number that need to be in the persons column. I have 13 years of data with each data set having approximately 400,000 cases. Is anybody able to assist. Brian cooper |
Administrator
|
I don't see sufficient cues in the input to build the desired output via an INPUT PROGRAM or any other magical devices. Maybe request data with a more coherent structure?
Good luck with that!
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?" |
Free forum by Nabble | Edit this page |