Skip to contents

Start here

Getting started with priogridR

Learn the core grid utilities, return types, output helpers, and plotting conventions in priogridR.

Grid foundations

Convert cells and coordinates, create geometries, validate and complete panels, join variables safely, and map results.

Grid identifiers and neighborhoods

Create identifier matrices, inspect neighboring cells, and connect these utilities to configurable PRIO-GRID geometries.

Spatial context

Define neighbors and weights, calculate spatial lags and distances, and summarize nearby cell values.

Results, output, and visualization

Work with structured conversion results, create reproducible project paths, write supported formats, and customize PRIO-GRID maps.

Choosing a PRIO-GRID conversion workflow

Choose the appropriate priogridR converter for raster, vector, point-event, NetCDF, or geographically indexed tabular data.

Conversion guides

Detailed workflows for each supported source-data format.

Converting point and event data

Aggregate coordinates and point events to PRIO-GRID cells, including values, dates, groups, and structural zeros.

Converting raster data

Align static and time-varying rasters to PRIO-GRID and choose suitable aggregation, disaggregation, and output options.

Converting vector data

Aggregate point, line, and polygon geometries to PRIO-GRID using counts, lengths, areas, coverage, and weighted values.

Converting NetCDF data

Select NetCDF variables and layers, handle time and missing values, and convert them to PRIO-GRID.

Converting geographically indexed tables

Join tabular observations to polygon geographies and transfer totals, rates, or constant values to PRIO-GRID cells.