Learn R Programming

spsurvey (version 4.0.0)

write.dbf: Write a Data Frame as the dbf File of an ESRI Shapefile

Description

This function writes a data frame to a dbf file.

Usage

write.dbf(dframe, filename)

Arguments

dframe

Data frame to be written to the dbf file

filename

Name of the dbf file without any extension.

Value

Data frame composed of either the contents of the single dbf file, when filename is provided, or the contents of the dbf file(s) in the working directory, when filename is NULL.

Other Functions Required

writeDbfFile

C function to write a single dbf file or multiple dbf files