liwca.fetch_sleep#
- liwca.fetch_sleep()[source]#
Fetch the sleep dictionary.
- Returns:
Dictionary with a single
"sleep"category.- Return type:
Notes
The sleep dictionary is described in Ladis et al.[1] and is publicly available on Zenodo[2].
There is also a full version in the Supplementary Information file of the original publication that has not been converted to the publicly accessible tables yet.
References
Examples
>>> import liwca >>> dx = liwca.fetch_sleep() >>> "cant sleep" in dx.index True