krank.tables.fetch_barrett2020#
- krank.tables.fetch_barrett2020(table, version=None, load=True, **kwargs)#
Barrett, 2020, Dreaming, Dreams about COVID-19 versus normative dreams: Trends by gender, doi:10.1037/drm0000149
Table captions:
Table 1: Female Pandemic Survey Dreams Versus Hall and Van de Castle Female Normative Dreams.
Table 2: Male Pandemic Survey Dreams Versus Hall and Van de Castle Male Normative Dreams.
Note
Table 2 has “male” int the column names, but Table 1 does not have “female” in the same respective location. Note that Table 1 is female-only values.
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.