Check my project I did last year. Stockwatch takes values of the stock market and translates them in realtime into music and also improvizes on it. YOu can dowwnload it here
It uses the stockwatch example as its base. The paatch has an mxj-object. With some tweaking, you could arrange to get other data I guess.
Can you tell more about your project btw, I am going to do research about using complex data on composition, so I would like to know how different composers look after this way of composing.