correctDBF: Correct .dbf of file

Description Usage Arguments Note

Description

This function enables the possibility to overwrite the header of an existing .dbf-file. Some applications, such as SAGA GIS, store shapefiles in formats that are not conform with the ESRI-shapefile format. By this function, "corrupt" headers can be replaced.

Usage

1
2
correctDBF(x, end.n = length(colnames(d$dbf)), adjust.n = 0,
  new.colnames)

Arguments

x

full path to .dbf-file, but without extension

end.n

start number of adjusting. Default: number of columns

adjust.n

number of columns that are renamed. Default: 0

new.colnames

vector with new names

Note

length of vector with new names must be identical to number of adjusted columns


ggRaver/Lslide documentation built on June 20, 2019, 2:29 p.m.