import csv


def _loadData(data_path):
    """
    Load the dataset from the given path.

    GIVEN:
      data_path (str)   path to load dataset from

    RETURN:
      dataset (list)    list of lists, where each sublist is a document
    """
    dataset = list()
    with open(data_path, newline="") as f:
        csv_reader = csv.reader(f, delimiter=",", quotechar="\"", quoting=csv.QUOTE_MINIMAL)

        # Skip header row
        next(csv_reader)
        
        for row in csv_reader:
            dataset.append(row)

    return dataset