download-file

Simply imports a file from the web, without converting it into any other format.

Imports a file into Data-flo to make it available for processing. Does not do anything but make the file available for other adaptors. Can be used in conjunction with other adaptors to then convert the file to a datatable.

Arguments

Inputs:

url: The url of the file to be imported.

Output:

file: The file downloaded from the web.

Example

This data-flo downloads and imports TB drug resistance data from the WHO site and then exports it from Data-flo with a new filename. Other adaptors could be used to manipulate the data between import and export.

Possible use cases

  • Pulling in ‘reports’ that get updated online.

Last updated