Learn R Programming

spsurvey (version 3.1)

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
  ## Not run: 
#   write.dbf(my.data.frame, "my.dbffile")
#   ## End(Not run)

Run the code above in your browser using DataLab