docs: def merge_csv_metadata(d, csvs):
      """
      Using the given metadata dictionary, retrieve CSV data from CSV files, and insert the CSV
      values into their respective metadata columns. Checks for both paleoData and chronData tables.
  
      :param dict d: Metadata
      :return dict: Modified metadata dictionary
      """
      logger_csvs.info("enter merge_csv_metadata")
  
      # Add CSV to paleoData
      if "paleoData" in d:
          d["paleoData"] = _merge_csv_section(d["paleoData"], "paleo", csvs)
  
      # Add CSV to chronData
      if "chronData" in d:
          d["chronData"] = _merge_csv_section(d["chronData"], "chron", csvs)
  
      logger_csvs.info("exit merge_csv_metadata")
      return d