You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
davidmegginson edited this page Dec 26, 2014
·
3 revisions
These recipes are part of the HXL cookbook. Each recipe describes a general problem related to data interoperability, then shows how to use the HXL standard and the command-line tools to solve the problem.
Recipes
TODO
I.1. Reorder columns
Problem: one of your data partners has an older system that requires sector always to be the first column in your data.
Recipe: use hxlcut (command) to change the order of the columns in your dataset.
A side-effect of the hxlcut command is the ability to specify a new order for the columns with the argument to the --include_ option. For example, assuming that your dataset usually has columns in the order #org, #sector, #adm1 #adm2, the following command will reorder them so that the sector appears first: