[R-sig-Geo] Mapping Singapore data

2016-01-14 Thread Richa Agarwal
Hi Guys, I have some experience with R though relatively new to mapping geo data. I am trying to plot a heat map for Singapore and was trying to figure out what would be the best way to start. Reading up online I downloaded a .rds file from http://www.gadm.org/country. Though sure how to proceed

Re: [R-sig-Geo] Mapping Singapore data

2016-01-14 Thread boB Rudis
This can get you started (if you're the ggplot2 sort of person). raster::getData will pull the data without a manual download. I'm not sure what you need admin-level-wise, so I went with Admin1. ggplot2::fortify takes the spatial data and makes it something ggplot2 can work with. It would normally

Re: [R-sig-Geo] Mapping Singapore data

2016-01-21 Thread Richa Agarwal
Thanks Bob. Got this to work. However, the GADM data divides Singapore in just six regions. I need Singapore data ideally at postal code level (6 digit) or some aggregation of postal codes say to 3-4 digits. Any suggestions? On Thu, Jan 14, 2016 at 9:18 PM, boB Rudis wrote: > This can get yo