title: Filtering normalized data structure
body: <p>Forgive me, I'm new to normalizr+redux. I've managed to normalize my data and create a reducer and end up with :</p>
  
  <pre><code>state = {
      installations:{
          "1":{...},
          "2":{...}
      }
  }
  </code></pre>
  
  <p>I would then like to filter this data for use in a UI component into two separate categories (in this case where the installation.operator is equal to the current user). I've managed an implementation that works however it seems exhaustive:</p>
  
  <pre><code>const mapStateToProps = (state, ownProps) =&gt; {
      console.log("mapStateToProps", state.installations);
      let assignedInstallations = Object.keys(state.installations)
          .filter(i =&gt; {
              return state.installations[i].operator == state.login;
          })
          .map(i =&gt; {
              return state.installations[i];
          });
      let unassignedInstallations = Object.keys(state.installations)
          .filter(i =&gt; {
              return state.installations[i].operator != state.login;
          })
          .map(i =&gt; {
              return state.installations[i];
          });
      return {
          assignedInstallations,
          unassignedInstallations,
          loginUserId: state.login
      };
  };
  </code></pre>
  
  <p>I'm also new to ES6 and am not across all the new syntax shortcuts etc so I suspect there are much better ways to do this.</p>
  
  <p>Is there a more succinct approach with a similar outcome?</p>