code: function getRegionalValue(record) {
    if (!_.isEmpty(record.dependency) || !_.isEmpty(record.dependency_a)) {
      return;
    }
  
    if ('region' === record.layer && !_.isEmpty(record.region)) {
      // return full state name when state is the most granular piece of info
      return record.region[0];
  
    } else if (!_.isEmpty(record.region_a)) {
      // otherwise just return the region code when available
      return record.region_a[0];
  
    } else if (!_.isEmpty(record.region)) {
      // return the full name when there's no region code available
      return record.region[0];
  
    }
  
  }
docs: this function is exclusively used for figuring out which field to use for states/provinces 1.  if the record belongs to a dependency, skip the region, eg - San Juan, PR 2.  if a state/province is the most granular bit of info entered, the label should contain the full state/province name, eg: Pennsylvania, USA and Ontario, CA 3.  otherwise, the state/province abbreviation should be used, eg: Lancaster, PA, USA and Bruce, ON, CA 4.  if the abbreviation isn't available, use the full state/province name