I would like to share something. I had a dataset containing dates of beginning and end of projects, names of these projects and corresponding lists of participating organizations – very interesting material for dynamic two-mode network analysis. I never learned programming and processing all 1745 rows by hand promised to destroy all the fun. So I decided to learn Ruby by writing a script, which would do it for me. And it does

The data must be structured in a way, that your resulting CSV file looks like this:
yyyy-mm-dd,yyyy-mm-dd,”Project 1”,”AAA”,”BBB”,”CCC”,
yyyy-mm-dd,yyyy-mm-dd,”Project 2”,”DDD”,”EEE”,”FFF”,”GGG”,
yyyy-mm-dd,yyyy-mm-dd,”Project 3”,”HHH”,”EEE”,”AAA”,
No header!
Please make sure the cells don't contain double quotes and ampersands!
The script will produce a GEXF file, describing a dynamic directed graph in which projects are targets, oraganizations are sources and dates are coded as spells. It does not yet write the attributes of the nodes, which are needed to mark the nodes of two different types. I was just so happy after I managed to get this thing running properly, that I decided to work this in later. Alternatively someone else here could do that

As I said, it is my first programming experience, so don't be harsh. The code might look a bit clumsy and I realize, the algorithm is not the fastest. But it works fine on Ubuntu Maverick with Ruby 1.9.3. I will be glad if this script will save some time to the people who work with data, which are structured this way. And I will be thankful for constructive critique.
Best wishes!
Nikita