Blog Archives

Provincial Monthly Rainfall of the Philippines from WORLDCLIM

August 6, 2012
By
Provincial Monthly Rainfall of the Philippines from WORLDCLIM

Preparing for a future conference on climate change, I downloaded and extracted average monthly rainfall in the Philippines from worldclim.org. Using maptools, raster, and animation package in R, I produced an animation of average monthly rainfall of t...

Read more »

Provincial Map using GADM

August 5, 2012
By
Provincial Map using GADM

This blog demonstrates how to produce political/provincial boundary map (below) using R maptools and raster packages. ## Load required packageslibrary(maptools)library(raster) ## Download data from gadm.org adm <- getData('GADM', country='PHL',...

Read more »

Trend and Spatial Pattern of Poverty in the Philippines

July 9, 2012
By
Trend and Spatial Pattern of Poverty in the Philippines

In a teaching demo that I have conducted, I discussed on how R can be used to analyze trends and spatial pattern of poverty incidence in the Philippines. Playing on the data I got from the National Statistical Coordination Board below is what I got.&...

Read more »

Colored 3D Map

July 1, 2012
By
Colored 3D Map

In my previous post, I showed how to make a 3D view of an area using the persp function. However, I felt this was not a complete representation, especially for digital elevation. While looking for some reference for my presentation on the use of R for...

Read more »

Negros Quake Animation in R

June 17, 2012
By
Negros Quake Animation in R

Taken from a previous post in other website, maps below show the locations of epicenters and sequence of earthquakes that struck Negros last February 6, 2012. The bottom image is the animation these maps using animation package in R. Data was taken fr...

Read more »

3D Maps in R

June 16, 2012
By
3D Maps in R

Talking about elevation, one can also plot a wire frame 3D view of an area using the persp function. Using the same data source from my previous post, 3D view of Marinduque, Philippines was produced using the following code below: ################...

Read more »

Mindoro Digital Elevation Map

June 14, 2012
By
Mindoro Digital Elevation Map

Saw a map produced by my previous student using a commercial GIS software.Using R raster package and data from diva-gis.org. I produced the same map

Read more »

RSMC 2011 Typhoon Tracks

June 8, 2012
By
RSMC 2011 Typhoon Tracks

While at Puerto Princesa Airport in Palawan and waiting for my flight back to Manila, I opened my laptop and started doing what I usually do (practice may skills in R) on my idle time. With some inspirations from spatialanalysis.co.uk, I tried to make ...

Read more »

Earthquake Density in the Philippines (2011-2012)

June 7, 2012
By
Earthquake Density in the Philippines (2011-2012)

 Using the same data and package from my previous post, but minor tweak on the code, I produced the map below:

Read more »

Poverty Incidence in the Philippines

June 6, 2012
By
Poverty Incidence in the Philippines

Every three (3) years, the National Statistical Coordination Board (NSCB) publish data on provincial poverty incidence in the Philippines. Using R, I put the tabulated poverty incidence data into maps to check pattern and changes on the country's pr...

Read more »