> print(nyc_ct_geo) Simple feature collection with 2325 features and 1 field Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: 913175.1 ymin: 120128.4 xmax: 1067383 ymax: 272844.3 Projected CRS: NAD83 / New York Long Island (ftUS) First 10 features: geoid geometry 1 36061000100 MULTIPOLYGON (((972081.8 19... 2 36061000201 MULTIPOLYGON (((988548.2 19... 3 36061000600 MULTIPOLYGON (((986961.2 19... 4 36061001401 MULTIPOLYGON (((987475 2002... 5 36061001402 MULTIPOLYGON (((988387.7 20... 6 36061001800 MULTIPOLYGON (((987062.3 20... 7 36061002201 MULTIPOLYGON (((990139.8 20... 8 36061002601 MULTIPOLYGON (((990655.2 20... 9 36061002602 MULTIPOLYGON (((991015.1 20... 10 36061002800 MULTIPOLYGON (((991650.9 20...
I am trying to save the above spatial data in a csv file using the code: write.csv(nyc_ct_geo, 'nyc_ct_geo.csv',row.names=FALSE). However, when I ran said code, all geometry coordinates for each spatial unit were placed in different columns. I think they should be placed in one single column. Any advice would be appreciated. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.