]> git.vanrenterghem.biz Git - www2.vanrenterghem.biz.git/blob - source/posts/using_spatial_features_and_openstreetmap.org
Gebruik juist filetags formaat.
[www2.vanrenterghem.biz.git] / source / posts / using_spatial_features_and_openstreetmap.org
1 #+date: <2017-10-12 21:30:51 +0800>
2 #+filetags :R:spatial:analysis:visualisation:
3 #+title: Using spatial features and openstreetmap
5 Turns out it is possible, thanks to the good folks at [[http://stamen.com][Stamen Design]], to get fairly unobtrusive maps based
6 on the OpenStreetMap data.
8 Combining this with a SLIP dataset from the Western Australian government on active schools in the state provided a good opportunity to
9 check out the recently released [[https://cran.r-project.org/web/packages/sf/index.html][sf (Simple Features) package]] in R.
11 Simple features are a standardized way to encode spatial vector data. Support in R was added in November 2016. For users of the tidyverse, this makes manipulating shapefiles and the likes easier, as simple
12 features in R are dataframes!
14 #+CAPTION: Plot of secondary schools by student population.
15 #+ATTR_HTML: :class img-fluid :alt Plot of secondary schools by student population.
16 [[file:../assets/Western_Australia_metro_secondary_schools.png]]
18 [[http://git.vanrenterghem.biz/?p=R/project-wa-schools.git;a=summary][Full details in git]].