data.fetch_data.get_package_data_home

data.fetch_data.get_package_data_home()

Return the location of the internal package datasets.

Returns

Name Type Description
Path pathlib.Path: The path to the spotforecast package data directory.

Examples

from spotforecast2_safe.data.fetch_data import get_package_data_home
package_data_dir = get_package_data_home()
print(package_data_dir.name)
print(package_data_dir.parent.name)
csv
datasets