R

Spatial features: the fundamentals

Get the packages library(sf) library(dplyr) Spatial features from first principles Early on my geospatial learning path I came across Barry Rowlingson’s cheat sheet for R’s sp and raster librarys. I find it really useful to build simple test examples from scratch to make sure I know what I’m doing before diving in to large data sets and being overwhelmed be multiple tricky edge cases (or worse, corner cases).

Quick and easy classification column (data.table)

Quickly add higher-level classification column to data. A very common use-case is to add a column to a table of data that indicates a category for each row where the category is dependent on the value of one of the table column.

Collecting Highway Bearings

Given a point, what highway is it on and what direction does that highway go? I’m kicking off this blog with a geospatial example.