Gridded database with a grid cell resolution of 200 meters. Source : Insee, Localized data : Fiscal Revenue - 31/12/2010 and Housing Tax - 01/01/2011.
(Donnees carroyees a 200 metres. Source : Insee, Revenus Fiscaux Localises (RFL) au 31 decembre 2010 et Taxe d'habitation (TH) au 1er janvier 2011)
x |
longitude |
y |
latitude |
houhold |
number of households - nombre de menages |
phouhold |
number of poor households - nombre de menages pauvres |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
data(reunion)
# Smoothing of the variable houhold (households) and phouhold (poor households) for Reunion
# Lissage de la variable houhold(menages) et phouhold(menages pauvres) pour la Reunion
reunionSmooth <- kernelSmoothing(reunion, 200, 800)
# Calculating the poverty rate (Calcul du taux de pauvrete)
reunionSmooth$ratio <- reunionSmooth$phouhold / reunionSmooth$houhold * 100
# Building of the associated basemap (Creation du fond de carte associe)
grid <- smoothingToGrid(reunionSmooth, "32740")
#library(rgdal)
# Export of the basemap in shapefile format (Export du fond de carte au format shapefile)
#writeOGR(grid, "reunion.shp", "reunion", driver = "ESRI Shapefile")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.