Skip to contents

Returns a pg_config() object with the spatial and temporal parameters for a known official PRIO-GRID release. Useful for loading release data with the correct grid dimensions and date range.

Usage

pg_release_config(version = NULL, type = "05deg_yearly")

Arguments

version

Character string specifying the release version (e.g., "3.0.1"). If NULL, uses the current package version.

type

Character string specifying the release type. Default: "05deg_yearly".

Value

A pg_config object matching the release parameters.

Examples

cfg <- pg_release_config("3.0.1")
cfg$nrow  # 360
#> [1] 360