RArcInfo (version 0.4-12)

get.tablefields: 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:
  • 1Date
  • 2Character String
  • 3Integer (stored as a character string)
  • 4Numeric (stored as a character string)
  • 5Binary integer
  • 6Binary float