Skip to content

spatialplanr overview

Jason Everett edited this page Oct 19, 2022 · 1 revision

About spatialplanr

The aim of the spatialplanr package is to bundle up the commonly used functions to go from raw spatial data layers to processed layers suitable to be used in prioritizr.

The first iteration of the spatialplanr package (as at early 2022) incorporated all possible functions, but focussed on using bespoke data sets that MME used for spatial plans. These included the Watson Fish Data, AquaMaps, IUCN etc. These data, while useful, are not used so much in our analysis now. The focus has become more about creating PUs, importing and processing shapefiles/rasters to PUs, plotting up the output from prioritizr.

Restructuring spatialplanr

As such I plan to restructure the repo to focus on these later solutions. There is a lot of overhead to managing the pre-prepared data such as AquaMaps. Because we are using lots of new and different data (shipping, mining, Weddell Sea etc) more effort should go into optimising the code and improving the documentation for the functions that deal with these data.

The spatialplanr code goes into 3 categories as I see it.

  1. The preparation of data for a spatial prioritisation.
  2. The analysis and plotting of the output from the prioritizr
  3. Utilities to assisted in 1 and 2.

To simplify the package initially (October 2022), I plan to remove the AquaMaps/Watson/etc data and functions. I will focus on making the package "standalone" in the sense it doesn't need specifically downloaded data to a certain folder. We can then consider whether to add these data and functions back in.

New Packages

Additionally there are a range of new packages that we can leverage to do the heavy lifting around some of this data.

Clone this wiki locally