code: def get_metadata(dataset, download_dir):
      filename = "metadata.csv"
      url = (
          f"{ARkitscense_url}/threedod/{filename}"
          if "3dod" == dataset
          else f"{ARkitscense_url}/{dataset}/{filename}"
      )
      dst_folder = os.path.join(download_dir, dataset)
      dst_file = os.path.join(dst_folder, filename)
  
      if not download_file(url, filename, dst_folder):
          return
  
      metadata = pd.read_csv(dst_file)
      return metadata
  
file_path: ARKitScenes/download_data.py
imports: import argparse
  import subprocess
  import pandas
  import math
  import os
label_desc: Use image node_id 7 for calling a global function with example usage: get_metadata(dataset, download_dir) and returns: metadata