code: def load_covid19_emergency_event_dataset(with_metadata=False):
      dataset = datasets.load_dataset(
          "joelito/covid19_emergency_event", split="train"
      )
      columns = {
          "text": dataset["text"],
          "event1": dataset["event1"],
          "event2": dataset["event2"],
          "event3": dataset["event3"],
          "event4": dataset["event4"],
          "event5": dataset["event5"],
          "event6": dataset["event6"],
          "event7": dataset["event7"],
          "event8": dataset["event8"],
          "language": dataset["language"],
      }
      if with_metadata:
          columns.update({"country": dataset["country"]})
      dataset = pd.DataFrame(columns)
      if not with_metadata:
          dataset = dataset[dataset.language == "en"].reset_index(
              drop=True
          )
          dataset = dataset.drop(columns="language")
      else:
          selected_languages = dataset.language.isin(["en", "es", "fr"])
          dataset = dataset[selected_languages].reset_index(drop=True)
      return dataset
  
imports: import os
  import zipfile
  import datasets
  import pandas
  from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
  from raiutils.common.retries import retry_function
  from responsibleai_text.common.constants import QuestionAnsweringFields
label_desc: Use image node_id 3 for calling a global function with example usage: load_covid19_emergency_event_dataset(with_metadata) and returns: dataset