14 Oct

Get administrative, topographic and climatic data directly in R

This post shows some examples of the function  getData into the Raster package. This function  allows to directly download data from 3 global datasets (Administrative bordersAltitude, Climate). This will be shown for a country (Belgium). The code is below.

Administrative borders  (from GDMA dataset) is available at 5 country sub-levels

1AdminAltitude (from the SRTM dataset) at 90m of resolution

2AltitudeClimate (available from worldclim at 0.5 minute of degree corresponding to 5.5 km of spatial resolution in Belgium)

Mean precipitations by month31Precipitations     Annual mean temperature32MeanTemperature

Read More