Hi there! I am a physicist/meteorologist and I just fund this site (very impressive). However, I am a brand-new beginer in R, and I am facing a couple of difficulties in using the files. I apologize in advance for the questions, but if someone could help me...
I need to add a part of Brazilian map to some plots (Amazonia), but I don't know how to extract the piece I need (I suppose it will be the ID_0=433). I loaded the file to R (BRA_adm3, for example), but I don't know how to insert only the region I want... :(
Again, sorry for the very primary question, but...
Cheers!
Kenia
get the names of the administrative areas used by the gadm map with >gadm$NAME3 (for level 3) and look for your desired piece. Suppose you find the piece "amazonia" in level 3. Now set up a new spatial database using
Seriously, I let out a loud "Yes!" when I found your site a couple of days ago. This is going to save me so much time looking for these sorts of files through Google, etc. I'll definitely be promoting your site with my colleagues.
R beginer
Hi there! I am a physicist/meteorologist and I just fund this site (very impressive). However, I am a brand-new beginer in R, and I am facing a couple of difficulties in using the files. I apologize in advance for the questions, but if someone could help me...
I need to add a part of Brazilian map to some plots (Amazonia), but I don't know how to extract the piece I need (I suppose it will be the ID_0=433). I loaded the file to R (BRA_adm3, for example), but I don't know how to insert only the region I want... :(
Again, sorry for the very primary question, but...
Cheers!
Kenia
using a subset of the map
get the names of the administrative areas used by the gadm map with >gadm$NAME3 (for level 3) and look for your desired piece. Suppose you find the piece "amazonia" in level 3. Now set up a new spatial database using
newspdataset = new("SpatialPolygonsDataFrame")
newspdataset = gadm[gadm$NAME_3=="amazonia",]
and finish the work in the new dataset
Big time thanks!
Seriously, I let out a loud "Yes!" when I found your site a couple of days ago. This is going to save me so much time looking for these sorts of files through Google, etc. I'll definitely be promoting your site with my colleagues.
Thanks a lot
Hello
I am geographer and found this site yesterday. I sent my deeply thanks for administrators of this side. , Slavomir Bucher, Presov, Slovakia