Last chance! 50% off unlimited learning
Sale ends in
This function reads either a single dbf file or multiple dbf files. For multiple dbf files, all of the dbf files must have the same variable names.
read.dbf(filename=NULL)
name of the dbf file without any extension. If filename equals a dbf file name, then that dbf file is read. If filename equals NULL, then all of the dbf files in the working directory are read. The default is NULL.
A 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. The data frame is assigned class "SurveyFrame".
Function summary(), i.e., summary.SurveyFrame(), can be used to summarize the the frame for a survey design.
ESRI Shapefile Technical Description: http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf
# NOT RUN {
# }
# NOT RUN {
read.shape("my.dbffile")
# }
Run the code above in your browser using DataLab