pymovements.dataset.Dataset.extract#
- Dataset.extract(remove_finished: bool = False, remove_top_level: bool = True, verbose: int = 1) Dataset[source]#
Extract downloaded dataset archive files.
- Parameters:
remove_finished (bool) – Remove archive files after extraction.
remove_top_level (bool) – If
True, remove the top-level directory if it has only one child.verbose (int) – Verbosity levels: (1) Print messages for extracting each dataset resource without printing messages for recursive archives. (2) Print additional messages for each recursive archive extract.
- Returns:
Returns self, useful for method cascading.
- Return type:
PublicDataset