geopandas.datasets.get_path

geopandas.datasets.get_path(dataset)

Get the path to the data file.

Parameters
datasetstr

The name of the dataset. See geopandas.datasets.available for all options.

Examples

>>> geopandas.datasets.get_path("naturalearth_lowres")  
'.../python3.8/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shp'