code: function cvd (value, field) {
    const domain = _.find(field.domain.codedValues, (d) => {
      return value === d.code
    })
    return domain ? domain.name : value
  }
docs: Looks up a value from a coded domain
  
  @params {integer} value - The original field value
  @params {object} field - metadata describing the attribute field
  @returns {string/integerfloat} - The decoded field value