nourish.dataset.Dataset.download

Dataset.download(check=True)

Downloads, extracts, and removes dataset archive. It adds a directory write lock during execution.

Parameters

check (bool) – Check to make sure the data files are not already present in _data_dir (passed in via data_dir in the constructor Dataset) by running is_downloaded(). If set to True, raise an error if they are present and prevent a subsequent download. Set to False to remove this safeguard, and subsequent calls to download() will then overwrite data files if they were previously downloaded to _data_dir.

Raises
Return type

None