code: def download_robot_execution_failures(file_name=data_file_name):
      """
      Download the Robot Execution Failures LP1 Data Set[#1] from the UCI Machine Learning Repository [#2] and store it
      locally.
  
      :return:
  
      Examples
      ========
  
      >>> from tsfresh.examples import download_robot_execution_failures
      >>> download_robot_execution_failures()
      """
      if os.path.exists(file_name):
          _logger.warning(
              "You have already downloaded the Robot Execution Failures LP1 Data Set."
          )
          return
  
      os.makedirs(os.path.dirname(file_name), exist_ok=True)
  
      if not os.access(os.path.dirname(file_name), os.W_OK):
          raise RuntimeError(
              "You don't have the necessary permissions to download the Robot Execution Failures LP1 Data "
              "Set into the module path. Consider installing the module in a virtualenv you "
              "own or run this function with appropriate permissions."
          )
  
      r = requests.get(UCI_MLD_REF_URL)
  
      if r.status_code != 200:
          raise RuntimeError(
              "Could not download the Robot Execution Failures LP1 Data Set from the UCI Machine Learning "
              "Repository. HTTP status code: {}".format(r.status_code)
          )
  
      with open(file_name, "w") as f:
          f.write(r.text)
  
imports: import logging
  import os
  from builtins import map
  import pandas
  import requests
label_desc: Use image node_id 1 for calling a global function with example usage: download_robot_execution_failures(file_name) without return types