krank.tables.fetch_mcnamara2015#
- krank.tables.fetch_mcnamara2015(table, version=None, load=True, **kwargs)#
McNamara et al., 2015, Dreaming, Aggression in nightmares and unpleasant dreams and in people reporting recurrent nightmares, doi:10.1037/a0039273
Parameters#
- tablestr
Name of table to fetch.
- versionstr or None
Name of version. If
None
(default), fetches the latest version.- loadbool or callable
If
False
(default), fetch the file and return the local filepath. IfTrue
, fetch the file and load it as apandas.DataFrame
. If a callable, fetch the file an load it with the custom callable.- **kwargsdict, optional
Additional keyword arguments are passed to
pooch.retrieve()
.
Returns#
- str or
DataFrame
Path of retrieved file if
load
is False, orpandas.DataFrame
ifload
is True.