Tidy spatial data in R: using dplyr, tidyr, and ggplot2 with sf
The new R package sf, which replaces sp for handling spatial objects, is designed to play nicely with the Tidyverse. In this post I show how sf objects are stored as data frames and how this allows them to work with with ggplot2, dplyr, and tidyr.
PostgreSQL/PostGIS II: Geometry Types and Coordinate Systems
An introduction to the spatial database management system PostGIS, with a focus on using R as an interface to PostGIS. In this post I provide an overview of the different spatial data types and the use of coordinate systems in PostGIS.
RStudio in the Cloud II: Syncing Code & Data with AWS
Tutorial on transferring and syncing data between an Amazon Web Services (AWS) EC2 instance and your local machine, with GitHub and S3.
PostgreSQL/PostGIS I: Getting Set Up
An introduction to the spatial database management system PostGIS, with a focus on using R as an interface to PostGIS.
RStudio in the Cloud I: Amazon Web Services
Detailed instructions for how to quickly get a cloud-based, tidyverse-ready instance of RStudio Server running on an Amazon Web Services EC2 instance.
ILP Solver Comparison Part II: SCIP
Comparing the performance of open-source integer linear programming solvers. In this post, I look at the SCIP solver, which doesn't have an R interface.
Open-source ILP Solver Performance Comparison
Comparing the performance of open-source integer linear programming solvers. The focus is on finding an open-source alternative to Gurobi for conservation prioritization and proteced area design.
Field Guide to ILP Solvers in R for Conservation Prioritization
A field guide to all the open-source integer linear programming solvers that have R packages. The focus is on finding an open-source alternative to Gurobi for conservation prioritization and proteced area design.
Intro to Docker: A Docker Image for Linear Programming
Introduction to Docker containers. In this post I build a Docker container for linear programming in R.
Integer Programming with Gurobi for Reserve Design
Solving Marxan-like systematic conservation planning problems using Integer Linear Programming and Ineger Quadratic Programming techniques with the R interface to the Gurobi Optimizer.
Systematic Reserve Design: Emulating Marxan in R
Marxan is the most widely used software for systematic reserve design. In this post, I dealve into the details of Marxan and emulate it in R.
Noah's Big Year Route & Spatial Clustering in R
Noah Strycker just broke the global big year record, seeing over 6,000 bird species in 2015. I map his route with ggplot and a couple spatial clustering algorithms.
Mapping the Longest Commericial Flights in R
Mapping the longest regularly scheduled commercial flights in the world using R and ggplot2. Includes a discussion of the challenges associated with maps for which the central meridian is not at Greenich.
Fishnets and Honeycomb: Square vs. Hexagonal Spatial Grids
Considering the benefits of hexagonal grids relative to square grids for spatial sampling and analysis, and generating hexagonal grids in R.
Visualizing Noah Strycker's Birding Big Year
Noah Strycker just broke the global big year record, seeing over 6,000 bird species in 2015. I use ggplot to visualize his sightings over the course of the year.
Scale and numerical precision in RGEOS
Exploring the unexpected results that can arise in GEOS topology operations from problems with numerical precision or registration in coordinates.
Estimating pi with GIS and Monte Carlo methods in R
Using Monte Carlo methods, randomly placed spatial objects, and topological operations in R to estimate pi.
A cheatsheet and showcase of Markdown syntax meant to show how different elements will be rendered.