Hi Elaine and Daniela,
perhaps it is too late to help you, but I decided to reply aiming to
help another R users with the same problem.
You can
#read the shapefile - for shape files, dsn is the folder path an layer
is the shapefile name (without .shp)
shape<-readOGR(dsn="/folder.where.
Hi Elaine,
Once you have your data in R, you can use write.table (check documentation
with ?write.table)
write.table(dataframe, file = "dataframe.csv")
If you don't have your data in R yet, you can see this document:
http://cran.r-project.org/web/packages/spatstat/vignettes/shapefiles.pdf
Danie
Dear List,
I have a polygon file describing locations of my study region.
Now I want to have the attribute table exported as cvs using R.
Please kindly advise which package and references are proper for this work.
Thank you.
Elaine
[[alternative HTML version deleted]]
_