Learn R Programming

spsurvey (version 2.1-2)

write.dbf: Write a Data Frame to the Attribute (dbf) File of an ESRI Shapefile

Description

This function writes a data frame to the dbf file of an ESRI shapefile.

Usage

write.dbf(dframe, filename)

Arguments

dframe
a data frame to be written to the dbf file.
filename
name of the dbf file without any extension.

Value

  • The attribute (dbf) file of an ESRI shapefile.

References

ESRI Shapefile Technical Description: http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf

See Also

read.dbf

Examples

Run this code
write.dbf(my.data.frame, "my.dbffile")

Run the code above in your browser using DataLab