krank.tables.fetch_pennebaker2001#

krank.tables.fetch_pennebaker2001(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. If True, fetch the file and load it as a pandas.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, or pandas.DataFrame if load is True.