check_avail: Validate soils product/attribute combination

View source: R/helpers.R

check_availR Documentation

Validate soils product/attribute combination

Description

Check whether the requested soils attribute is available for the requested soils product.

Usage

check_avail(product = NULL, attribute = NULL)

Arguments

product

Character, one of the options from column 'Code' in slga_product_info where Type = 'Soil'.

attribute

Character, one of the options from column 'Code' in slga_attribute_info.

Value

Logical; TRUE if available

Examples

check_avail('NAT', 'CFG')
check_avail('SA',  'CFG')

obrl-soil/slga documentation built on Feb. 3, 2024, 4:31 a.m.