code: def clone_defaults(packages=packages):
      for package in packages:
          url = f"https://api.github.com/repos/pysal/{package}"
          data = json.load(urllib.request.urlopen(url))
          branch = data["default_branch"]
          pkgstr = (
              f"git clone --branch {branch}"
              f" https://github.com/pysal/{package}.git"
              f" tmp/{package}"
          )
          print(pkgstr)
          os.system(pkgstr)
  
imports: import os
  import json
  import urllib
  import re
  import yaml
  from urllib.request import urlopen
  from datetime import datetime, timedelta
  import requests
label_desc: Use image node_id 5 for calling a global function with example usage: clone_defaults(packages) without return types