Get Soil Data Viewer Attribute Information
Usage
get_SDV_legend_elements(
WHERE,
alpha = 255,
notratedcolor = rgb(1, 1, 1, 0),
simplify = TRUE
)Arguments
- WHERE
WHERE clause for query of Soil Data Access
sdvattributetable- alpha
transparency value applied in calculation of hexadecimal color. Default:
255(opaque).- notratedcolor
Used to add 'Not rated' color entries where applicable. Default:
"#FFFFFF00"(transparent white).- simplify
Return a data.frame when
WHEREis length 1? Return a list with 1 element per legend whenWHEREis length >1? Default:TRUE
Value
A list with a data.frame element for each element of WHERE containing "attributekey", "attributename", "attributetype", "attributetablename", "attributecolumnname", "attributedescription", "nasisrulename", "label", "order", "value", "lower_value", "upper_value","red", "green", "blue" and "hex" columns.