pardata.dataset.Dataset.download

Dataset.download(*, check=True, verify_checksum=True)

Downloads, extracts, and removes dataset archive. It adds a directory write lock during execution. If download_url in the schema is a file path, then this method only extracts.

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.

  • verify_checksum (bool) – If True, verify sha512sum of the downloaded dataset.

Raises
Return type

None