get.tablefields {RArcInfo}R Documentation

Function for reading names of the table fields in the coverages

Description

This function returns the names of the fields (and its type) in the table whose names are provided by the user.

Usage

get.tablefields(infodir,tablename)

Arguments

infodir Info directory where there is a file called arc.dat
tablename The name of the table from which we want to get the fields

Value

This function returns a data frame with the next fields (columns):

FieldName The name of the field.
FieldType This is an integer from 1 to 6 that explain the kind of data:

    1
    Date

    2
    Character String

    3
    Integer (stored as a character string)

    4
    Numeric (stored as a character string)

    5
    Binary integer

    6
    Binary float

References

More information about this kind of data can be found at http://pages.infinit.net/danmo/e00/docs/v7_bin_cover.html.


[Package RArcInfo version 0.4-7 Index]