(dataset)
Get the path to the data file.
    Parameters
    ----------
    dataset : str
        The name of the dataset. See ``momepy.datasets.available`` for
        all options.
Get the path to the data file.
    Parameters
    ----------
    dataset : str
        The name of the dataset. See ``momepy.datasets.available`` for
        all options.
Get the path to the data file . Parameters ---------- dataset : str The name of the dataset . See momepy . datasets . available for all options .
def get_path(dataset):
    """
    Get the path to the data file.
    Parameters
    ----------
    dataset : str
        The name of the dataset. See ``momepy.datasets.available`` for
        all options.
    """
    if dataset in available:
        return os.path.abspath(os.path.join(_module_path, dataset + ".gpkg"))
    msg = "The dataset '{data}' is not available. ".format(data=dataset)
    msg += "Available datasets are {}".format(", ".join(available))
    raise ValueError(msg)
def get_path ( dataset ) : if dataset in available : return os . path . abspath ( os . path . join ( _module_path , dataset + ".gpkg" ) ) msg = "The dataset '{data}' is not available. " . format ( data = dataset ) msg += "Available datasets are {}" . format ( ", " . join ( available ) ) raise ValueError ( msg )