read.coverage: Function for retrieving basic data from a given coverage

Description Usage Arguments Value References


This function allows the user to retrieve the main data stored in the chosen coverage. This doesn't mean that all the data are retrieved, but only the most important.

Tables are not imported, but a dataframe containig the information provided by a call to get.tablenames of all the tables related to the coverage.

For a single coverage there can be more than one pal file, so just their names are imported (into 'palfiles'). Then, the user can choose which one to import by calling get.paldata. But, if there is just one pal file, it is imported into 'pal'.

The names of the different files are supposed to be the default names when calling the proper get.XXXdata. If some of these names change then the function will not import that feature properly. But this fact should never happen.


read.coverage(datadir, coverage)



Directory under which all the coverages and a directory called 'info' are.


The name of the coverage we want to work with


This function returns a list of all the data directory, coverage name and all the data imported: i


The directory where all the coverages are stored, the one used when this function was called.


The name of the coverage used when calling this function.


The arc definitions, as returned by get.arcdata.


The bounday definition, as returned by get.bnddata.


The polygon centroids, as returned by get.cntdata.


The label point records of the coverage.


If there is just one file for the polygon definitions inside the coverage, it is imported here using get.paldata. Otherwise, it is filled with a 'NULL'.


The names of all the polygon definitions files.


The description of all the tables related to the coverage, as returned by get.tablenames.


The tolerance values.


More information about this kind of data can be found at

Search within the RArcInfo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.