How do i run the equivalent of single configuration import from a hook? I have a hook_update_N that is changing a field.  It is deleting the field and recreating it with the same name but a different field, formatter, and widget.  

The problem I'm having is that there is a view that is using my field and when I delete my field the view is being deleted and my site then throws an error.

I have the views.view.view_name.yml file saved in a directory.  Is there a function or set of  functions that will import the view from that file?
if (\Drupal::moduleHandler()-&gt;moduleExists('views') &amp;&amp; !View::load('view_name')) {
    $config_path = DRUPAL_ROOT.'/configurationpathto/views_view_view_name.yml';
    $data = Yaml::parse($config_path);
    \Drupal::configFactory()-&gt;getEditable('views.view.view_name')-&gt;setData($data)-&gt;save(TRUE);
  }