Re: Data table text I/O package?



Preben Randhol wrote:
> Jacob Sparre Andersen <sparre@xxxxxx> wrote on 15/06/2005 (10:01) :

> > I do quite a lot of work, where I manipulate data stored in
> > (tabulator separated) text files [1]. Does anybody know of a
> > package which handles the inclusion of a header line with the
> > column names in an elegant way? It should preferably include
> > automated testing that the header is correct, when a file is
> > opened, and automated creation of the header when a file is
> > created.
>
> Not sure what you are asking. Do you want to load the data into
> lists comforming to a header name?

That was not what I was trying to ask for. Generally I just run my
data analysis tools as "filters", where I can manage with processing
one line (or a few lines) at a time.

The important part is to have the checking of the headers and the
generation of Put_Line and Get_Line procedures automated based on a
record type (and not too much more). Since I need records (for type
checking) and not just simple arrays, I can't manage with a generic
package, but have to put some code generation into the system (or can
I play some tricks with streams?).

> You can use charles with maps and lists.

I'll see if I can find the package in Charles, which does this.

> Or you want something that splits the line?

I have that already.

Jacob
--
Brakzand II:
http://lego.jacob-sparre.dk/Transport/Skibe/Brakzand_II/
.



Relevant Pages

  • Re: Data table text I/O package?
    ... > record type. ... > package, but have to put some code generation into the system (or can ... So the header might be: ... correct type as indicated by the header? ...
    (comp.lang.ada)
  • Re: RE : RedHat updates and unknown GPG signature
    ... I just downloaded bind package with up2date, ... Header V3 DSA signature: OK, ... Header SHA1 digest: OK ...
    (RedHat)
  • Re: compiling an app under Linux, looking for library files and headers
    ... Now I'm trying to compile a source package which uses Tcl/Tk: ... Tcl header... ... Tcl library... ...
    (comp.lang.tcl)
  • Re: Using put command to place text in figures
    ... then commented out the \usepackage commands till it worked. ... Not sure how it found it's way into my header as I've never used it, but this package seems to redefine the put command and change the syntax, hence the errors. ... the error messages when compiling give no clue to where the problem lies) ...
    (comp.text.tex)
  • Re: generics in Ada 83
    ... We have a Client/Server package as part of this. ... It defines a header type for transmitting messages across TCP/IP. ... One application group has requested the ability to define their own header. ... This works fine for using most of the services in the package. ...
    (comp.lang.ada)