Commit 379a8511 by Jan Wijffels

documentation updated

parent 3d0f2e71
......@@ -22,7 +22,7 @@ data(BE_ADMIN_SECTORS, package = "BelgiumMaps.StatBel")
data(BE_ADMIN_DISTRICT, package = "BelgiumMaps.StatBel")
data(BE_ADMIN_MUNTY, package = "BelgiumMaps.StatBel")
mymap <- merge(BE_ADMIN_SECTORS, taxes, by = "CD_REFNIS_SECTOR", all.x=TRUE, all.y=FALSE)
#mymap <- subset(mymap, TX_RGN_DESCR_NL %in% "Brussels Hoofdstedelijk Gewest")
mymap <- subset(mymap, TX_RGN_DESCR_NL %in% "Brussels Hoofdstedelijk Gewest")
## Visualise the data
pal <- colorBin(palette = rev(heat.colors(11)), domain = mymap$MS_AVG_TOT_NET_TAXABLE_INC,
......@@ -37,7 +37,8 @@ m <- leaflet(mymap) %>%
mymap$TX_SECTOR_DESCR_FR, mymap$TX_MUNTY_DESCR_FR,
mymap$MS_AVG_TOT_NET_TAXABLE_INC, mymap$MS_MEDIAN_NET_TAXABLE_INC,
mymap$MS_NBR_NON_ZERO_INC))
m <- addPolylines(m, data = BE_ADMIN_DISTRICT, weight = 1.5, color = "black")
#m <- addPolylines(m, data = BE_ADMIN_DISTRICT, weight = 1.5, color = "black")
m <- addPolylines(m, data = subset(BE_ADMIN_MUNTY, TX_RGN_DESCR_NL %in% "Brussels Hoofdstedelijk Gewest"), weight = 1.5, color = "black")
m
## Save as HTML
......
......@@ -14,6 +14,8 @@ data(BE_ADMIN_SECTORS)
str(BE_ADMIN_SECTORS@data)
library(sp)
plot(BE_ADMIN_SECTORS)
plot(BE_ADMIN_SECTORS, main = "Belgium sectors")
plot(head(BE_ADMIN_SECTORS), main = "Belgium sectors")
}
......@@ -67,12 +67,12 @@ plot(BE_ADMIN_PROVINCE, lwd = 2, add = TRUE)
Integrate with BelgiumStatistics
----------------------------
The data also contains NIS codes which can be used to link against the data in the BelgiumStatistics package. This package can be found at https://github.com/jwijffels/BelgiumStatistics.
The data also contains NIS codes which can be used to link against the data in the BelgiumStatistics package. This package can be found at https://github.com/weRbelgium/BelgiumStatistics.
OpenStreetMap data about Belgium
----------------------------
Next to this data with administrative boundaries, another package called BelgiumMaps.OpenStreetMap is available which contains geospatial data of Belgium regarding landuse, natural, places, points, railways, roads and waterways, extracted from OpenStreetMap. More information: https://github.com/jwijffels/BelgiumMaps.OpenStreetMap
Next to this data with administrative boundaries, another package called BelgiumMaps.OpenStreetMap is available which contains geospatial data of Belgium regarding landuse, natural, places, points, railways, roads and waterways, extracted from OpenStreetMap. More information: https://github.com/weRbelgium/BelgiumMaps.OpenStreetMap
Support in geospatial analysis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment