Learn R Programming

slga (version 1.1.1)

check_avail: 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

Run this code
# NOT RUN {
check_avail('NAT', 'CFG')
check_avail('SA',  'CFG')
# }

Run the code above in your browser using DataLab