def METHOD_NAME(tmp_path_factory):
    """Create and populate a temporary directory with an example publication and
       an associated table (CSV).
    Returns:
        (Path) The path to the created directory.
    """
    p = tmp_path_factory.mktemp("ds_conf")
    # Write configuration file
    with (p / datasets.Dataset.CONF_NAME).open("w") as f:
        json.dump(DS_CONF, f)
    # Write publication and data file
    (p / "Test.txt").open("w").write(DS_TXT)
    (p / "example.csv").open("w").write(DS_CSV)
    return p