javascript - Reading a TSV file to a web displayable datatable -


i wanted read tsv file contains no headers 7 integer types of data.

37.791871   -122.396742 37.784070   -122.412320 12  14  10   37.791871   -122.396742 37.784070   -122.412320 12  14  10   37.791871   -122.396742 37.784070   -122.412320 12  14  10   37.791871   -122.396742 37.784070   -122.412320 12  14  10   37.791871   -122.396742 37.784070   -122.412320 12  14  10   

i want merge 4 elements create two. example, first row:

37.791871   -122.396742 37.784070   -122.412320 12  14  10 

to

37.791871,-122.396742   37.784070,-122.412320   12  14  10 

i want make hashmap type data structure.

like map[rownumber][element] value, in case

map[0][1] = 37.784070,-122.412320 map[3][4] = 10 

how programmatically create this? can deal tsv files.


Comments