Accesses legend for a given product.

get_legend(data.id)

Arguments

data.id

Element or vector of class character.

Value

Returns a data.frame with the legend of the target dataset, containing:

  • value - Grid value

  • label - class label

  • hex - Hex color code

Details

The function provides access to legend information relative to data products existing in the MAS database.