colour_datasets.load#

colour_datasets.load(dataset: Union[int, str]) Any[source]#

Load given dataset: The dataset is pulled locally, i.e. synced if required and then its data is loaded.

Parameters:

dataset (Union[int, str]) – Dataset id, i.e. the Zenodo record number or title.

Returns:

Dataset data.

Return type:

object

Examples

>>> len(load("3245883").keys())  
28
>>> len(
...     load(
...         "Camera Spectral Sensitivity Database - " "Jiang et al. (2013)"
...     ).keys()
... )
... 
28