check_avail: Validate soils product/attribute combination

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

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

Usage

1
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

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

slga documentation built on June 12, 2021, 9:07 a.m.