dstream_excel.dstream package

Submodules

dstream_excel.dstream.combine module

dstream_excel.dstream.combine.combine_all_datastream_xlsx(infolder, outpath='all_data.csv', restart=True)[source]

Combine populated data in XLSX files into single csv file.

Parameters
  • infolder (str) – Folder containing populated XLSX files

  • outpath (str) – Full file path to output csv to

  • restart (bool) – Whether to force a restart of combining files. If the process is stopped, it will be continued where it left off if restart=False, and start from the beginning if restart=True.

Returns

None

dstream_excel.dstream.downloader module

dstream_excel.dstream.downloader.populate_all_files_in_folder(folder, restart=True)[source]

Downloads data into Excel files which have been set up with Datastream functions.

Opens excel files which already have Datastream functions, allows the data to populate, checks that it was populated, then closes the file and continues on to the next one.

Parameters
  • folder (str) – Folder containing Excel files with Datastream functions pre-filled

  • restart (bool) – Whether to force a restart of populating files. If the process is stopped, it will be continued where it left off if restart=False, and start from the beginning if restart=True.

Returns

None

Module contents