rcube rcube

The rcube project is a list of open source packages available for R users in Belgium. It currently contains the following R packages:

Package BelgiumMaps.Admin

BelgiumMaps.Admin allows R users to easily have data available containing geographical administrative boundaries in Belgium. It contains data available as part of OpenStreetMap (https://www.openstreetmap.org). The package is developed at https://github.com/jwijffels/BelgiumMaps.Admin

License

BelgiumMaps.Admin is released under the Open Database License 1.0. http://opendatacommons.org/licenses/odbl/1-0/. You may use the data for any purpose, but you have to acknowledge OpenStreetMap as the data source.

Installation

The package can be installed as

install.packages("BelgiumMaps.Admin", repos = "http://www.datatailor.be/rcube", type = "source")

Administrative boundaries

This package contains data extracted from http://download.geofabrik.de/europe/belgium.html on 2015/11/03 with OpenStreetMap data up to 2015-11-02T22:22:02Z.

The belgium-latest.osm.pbf file was imported with osm2pgsql in PostGIS and converted to a shapefile with pgsql2shp to obtain shape files of polygons of administrative boundaries of administrative levels 2, 4, 6, 7, 8, 9. More information about administrative levels in OpenStreetMap: http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative. These administrative boundaries are made available in the BE_OSM_ADMIN dataset which can be found inside the package.

library(BelgiumMaps.Admin)
library(sp)
data(BE_OSM_ADMIN) 
plot(BE_OSM_ADMIN)
plot(subset(BE_OSM_ADMIN, admin.level == 8), main = "Belgium Municipalities")
str(as.data.frame(BE_OSM_ADMIN))

OSM example

Package BelgiumStatistics

This R package allows R users to easily work with the data made available by the ‘Algemene Directie Statistiek - Statistics Belgium’, data which is part of the Open Data initiative of the Belgium government (initiative started on 22/10/2015).

License

BelgiumStatistics packages the data available at http://statbel.fgov.be/nl/statistieken/opendata/home. This data is made available under the ‘Licentie open data’ which is compatible with the Creative Commons Attribution 2.0 license https://creativecommons.org/licenses/by/2.0

Installation

The package can be installed as

install.packages("BelgiumStatistics", repos = "http://www.datatailor.be/rcube", type = "source")

Data

The data of Statistics Belgium covers the topics ‘Population’, ‘Work/Fiscal information’, ‘Kadaster’, the ‘Census of 2011’ and ‘Tools’. More information: https://github.com/jwijffels/BelgiumStatistics

Package BelgiumMaps.OpenStreetMap

This package contains geospatial data of landuse, natural, places, points, railways, roads and waterways, extracted from OpenStreetMap. More information: https://github.com/jwijffels/BelgiumMaps.OpenStreetMap

License

BelgiumMaps.OpenStreetMap is released under the Open Database License 1.0. http://opendatacommons.org/licenses/odbl/1-0/. You may use the data for any purpose, but you have to acknowledge OpenStreetMap as the data source.

install.packages("BelgiumMaps.OpenStreetMap", repos = "http://www.datatailor.be/rcube", type = "source")

rcube