rr.download_data.download_data module

rr.download_data.download_data.download_url(url, save_path)

Download a file from the given url using http

Parameters
  • url (str) – The url from which the file need to be downloaded

  • save_path (str) – The filename where the contents should be saved

Returns

None

Raises

None

rr.download_data.download_data.unzip_file(path_to_zip_file, directory_to_extract_to)

Unzip a .zip file

Parameters
  • path_to_zip_file (str) – The file path of the zip to extract

  • directory_to_extract_to (str) – The directory path where the contents should be extracted

Returns

None

Raises

None