dynamic select list from csv

Sean Cribbs sean at basho.com
Sat May 8 08:30:22 EDT 2010


If that is just data (and not configuration), I would suggest storing it in Riak in a format that can be easily transformed to your output format. As far as the nitrogen portion, I'm not as familiar with it, so you might be able to get more information on the nitrogen mailing list.

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On May 8, 2010, at 5:33 AM, Norman Khine wrote:

> hello,
> i have a csv file which is like:
> 
> 150;"Europe";154;"Northern Europe";826;"uk";"United
> Kingdom";"Yorkshire & Humberside";"Humberside"
> 150;"Europe";154;"Northern Europe";826;"uk";"United
> Kingdom";"Yorkshire & Humberside";"North Yorkshire"
> 150;"Europe";154;"Northern Europe";826;"uk";"United
> Kingdom";"Yorkshire & Humberside";"West Yorkshire"
> 150;"Europe";155;"Western
> Europe";250;"fr";"France";"Île-de-France";"Seine-Saint-Denis"
> 150;"Europe";155;"Western Europe";250;"fr";"France";"Alsace";"Bas-Rhin"
> 150;"Europe";155;"Western Europe";250;"fr";"France";"Alsace";"Haut-Rhin"
> 150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Dordogne"
> 150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Gironde"
> 150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Landes"
> 150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Lot-et-Garonne"
> 
> 
> what i would like to do in riak is to build a dynamic select list similar to:
> 
> http://www.javascriptkit.com/javatutors/selectcontent2.shtml
> 
> but in my case i will have 3 levels, Country, Region, County - how
> would i do this in riak /nitrogen? if i update the csv file, would i
> need to reload the riak server, can this be dynamic? or would i have
> to make an interface through which i can write the data?
> 
> any advice and pointers are much appreciated.
> 
> norman
> 
> -- 
> ¿noʎ uɐɔ uʍop ǝpısdn ǝʇıɹʍ uɐɔ ı - %>>> "".join( [
> {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in
> ",adym,*)&uzq^zqf" ] )
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list