krank.tables.fetch_pennebaker2015#
- krank.tables.fetch_pennebaker2015(table, version=None, load=True, **kwargs)#
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.