Merging shapefiles and csv
Hi Sam, One thing you might check is the column names in your csv file. If you can change them to something simpler, without periods in them, etc, that might get rid of the problem. There are some threads on this problem as well, I believe. Cheers, Lyndon
On Thu, Jul 31, 2014 at 11:27 AM, HallS <sam_l_cruickshank at hotmail.com> wrote:
Hi all, OK thanks for all your help. I believe now I have successfully merged the two, when I run str(merged_file) it shows all of the correct variables, and when I run plot(merged_file), I still get the outline of the correct shape. Thank you for all your help, I must confess writeOGR doesn't work still, but I thought this was required in order to draw a choropleth map and I realise now this is not the case and it can be done with just the merged file I believe. Thanks again -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Merging-shapefiles-and-csv-tp7586839p7586845.html Sent from the R-sig-geo mailing list archive at Nabble.com.
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo