Example Data API

Contents

Example Data API#

CGE-Core bundles the simple and standard Hosoe example datasets with the installed package.

Access to the example datasets bundled with CGE-Core.

cge_core.datasets.example_data(name)#

Return the path to a bundled example dataset.

name is case-insensitive and must be "splcge" or "stdcge". Standard Python wheel installations unpack package data beside this module, so this path works independently of the caller’s working directory.

Parameters:

name (str)

Return type:

Path