get_legend.RdAccesses legend for a given product.
get_legend(data.id)
| data.id | Element or vector of class character. |
|---|
Returns a data.frame with the legend of the target dataset, containing:
value - Grid value
label - class label
hex - Hex color code
The function provides access to legend information relative to data products existing in the MAS database.