-#+date 2017-10-12 21:30:51 +0800
-#+filetags R spatial analysi visualisation
+#+date: <2017-10-12 21:30:51 +0800>
+#+filetags :R:spatial:analysis:visualisation:
#+title: Using spatial features and openstreetmap
-Turns out it is possible, thanks to the good folks at
-[[file:stamen.com][Stamen Design]], to get fairly unobtrusive maps based
+Turns out it is possible, thanks to the good folks at [[http://stamen.com][Stamen Design]], to get fairly unobtrusive maps based
on the OpenStreetMap data.
-Combining this with a SLIP dataset from the Western Australian
-government on active schools in the state provided a good opportunity to
-check out the recently released
-[[https://cran.r-project.org/web/packages/sf/index.html][sf (Simple
-Features) package]] in R.
+Combining this with a SLIP dataset from the Western Australian government on active schools in the state provided a good opportunity to
+check out the recently released [[https://cran.r-project.org/web/packages/sf/index.html][sf (Simple Features) package]] in R.
-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
+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
features in R are dataframes!
-[[Plot of secondary schools by student
-population|/pics/Western_Australia_metro_secondary_schools.png]]
+#+CAPTION: Plot of secondary schools by student population.
+#+ATTR_HTML: :class img-fluid :alt Plot of secondary schools by student population.
+[[file:../assets/Western_Australia_metro_secondary_schools.png]]
-[[http://git.vanrenterghem.biz/?p=R/project-wa-schools.git;a=summary][Full
-details in git]].
+[[http://git.vanrenterghem.biz/?p=R/project-wa-schools.git;a=summary][Full details in git]].