correctDBF | R Documentation |
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.
correctDBF(x, end.n = length(colnames(d$dbf)), adjust.n = 0, new.colnames)
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 |
length of vector with new names must be identical to number of adjusted columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.