Skip to contents

Organise Data

Functions to get data organised

splnr_get_IUCNRedList()
Match Species to IUCN RedList Categories
splnr_get_MPAs()
Get Marine Protected Areas (MPAs) from WDPA
splnr_get_boundary()
Create a Planning Region Boundary
splnr_get_distCoast()
Calculate Distance to Coastline
splnr_get_featureRep()
Prepare Data to Plot How Well Targets Are Met
splnr_get_gfw()
Retrieve Global Fishing Watch Data
splnr_get_kappaCorrData()
Prepare Data to Plot Cohen's Kappa Correlation Matrix
splnr_get_selFreq()
Prepare Data to Plot Selection Frequency of Planning Units

Assign Targets

Functions to assign targets by various methods

splnr_targets_byCategory()
Assign Targets by Category
splnr_targets_byIUCN()
Assign Targets by IUCN Red List Categories
splnr_targets_byInverseArea()
Assign Targets by Inverse Area

Climate-smart

Functions to create climate-smart prioritisations

splnr_climate_featureApproach()
Run the Feature Climate-Smart Approach
splnr_climate_percentileApproach()
Run the Percentile Climate-Smart Approach
splnr_climate_priorityAreaApproach()
Run the Climate Priority Area (CPA) Approach

Plotting

Functions for plotting.

splnr_plot()
Plot Spatial Data
splnr_plot_MPAs()
Plot MPAs
splnr_plot_binFeature()
Plot binary feature
splnr_plot_circBplot()
Plot Circular Barplot for Feature Representation
splnr_plot_climData()
Plot Climate Metric Data
splnr_plot_climKernelDensity()
Kernel Density Plots for Climate-Smart Spatial Plans
splnr_plot_comparison()
Plot Solution Comparison
splnr_plot_corrMat()
Plot Correlation Matrices of Conservation Solutions
splnr_plot_cost()
Plot cost
splnr_plot_costOverlay()
Plot Cost Overlay on Solution
splnr_plot_featureNo()
Plot number of features
splnr_plot_featureRep()
Plot Feature Representation (Target Achievement)
splnr_plot_importanceScore()
Plot Importance Score of Planning Units
splnr_plot_selectionFreq()
Plot Planning Unit Selection Frequency
splnr_plot_solution()
Plot prioritizr Solution
splnr_gg_add()
Add-ons for Plotting spatialplanr Solution Maps

Utilities

Helper functions.

splnr_apply_cutoffs()
Apply Cutoffs to Feature Data
splnr_arrangeFeatures()
Arrange Features by Spatial Coordinates
splnr_convert_regionalisation() deprecated
Function to interpolate regionalisation data onto Planning Units
splnr_convert_toPUs() deprecated
Function to interpolate data onto Planning Units
splnr_create_polygon()
Create Spatial Polygon from Coordinates
splnr_replace_NAs()
Remove NAs from Spatial Data Using Nearest Neighbour
splnr_scale_01()
Scale Spatial Layers to Between 0 and 1
splnr_featureNames()
Extract Feature Names from Spatial Data
splnr_match_names()
Substitute Numbers for Names in Regionalizations

Built in datasets

dat_PUs
Planning Units
dat_bathy
Bathymetry Data
dat_bndry
Boundary of Planning Units
dat_category
Category vector
dat_category2
Category vector
dat_clim
Climate metric data
dat_mpas
Marine Protected Areas (MPAs) Data
dat_region
Regionalisation
dat_species_bin
Binary Species Data
dat_species_bin2
Binary Species Data 2
dat_species_prob
Probability Species Data
CoralSeaVelocity
Example climate velocity for the example region of the coral sea
IUCN_IA_Targets
IUCN and Inverse Area based Targets for Aquamaps example species
MPAsCoralSea
Current Marine Protected Areas (MPAs) of the Coral Sea
spDataFiltered
Example data